mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* Command.cs : Initial implementation. * IObjectListFieldCollection.cs : F*** the docs. Use only reflection to get the correct methods / properties. * TextControl.cs : Implemented. * ObjectListCommandEventArgs/Handler.cs : Implemented. * MobileListItem.cs : Initial Implementation. * ObjectListItem.cs : Initial Implementation. * ObjectList.cs : Initial Implementation. * TemplateContainer.cs : Initial Implementation. svn path=/trunk/mcs/; revision=10714
54 lines
979 B
C#
54 lines
979 B
C#
/**
|
|
* Project : Mono
|
|
* Namespace : System.Web.UI.MobileControls
|
|
* Class : Command
|
|
* Author : Gaurav Vaish
|
|
*
|
|
* Copyright : 2003 with Gaurav Vaish, and with
|
|
* Ximian Inc
|
|
*/
|
|
|
|
using System.Web.UI;
|
|
|
|
namespace System.Web.UI.MobileControls
|
|
{
|
|
public class Command : TextControl, IPostBackEventHandler
|
|
{
|
|
private static readonly object ClickEvent = new object();
|
|
private static readonly object ItemCommandEvent = new object();
|
|
|
|
public Command()
|
|
{
|
|
}
|
|
|
|
public event EventHandler Click
|
|
{
|
|
add
|
|
{
|
|
Events.AddHandler(ClickEvent, value);
|
|
}
|
|
remove
|
|
{
|
|
Events.RemoveHandler(ClickEvent, value);
|
|
}
|
|
}
|
|
|
|
public event ObjectListCommandEventHandler ItemCommand
|
|
{
|
|
add
|
|
{
|
|
Events.AddHandler(ItemCommandEvent, value);
|
|
}
|
|
remove
|
|
{
|
|
Events.RemoveHandler(ItemCommandEvent, value);
|
|
}
|
|
}
|
|
|
|
void IPostBackEventHandler.RaisePostBackEvent(string eventArgument)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|