C# Class ComponentFactory.Krypton.Navigator.LicenseInstallForm

Provides a basic form for installing Infralution Encrypted Licenses that can be extended or modified using visual inheritance
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
LicenseInstallForm ( ) : System

Initialize a new instance of the form

ShowDialog ( Type typeToLicence ) : EncryptedLicense

Display the InstallLicense Dialog

Méthodes protégées

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

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetLicenseProvider() protected méthode

Return the license provider to use
protected GetLicenseProvider ( ) : EncryptedLicenseProvider
Résultat EncryptedLicenseProvider

GetProductCode() protected static méthode

Gets the product code from the license.
protected static GetProductCode ( string licenseString ) : string
licenseString string License code to decompose.
Résultat string

GetVersionCode() protected static méthode

Gets the version code from the license.
protected static GetVersionCode ( string licenseString ) : string
licenseString string License code to decompose.
Résultat string

InstallLicenseKey() protected méthode

Install the license key entered by the user
protected InstallLicenseKey ( string key ) : bool
key string The key to install
Résultat bool

LicenseInstallForm() public méthode

Initialize a new instance of the form
public LicenseInstallForm ( ) : System
Résultat System

OnHelpButtonClick() protected méthode

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

OnIgnoreButtonClick() protected méthode

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

OnLicenceTextChanged() protected méthode

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

OnOkButtonClick() protected méthode

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

ShowDialog() public méthode

Display the InstallLicense Dialog
public ShowDialog ( Type typeToLicence ) : EncryptedLicense
typeToLicence System.Type Type to licence.
Résultat EncryptedLicense