C# Class WixSharp.Controls.WixForm

Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: Eun/WixSharp

Public Methods

Method 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 method

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.
return void

EndDialog() public method

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.
return void

SetPrperty() public method

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.
return void

ToWDialog() public method

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

WixForm() public method

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