本文整理汇总了C#中Core.AddEventHandler方法的典型用法代码示例。如果您正苦于以下问题:C# Core.AddEventHandler方法的具体用法?C# Core.AddEventHandler怎么用?C# Core.AddEventHandler使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Core
的用法示例。
在下文中一共展示了Core.AddEventHandler方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("beforeActivate", "event, ui", this.BeforeActivateEvent);
options.AddEventHandler("load", "event, ui", this.LoadEvent);
options.AddEventHandler("activate", "event, ui", this.ActivateEvent);
options.AddEventHandler("beforeLoad", "event, ui", this.BeforeLoadEvent);
}
示例2: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("change", "event, ui", this.ChangeEvent);
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("spin", "event, ui", this.SpinEvent);
options.AddEventHandler("start", "event, ui", this.StartEvent);
options.AddEventHandler("stop", "event, ui", this.StopEvent);
}
示例3: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("select", "event, ui", this.SelectEvent);
options.AddEventHandler("load", "event, ui", this.LoadEvent);
options.AddEventHandler("show", "event, ui", this.ShowEvent);
options.AddEventHandler("add", "event, ui", this.AddEvent);
options.AddEventHandler("remove", "event, ui", this.RemoveEvent);
options.AddEventHandler("enable", "event, ui", this.EnableEvent);
options.AddEventHandler("disable", "event, ui", this.DisableEvent);
}
示例4: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("search", "event, ui", this.SearchEvent);
options.AddEventHandler("response", "event, ui", this.ResponseEvent);
options.AddEventHandler("open", "event, ui", this.OpenEvent);
options.AddEventHandler("focus", "event, ui", this.FocusEvent);
options.AddEventHandler("select", "event, ui", this.SelectEvent);
options.AddEventHandler("close", "event, ui", this.CloseEvent);
options.AddEventHandler("change", "event, ui", this.ChangeEvent);
}
示例5: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("beforeShow", "input, inst", this.BeforeShowEvent);
options.AddEventHandler("beforeShowDay", "date", this.BeforeShowDayEvent);
options.AddEventHandler("onChangeMonthYear", "year, month, inst", this.OnChangeMonthYearEvent);
options.AddEventHandler("onClose", "dateText, inst", this.OnCloseEvent);
options.AddEventHandler("onSelect", "dateText, inst", this.OnSelectEvent);
}
示例6: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("close", "event, ui", this.CloseEvent);
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("open", "event, ui", this.OpenEvent);
}
示例7: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
// events
options.AddEventHandler("create", "event, ui", this.CreateEvent);
}
示例8: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("blur", "event, ui", this.BlurEvent);
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("focus", "event, ui", this.FocusEvent);
options.AddEventHandler("select", "event, ui", this.SelectEvent);
}
示例9: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("change", "event, ui", this.ChangeEvent);
options.AddEventHandler("complete", "event, ui", this.CompleteEvent);
}
示例10: DiscoverOptions
/// <summary>
/// Builds up a set of events the control can use (i.e. jQuery UI control supports). Which is
/// then used in rendering the JavaScript required to initialise the control properties.
/// </summary>
/// <param name="options">Collection to add the identified options to</param>
override protected internal void DiscoverOptions(Core.ScriptOptions options) {
options.AddEventHandler("create", "event, ui", this.CreateEvent);
options.AddEventHandler("beforeClose", "event, ui", this.BeforeCloseEvent);
options.AddEventHandler("open", "event, ui", this.OpenEvent);
options.AddEventHandler("focus", "event, ui", this.FocusEvent);
options.AddEventHandler("dragStart", "event, ui", this.DragStartEvent);
options.AddEventHandler("drag", "event, ui", this.DragEvent);
options.AddEventHandler("dragStop", "event, ui", this.DragStopEvent);
options.AddEventHandler("resizeStart", "event, ui", this.ResizeStartEvent);
options.AddEventHandler("resize", "event, ui", this.ResizeEvent);
options.AddEventHandler("resizeStop", "event, ui", this.ResizeStopEvent);
options.AddEventHandler("close", "event, ui", this.CloseEvent);
}