C# Класс WixSharp.Controls.WixForm

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

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

Метод Описание
Do ( string action, string value, string property = null, string condition = "1" ) : void

Generates and adds the action to the list of the dialog actions, which is to be used at compile time for generating WiX Dialog element actions. void wixButton_Click() { this.Do(ControlAction.DoAction, "ClaimLicenceKey"); }

EndDialog ( string value, string condition = "1" ) : void

Generates and adds the EndDialog action to the list of the dialog actions, which is to be used at compile time for generating WiX Dialog element actions. void wixButton_Click() { this.EndDialog(EndDialogValue.Return); }

SetPrperty ( string name, string value, string condition = "1" ) : void

Generates and adds the SetProperty action to the list of the dialog actions, which is to be used at compile time for generating WiX Dialog element actions.

ToWDialog ( ) : Dialog

Converts the WixForm (WinForm) instance into WiX custom UI control WixSharp.T:WixSharp.Dialog.

WixForm ( ) : System.Collections.Generic

Initializes a new instance of the WixForm class.

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

Do() публичный Метод

Generates and adds the action to the list of the dialog actions, which is to be used at compile time for generating WiX Dialog element actions. void wixButton_Click() { this.Do(ControlAction.DoAction, "ClaimLicenceKey"); }
public Do ( string action, string value, string property = null, string condition = "1" ) : void
action string The action type.
value string The action value.
property string The property name.
condition string The action condition.
Результат void

EndDialog() публичный Метод

Generates and adds the EndDialog action to the list of the dialog actions, which is to be used at compile time for generating WiX Dialog element actions. void wixButton_Click() { this.EndDialog(EndDialogValue.Return); }
public EndDialog ( string value, string condition = "1" ) : void
value string The action value.
condition string The action condition.
Результат void

SetPrperty() публичный Метод

Generates and adds the SetProperty action to the list of the dialog actions, which is to be used at compile time for generating WiX Dialog element actions.
public SetPrperty ( string name, string value, string condition = "1" ) : void
name string The property name.
value string The property value.
condition string The action condition.
Результат void

ToWDialog() публичный Метод

Converts the WixForm (WinForm) instance into WiX custom UI control WixSharp.T:WixSharp.Dialog.
public ToWDialog ( ) : Dialog
Результат Dialog

WixForm() публичный Метод

Initializes a new instance of the WixForm class.
public WixForm ( ) : System.Collections.Generic
Результат System.Collections.Generic