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
56 lines
1.1 KiB
C#
56 lines
1.1 KiB
C#
/**
|
|
* Project : Mono
|
|
* Namespace : System.Web.UI.MobileControls
|
|
* Class : ObjectListCommandEventHandler
|
|
* Author : Gaurav Vaish
|
|
*
|
|
* Copyright : 2003 with Gaurav Vaish, and with
|
|
* Ximian Inc
|
|
*/
|
|
|
|
using System;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace System.Web.UI.MobileControls
|
|
{
|
|
public class ObjectListCommandEventArgs : CommandEventArgs
|
|
{
|
|
private ObjectListItem item;
|
|
private object commandSource;
|
|
|
|
public ObjectListCommandEventArgs(ObjectListItem item,
|
|
object source, CommandEventArgs e)
|
|
: base(e)
|
|
{
|
|
this.item = item;
|
|
this.commandSource = source;
|
|
}
|
|
|
|
public ObjectListCommandEventArgs(ObjectListItem item,
|
|
string commandName)
|
|
: base(commandName, item)
|
|
{
|
|
this.item = item;
|
|
this.commandSource = null;
|
|
}
|
|
|
|
public object CommandSource
|
|
{
|
|
get
|
|
{
|
|
return this.commandSource;
|
|
}
|
|
}
|
|
|
|
public ObjectListItem ListItem
|
|
{
|
|
get
|
|
{
|
|
return this.item;
|
|
}
|
|
}
|
|
|
|
protected static readonly string DefaultCommand = "Default";
|
|
}
|
|
}
|