C# Класс NStub.Gui.Util.FormExtensions

Extension Methods for the Form class.
Показать файл Открыть проект

Открытые методы

Метод Описание
AttachToEvent ( this value, object &formBackField, EventHandler &formBackFieldEvent, EventHandler eventHandler ) : bool

Automates the attach and detachment of the load event to an Form.

AttachToLoadEvent ( this value, Form &formBackField, EventHandler onLoadEventHandler ) : bool

Automates the attach and detachment of the load event to an Form.

AttachToLoadEvent ( this value, UserControl &userControlBackField, EventHandler onLoadEventHandler ) : bool

Automates the attach and detachment of the load event to an UserControl.

Описание методов

AttachToEvent() публичный статический Метод

Automates the attach and detachment of the load event to an Form.
public static AttachToEvent ( this value, object &formBackField, EventHandler &formBackFieldEvent, EventHandler eventHandler ) : bool
value this The control to be added.
formBackField object The backing field for the Form.
formBackFieldEvent EventHandler The backing fields event to attach to.
eventHandler EventHandler The event handler that is attached to the .
Результат bool

AttachToLoadEvent() публичный статический Метод

Automates the attach and detachment of the load event to an Form.
public static AttachToLoadEvent ( this value, Form &formBackField, EventHandler onLoadEventHandler ) : bool
value this The control to be added.
formBackField System.Windows.Forms.Form The backing field for the Form.
onLoadEventHandler EventHandler The load event handler.
Результат bool

AttachToLoadEvent() публичный статический Метод

Automates the attach and detachment of the load event to an UserControl.
public static AttachToLoadEvent ( this value, UserControl &userControlBackField, EventHandler onLoadEventHandler ) : bool
value this The control to be added.
userControlBackField System.Windows.Forms.UserControl The backing field for the .
onLoadEventHandler EventHandler The load event handler.
Результат bool