C# Class WixSharp.Controls.WixForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: Eun/WixSharp

Méthodes publiques

Méthode Description
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.

Method Details

Do() public méthode

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.
Résultat void

EndDialog() public méthode

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.
Résultat void

SetPrperty() public méthode

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.
Résultat void

ToWDialog() public méthode

Converts the WixForm (WinForm) instance into WiX custom UI control WixSharp.T:WixSharp.Dialog.
public ToWDialog ( ) : Dialog
Résultat Dialog

WixForm() public méthode

Initializes a new instance of the WixForm class.
public WixForm ( ) : System.Collections.Generic
Résultat System.Collections.Generic