C# 클래스 WixSharp.Controls.WixForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: Eun/WixSharp

공개 메소드들

메소드 설명
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