C# 클래스 ComponentFactory.Krypton.Workspace.LicenseInstallForm

Provides a basic form for installing Infralution Encrypted Licenses that can be extended or modified using visual inheritance
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
LicenseInstallForm ( ) : System

Initialize a new instance of the form

ShowDialog ( Type typeToLicence ) : EncryptedLicense

Display the InstallLicense Dialog

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

GetLicenseProvider ( ) : EncryptedLicenseProvider

Return the license provider to use

GetProductCode ( string licenseString ) : string

Gets the product code from the license.

GetVersionCode ( string licenseString ) : string

Gets the version code from the license.

InstallLicenseKey ( string key ) : bool

Install the license key entered by the user

OnHelpButtonClick ( object sender, EventArgs e ) : void

Handle Click event for the Help button

OnIgnoreButtonClick ( object sender, System e ) : void

Handle Click event for the Ignore button

OnLicenceTextChanged ( object sender, EventArgs e ) : void

Handle TextChanged event for the License Text button

OnOkButtonClick ( object sender, EventArgs e ) : void

Handle Click event for the Ignore button

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetLicenseProvider() 보호된 메소드

Return the license provider to use
protected GetLicenseProvider ( ) : EncryptedLicenseProvider
리턴 EncryptedLicenseProvider

GetProductCode() 보호된 정적인 메소드

Gets the product code from the license.
protected static GetProductCode ( string licenseString ) : string
licenseString string License code to decompose.
리턴 string

GetVersionCode() 보호된 정적인 메소드

Gets the version code from the license.
protected static GetVersionCode ( string licenseString ) : string
licenseString string License code to decompose.
리턴 string

InstallLicenseKey() 보호된 메소드

Install the license key entered by the user
protected InstallLicenseKey ( string key ) : bool
key string The key to install
리턴 bool

LicenseInstallForm() 공개 메소드

Initialize a new instance of the form
public LicenseInstallForm ( ) : System
리턴 System

OnHelpButtonClick() 보호된 메소드

Handle Click event for the Help button
protected OnHelpButtonClick ( object sender, EventArgs e ) : void
sender object Event source.
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnIgnoreButtonClick() 보호된 메소드

Handle Click event for the Ignore button
protected OnIgnoreButtonClick ( object sender, System e ) : void
sender object Event source.
e System An EventArgs containing the event data.
리턴 void

OnLicenceTextChanged() 보호된 메소드

Handle TextChanged event for the License Text button
protected OnLicenceTextChanged ( object sender, EventArgs e ) : void
sender object Event source.
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnOkButtonClick() 보호된 메소드

Handle Click event for the Ignore button
protected OnOkButtonClick ( object sender, EventArgs e ) : void
sender object Event source.
e System.EventArgs An EventArgs containing the event data.
리턴 void

ShowDialog() 공개 메소드

Display the InstallLicense Dialog
public ShowDialog ( Type typeToLicence ) : EncryptedLicense
typeToLicence System.Type Type to licence.
리턴 EncryptedLicense