23 lines
489 B
C#
23 lines
489 B
C#
using System;
|
|
|
|
namespace Ooui
|
|
{
|
|
public class Form : Element
|
|
{
|
|
public event EventHandler Submitted {
|
|
add => AddEventListener ("submit", value);
|
|
remove => RemoveEventListener ("submit", value);
|
|
}
|
|
|
|
public event EventHandler Reset {
|
|
add => AddEventListener ("reset", value);
|
|
remove => RemoveEventListener ("reset", value);
|
|
}
|
|
|
|
public Form ()
|
|
: base ("form")
|
|
{
|
|
}
|
|
}
|
|
}
|