true
if the shortcut was processed by the control; otherwise, false
.true
if the shortcut was processed by the popup; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.
- The calendar features a single and multi-month layout. The week numbers, non-month days and a month-selection popup provides fast navigation.
-The calendar is highly customizable and enables you to easily change almost every aspect of its visual presentation. You can create one or more visual styles and associated these styles with particular days and week numbers. You can even completely redraw and change the size of the days to give your calendar a unique look.
-You can select the format of displaying the days of the week: first letter, abbreviated or full. The other customizable properties include the first day of the week, today's date and Today and None buttons.
-You can see the major elements of the calendar control below.
- -Calendar control and its elements
-You can learn more about Elegant Calendar from Using a Calendar Control
-Figure 1 One month layout
- -Figure 2 Four month layout
-You can specify how many month blocks are displayed in the calendar using the
See the figure below that illustrates how the click on the non-month day 29, which represents January 29, causes February to be replaced with January.
- -The Infralution Licensing System provides a secure way of licensing .NET controls, - components and applications. Licenses are protected using public key encryption to - minimize possibility of cracking.
-Components or controls use the
- #using Infralution.Licensing;
- public class MyForm : Form
- {
- const string LICENSE_PARAMETERS =
- @"
-
- z7ijwu7osE4HcGZH7+PhOYw3WuZp/+1szNEjrEo61WVO2sklsdVJpjShXPzUDjlDDvnIFZo4d0l8IFswCYleRS+5PVOkqH0OnAHOSIvoHMNxRyKi9klj7ZD55sKfDJu17MUsjLFLc741B8EvQ3dXPLQoTc+TF5mKOm6o8BnrSuU=
- AQAB
-
- NqPti5+oayvPPlaETb5gNi9u32sze0o9AhlVEtWm3rfo3gGV/jKXDqQBd9Icy9xgfrEOVKvCyrhnCUEowQDOBPaVMiDqdm9UBRM/KAQt4kUAb2bhl8W47R09bikvahfJWfP+zyic3oin61B1jvuI2CSYjiRi4a5Qz2hudDP5MxM=
- lL2tfh7eUgkZS+I0/yoRowAP7p++zXma4JgO/Npf0QXnbBy3pKw+B5U9jtfwydKleM22Wgk/KBG5uyYXWaJeG/Pe6I29uLD1s5uo+Y9EzVaXDdi9HMQwIIvrv7dcgZlPPkzmkSm1X3uqfHl9R4+NfP9noDBKiQBVSWkem/iH87E=
- ";
-
- const string LICENSE_FILE = "MyApp.lic";
-
- public MyForm()
- {
- InitializeComponent();
- EncryptedLicenseProvider provider = new EncryptedLicenseProvider();
- EncryptedLicense license = provider.GetLicense(LICENSE_PARAMETERS, LICENSE _FILE);
- if (license == null)
- {
- LicenseInstallForm form = new LicenseInstallForm();
- license = form.ShowDialog("MyControl", "www.mycompany.com", LICENSE _FILE);
- if (license == null)
- {
- MessageBox.Show("Running in Evaluation Mode", "Unlicensed Application");
- }
- }
- }
- }
-
-
- Imports Infralution.Licensing
- Public Class MyForm
- Inherits System.Windows.Forms.Form
-
- Const LICENSE_PARAMETERS As String = _
- "<LicenseParameters>" & _
- " <RSAKeyValue>" & _
- " <Modulus>2/dDoUDRnh2gT//5UhGkQRnviVmbrqZj6JdMHhMfZsXslK3x4Yz2QFjpjWtKI2REj8Z3rLd0iOHlOgEaRCM82qGaSMyaoYBYovOtIqU20hpYS6VBtNzwQCJ58d27cnQnMiAmpAjfnKc+gSD/ZIJeO6FdTjfx86+aWrsMOiSpjFk=</Modulus>" & _
- " <Exponent>AQAB</Exponent>" & _
- " </RSAKeyValue>" & _
- " <DesignSignature>IGODC7CpxUR/sFHG38Z09/tpCK115hGWHNm7HvziN/RAw2H7i5o4F6vwgSF7+Uw0ZBKALNqGXWZQg+vaskbf4cotbN1SAhSi3/qYYeH7s5tAiS4ZJfN4DVDaB/IZOfL+3X+hehuO+Ot+X/u8cDqZKCA+1kxeSX4aqwJ+iFwWaAM=</DesignSignature>" & _
- " <RuntimeSignature>xaala0UVs/pvODuBtGxJ/V8R633EWmprSYZga0rVA5C3+TdSl5ywHPc2OXVLvm4MyqtK7VX0bsnCZXMKkcek0BkV7TWOIt0xb5ORu1L5iKpOqqXuNhdrTDF9M+FXwQAFPLmts/HObZ4Ul89PmSbTG3pjhQVVUA20ioj7AlEcLQo=</RuntimeSignature>" & _
- "</LicenseParameters>"
-
- Const LICENSE_FILE as String = "MyApp.lic"
-
- Public Sub New()
- MyBase.New()
- InitializeComponent()
- Dim sProvider as new EncryptedLicenseProvider()
- Dim sLicense as EncryptedLicense = sProvider.GetLicense(LICENSE_PARAMETERS, LICENSE_FILE)
- If sLicense is Nothing Then
- Dim myForm As New LicenseInstallForm
- sLicense = myForm.ShowDialog("MyControl", "www.mycompany.com", LICENSE_FILE)
- If sLicense is Nothing then
- MessageBox.Show("Running in Evaluation Mode", "Unlicensed Application")
- End If
- End If
- End Sub
- End Class
-
-
- #using Infralution.Licensing;
- #using System.ComponentModel;
- [LicenseProvider(typeof(Infralution.Licensing.EncryptedLicenseProvider))]
- public class MyControl : Control
- {
- const string LICENSE_PARAMETERS =
- @"
-
- z7ijwu7osE4HcGZH7+PhOYw3WuZp/+1szNEjrEo61WVO2sklsdVJpjShXPzUDjlDDvnIFZo4d0l8IFswCYleRS+5PVOkqH0OnAHOSIvoHMNxRyKi9klj7ZD55sKfDJu17MUsjLFLc741B8EvQ3dXPLQoTc+TF5mKOm6o8BnrSuU=
- AQAB
-
- NqPti5+oayvPPlaETb5gNi9u32sze0o9AhlVEtWm3rfo3gGV/jKXDqQBd9Icy9xgfrEOVKvCyrhnCUEowQDOBPaVMiDqdm9UBRM/KAQt4kUAb2bhl8W47R09bikvahfJWfP+zyic3oin61B1jvuI2CSYjiRi4a5Qz2hudDP5MxM=
- lL2tfh7eUgkZS+I0/yoRowAP7p++zXma4JgO/Npf0QXnbBy3pKw+B5U9jtfwydKleM22Wgk/KBG5uyYXWaJeG/Pe6I29uLD1s5uo+Y9EzVaXDdi9HMQwIIvrv7dcgZlPPkzmkSm1X3uqfHl9R4+NfP9noDBKiQBVSWkem/iH87E=
- ";
-
- public MyControl()
- {
- InitializeComponent();
- EncryptedLicenseProvider.SetParameters(LICENSE_PARAMETERS);
- License license;
- if (!LicenseManager.IsValid(typeof(MyControl), this, out license))
- {
- if (LicenseManager.CurrentContext.UsageMode == LicenseUsageMode.Runtime)
- {
- MessageBox.Show("This application was created using an unlicensed version of MyControl",
- "Unlicensed Application");
- }
- else
- {
- LicenseInstallForm form = new LicenseInstallForm();
- form.ShowDialog("MyControl", "www.mycompany.com", typeof(MyControl));
- }
- }
- }
- }
-
-
- Imports System.ComponentModel
- Imports Infralution.Licensing
- <LicenseProvider(GetType(Infralution.Licensing.EncryptedLicenseProvider))> _
- Public Class MyControl
- Inherits System.Windows.Forms.UserControl
-
- Const LICENSE_PARAMETERS As String = _
- "<LicenseParameters>" & _
- " <RSAKeyValue>" & _
- " <Modulus>2/dDoUDRnh2gT//5UhGkQRnviVmbrqZj6JdMHhMfZsXslK3x4Yz2QFjpjWtKI2REj8Z3rLd0iOHlOgEaRCM82qGaSMyaoYBYovOtIqU20hpYS6VBtNzwQCJ58d27cnQnMiAmpAjfnKc+gSD/ZIJeO6FdTjfx86+aWrsMOiSpjFk=</Modulus>" & _
- " <Exponent>AQAB</Exponent>" & _
- " </RSAKeyValue>" & _
- " <DesignSignature>IGODC7CpxUR/sFHG38Z09/tpCK115hGWHNm7HvziN/RAw2H7i5o4F6vwgSF7+Uw0ZBKALNqGXWZQg+vaskbf4cotbN1SAhSi3/qYYeH7s5tAiS4ZJfN4DVDaB/IZOfL+3X+hehuO+Ot+X/u8cDqZKCA+1kxeSX4aqwJ+iFwWaAM=</DesignSignature>" & _
- " <RuntimeSignature>xaala0UVs/pvODuBtGxJ/V8R633EWmprSYZga0rVA5C3+TdSl5ywHPc2OXVLvm4MyqtK7VX0bsnCZXMKkcek0BkV7TWOIt0xb5ORu1L5iKpOqqXuNhdrTDF9M+FXwQAFPLmts/HObZ4Ul89PmSbTG3pjhQVVUA20ioj7AlEcLQo=</RuntimeSignature>" & _
- "</LicenseParameters>"
-
- Public Sub New()
- MyBase.New()
- InitializeComponent()
- EncryptedLicenseProvider.SetParameters(LICENSE_PARAMETERS)
- Dim slicense as License
- If Not LicenseManager.IsValid(GetType(MyControl), Me, slicense) Then
- If LicenseManager.CurrentContext.UsageMode = LicenseUsageMode.Runtime Then
- MessageBox.Show("This application was created using an unlicensed version of MyControl", "Unlicensed Application")
- Else
- Dim myForm As New LicenseInstallForm
- myForm.ShowDialog("MyControl", "www.mycompany.com", GetType(MyControl))
- End If
- End If
- End Sub
- End Class
-
- The date/time picker consists of the following elements: date and time fields, up and down buttons, calendar drop-down button and calendar popup (see the figure below).
- -Date/Time Picker control and its elements
-You can learn more about Elegant Date/Time Picker from Using a DateTimePicker Control
-true
if the shortcut keys are shown; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.
- true
if the shortcut was processed by the control; otherwise, false
.true
if the shortcut was processed by the popup; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.
- The calendar features a single and multi-month layout. The week numbers, non-month days and a month-selection popup provides fast navigation.
-The calendar is highly customizable and enables you to easily change almost every aspect of its visual presentation. You can create one or more visual styles and associated these styles with particular days and week numbers. You can even completely redraw and change the size of the days to give your calendar a unique look.
-You can select the format of displaying the days of the week: first letter, abbreviated or full. The other customizable properties include the first day of the week, today's date and Today and None buttons.
-You can see the major elements of the calendar control below.
- -Calendar control and its elements
-You can learn more about Elegant Calendar from Using a Calendar Control
-Figure 1 One month layout
- -Figure 2 Four month layout
-You can specify how many month blocks are displayed in the calendar using the
See the figure below that illustrates how the click on the non-month day 29, which represents January 29, causes February to be replaced with January.
- -The Infralution Licensing System provides a secure way of licensing .NET controls, - components and applications. Licenses are protected using public key encryption to - minimize possibility of cracking.
-Components or controls use the
- #using Infralution.Licensing;
- public class MyForm : Form
- {
- const string LICENSE_PARAMETERS =
- @"
-
- z7ijwu7osE4HcGZH7+PhOYw3WuZp/+1szNEjrEo61WVO2sklsdVJpjShXPzUDjlDDvnIFZo4d0l8IFswCYleRS+5PVOkqH0OnAHOSIvoHMNxRyKi9klj7ZD55sKfDJu17MUsjLFLc741B8EvQ3dXPLQoTc+TF5mKOm6o8BnrSuU=
- AQAB
-
- NqPti5+oayvPPlaETb5gNi9u32sze0o9AhlVEtWm3rfo3gGV/jKXDqQBd9Icy9xgfrEOVKvCyrhnCUEowQDOBPaVMiDqdm9UBRM/KAQt4kUAb2bhl8W47R09bikvahfJWfP+zyic3oin61B1jvuI2CSYjiRi4a5Qz2hudDP5MxM=
- lL2tfh7eUgkZS+I0/yoRowAP7p++zXma4JgO/Npf0QXnbBy3pKw+B5U9jtfwydKleM22Wgk/KBG5uyYXWaJeG/Pe6I29uLD1s5uo+Y9EzVaXDdi9HMQwIIvrv7dcgZlPPkzmkSm1X3uqfHl9R4+NfP9noDBKiQBVSWkem/iH87E=
- ";
-
- const string LICENSE_FILE = "MyApp.lic";
-
- public MyForm()
- {
- InitializeComponent();
- EncryptedLicenseProvider provider = new EncryptedLicenseProvider();
- EncryptedLicense license = provider.GetLicense(LICENSE_PARAMETERS, LICENSE _FILE);
- if (license == null)
- {
- LicenseInstallForm form = new LicenseInstallForm();
- license = form.ShowDialog("MyControl", "www.mycompany.com", LICENSE _FILE);
- if (license == null)
- {
- MessageBox.Show("Running in Evaluation Mode", "Unlicensed Application");
- }
- }
- }
- }
-
-
- Imports Infralution.Licensing
- Public Class MyForm
- Inherits System.Windows.Forms.Form
-
- Const LICENSE_PARAMETERS As String = _
- "<LicenseParameters>" & _
- " <RSAKeyValue>" & _
- " <Modulus>2/dDoUDRnh2gT//5UhGkQRnviVmbrqZj6JdMHhMfZsXslK3x4Yz2QFjpjWtKI2REj8Z3rLd0iOHlOgEaRCM82qGaSMyaoYBYovOtIqU20hpYS6VBtNzwQCJ58d27cnQnMiAmpAjfnKc+gSD/ZIJeO6FdTjfx86+aWrsMOiSpjFk=</Modulus>" & _
- " <Exponent>AQAB</Exponent>" & _
- " </RSAKeyValue>" & _
- " <DesignSignature>IGODC7CpxUR/sFHG38Z09/tpCK115hGWHNm7HvziN/RAw2H7i5o4F6vwgSF7+Uw0ZBKALNqGXWZQg+vaskbf4cotbN1SAhSi3/qYYeH7s5tAiS4ZJfN4DVDaB/IZOfL+3X+hehuO+Ot+X/u8cDqZKCA+1kxeSX4aqwJ+iFwWaAM=</DesignSignature>" & _
- " <RuntimeSignature>xaala0UVs/pvODuBtGxJ/V8R633EWmprSYZga0rVA5C3+TdSl5ywHPc2OXVLvm4MyqtK7VX0bsnCZXMKkcek0BkV7TWOIt0xb5ORu1L5iKpOqqXuNhdrTDF9M+FXwQAFPLmts/HObZ4Ul89PmSbTG3pjhQVVUA20ioj7AlEcLQo=</RuntimeSignature>" & _
- "</LicenseParameters>"
-
- Const LICENSE_FILE as String = "MyApp.lic"
-
- Public Sub New()
- MyBase.New()
- InitializeComponent()
- Dim sProvider as new EncryptedLicenseProvider()
- Dim sLicense as EncryptedLicense = sProvider.GetLicense(LICENSE_PARAMETERS, LICENSE_FILE)
- If sLicense is Nothing Then
- Dim myForm As New LicenseInstallForm
- sLicense = myForm.ShowDialog("MyControl", "www.mycompany.com", LICENSE_FILE)
- If sLicense is Nothing then
- MessageBox.Show("Running in Evaluation Mode", "Unlicensed Application")
- End If
- End If
- End Sub
- End Class
-
-
- #using Infralution.Licensing;
- #using System.ComponentModel;
- [LicenseProvider(typeof(Infralution.Licensing.EncryptedLicenseProvider))]
- public class MyControl : Control
- {
- const string LICENSE_PARAMETERS =
- @"
-
- z7ijwu7osE4HcGZH7+PhOYw3WuZp/+1szNEjrEo61WVO2sklsdVJpjShXPzUDjlDDvnIFZo4d0l8IFswCYleRS+5PVOkqH0OnAHOSIvoHMNxRyKi9klj7ZD55sKfDJu17MUsjLFLc741B8EvQ3dXPLQoTc+TF5mKOm6o8BnrSuU=
- AQAB
-
- NqPti5+oayvPPlaETb5gNi9u32sze0o9AhlVEtWm3rfo3gGV/jKXDqQBd9Icy9xgfrEOVKvCyrhnCUEowQDOBPaVMiDqdm9UBRM/KAQt4kUAb2bhl8W47R09bikvahfJWfP+zyic3oin61B1jvuI2CSYjiRi4a5Qz2hudDP5MxM=
- lL2tfh7eUgkZS+I0/yoRowAP7p++zXma4JgO/Npf0QXnbBy3pKw+B5U9jtfwydKleM22Wgk/KBG5uyYXWaJeG/Pe6I29uLD1s5uo+Y9EzVaXDdi9HMQwIIvrv7dcgZlPPkzmkSm1X3uqfHl9R4+NfP9noDBKiQBVSWkem/iH87E=
- ";
-
- public MyControl()
- {
- InitializeComponent();
- EncryptedLicenseProvider.SetParameters(LICENSE_PARAMETERS);
- License license;
- if (!LicenseManager.IsValid(typeof(MyControl), this, out license))
- {
- if (LicenseManager.CurrentContext.UsageMode == LicenseUsageMode.Runtime)
- {
- MessageBox.Show("This application was created using an unlicensed version of MyControl",
- "Unlicensed Application");
- }
- else
- {
- LicenseInstallForm form = new LicenseInstallForm();
- form.ShowDialog("MyControl", "www.mycompany.com", typeof(MyControl));
- }
- }
- }
- }
-
-
- Imports System.ComponentModel
- Imports Infralution.Licensing
- <LicenseProvider(GetType(Infralution.Licensing.EncryptedLicenseProvider))> _
- Public Class MyControl
- Inherits System.Windows.Forms.UserControl
-
- Const LICENSE_PARAMETERS As String = _
- "<LicenseParameters>" & _
- " <RSAKeyValue>" & _
- " <Modulus>2/dDoUDRnh2gT//5UhGkQRnviVmbrqZj6JdMHhMfZsXslK3x4Yz2QFjpjWtKI2REj8Z3rLd0iOHlOgEaRCM82qGaSMyaoYBYovOtIqU20hpYS6VBtNzwQCJ58d27cnQnMiAmpAjfnKc+gSD/ZIJeO6FdTjfx86+aWrsMOiSpjFk=</Modulus>" & _
- " <Exponent>AQAB</Exponent>" & _
- " </RSAKeyValue>" & _
- " <DesignSignature>IGODC7CpxUR/sFHG38Z09/tpCK115hGWHNm7HvziN/RAw2H7i5o4F6vwgSF7+Uw0ZBKALNqGXWZQg+vaskbf4cotbN1SAhSi3/qYYeH7s5tAiS4ZJfN4DVDaB/IZOfL+3X+hehuO+Ot+X/u8cDqZKCA+1kxeSX4aqwJ+iFwWaAM=</DesignSignature>" & _
- " <RuntimeSignature>xaala0UVs/pvODuBtGxJ/V8R633EWmprSYZga0rVA5C3+TdSl5ywHPc2OXVLvm4MyqtK7VX0bsnCZXMKkcek0BkV7TWOIt0xb5ORu1L5iKpOqqXuNhdrTDF9M+FXwQAFPLmts/HObZ4Ul89PmSbTG3pjhQVVUA20ioj7AlEcLQo=</RuntimeSignature>" & _
- "</LicenseParameters>"
-
- Public Sub New()
- MyBase.New()
- InitializeComponent()
- EncryptedLicenseProvider.SetParameters(LICENSE_PARAMETERS)
- Dim slicense as License
- If Not LicenseManager.IsValid(GetType(MyControl), Me, slicense) Then
- If LicenseManager.CurrentContext.UsageMode = LicenseUsageMode.Runtime Then
- MessageBox.Show("This application was created using an unlicensed version of MyControl", "Unlicensed Application")
- Else
- Dim myForm As New LicenseInstallForm
- myForm.ShowDialog("MyControl", "www.mycompany.com", GetType(MyControl))
- End If
- End If
- End Sub
- End Class
-
- The date/time picker consists of the following elements: date and time fields, up and down buttons, calendar drop-down button and calendar popup (see the figure below).
- -Date/Time Picker control and its elements
-You can learn more about Elegant Date/Time Picker from Using a DateTimePicker Control
-true
if the shortcut keys are shown; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.
- true
if the shortcut was processed by the control; otherwise, false
.true
if the shortcut was processed by the popup; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.
- The calendar features a single and multi-month layout. The week numbers, non-month days and a month-selection popup provides fast navigation.
-The calendar is highly customizable and enables you to easily change almost every aspect of its visual presentation. You can create one or more visual styles and associated these styles with particular days and week numbers. You can even completely redraw and change the size of the days to give your calendar a unique look.
-You can select the format of displaying the days of the week: first letter, abbreviated or full. The other customizable properties include the first day of the week, today's date and Today and None buttons.
-You can see the major elements of the calendar control below.
- -Calendar control and its elements
-You can learn more about Elegant Calendar from Using a Calendar Control
-Figure 1 One month layout
- -Figure 2 Four month layout
-You can specify how many month blocks are displayed in the calendar using the
See the figure below that illustrates how the click on the non-month day 29, which represents January 29, causes February to be replaced with January.
- -The Infralution Licensing System provides a secure way of licensing .NET controls, - components and applications. Licenses are protected using public key encryption to - minimize possibility of cracking.
-Components or controls use the
- #using Infralution.Licensing;
- public class MyForm : Form
- {
- const string LICENSE_PARAMETERS =
- @"
-
- z7ijwu7osE4HcGZH7+PhOYw3WuZp/+1szNEjrEo61WVO2sklsdVJpjShXPzUDjlDDvnIFZo4d0l8IFswCYleRS+5PVOkqH0OnAHOSIvoHMNxRyKi9klj7ZD55sKfDJu17MUsjLFLc741B8EvQ3dXPLQoTc+TF5mKOm6o8BnrSuU=
- AQAB
-
- NqPti5+oayvPPlaETb5gNi9u32sze0o9AhlVEtWm3rfo3gGV/jKXDqQBd9Icy9xgfrEOVKvCyrhnCUEowQDOBPaVMiDqdm9UBRM/KAQt4kUAb2bhl8W47R09bikvahfJWfP+zyic3oin61B1jvuI2CSYjiRi4a5Qz2hudDP5MxM=
- lL2tfh7eUgkZS+I0/yoRowAP7p++zXma4JgO/Npf0QXnbBy3pKw+B5U9jtfwydKleM22Wgk/KBG5uyYXWaJeG/Pe6I29uLD1s5uo+Y9EzVaXDdi9HMQwIIvrv7dcgZlPPkzmkSm1X3uqfHl9R4+NfP9noDBKiQBVSWkem/iH87E=
- ";
-
- const string LICENSE_FILE = "MyApp.lic";
-
- public MyForm()
- {
- InitializeComponent();
- EncryptedLicenseProvider provider = new EncryptedLicenseProvider();
- EncryptedLicense license = provider.GetLicense(LICENSE_PARAMETERS, LICENSE _FILE);
- if (license == null)
- {
- LicenseInstallForm form = new LicenseInstallForm();
- license = form.ShowDialog("MyControl", "www.mycompany.com", LICENSE _FILE);
- if (license == null)
- {
- MessageBox.Show("Running in Evaluation Mode", "Unlicensed Application");
- }
- }
- }
- }
-
-
- Imports Infralution.Licensing
- Public Class MyForm
- Inherits System.Windows.Forms.Form
-
- Const LICENSE_PARAMETERS As String = _
- "<LicenseParameters>" & _
- " <RSAKeyValue>" & _
- " <Modulus>2/dDoUDRnh2gT//5UhGkQRnviVmbrqZj6JdMHhMfZsXslK3x4Yz2QFjpjWtKI2REj8Z3rLd0iOHlOgEaRCM82qGaSMyaoYBYovOtIqU20hpYS6VBtNzwQCJ58d27cnQnMiAmpAjfnKc+gSD/ZIJeO6FdTjfx86+aWrsMOiSpjFk=</Modulus>" & _
- " <Exponent>AQAB</Exponent>" & _
- " </RSAKeyValue>" & _
- " <DesignSignature>IGODC7CpxUR/sFHG38Z09/tpCK115hGWHNm7HvziN/RAw2H7i5o4F6vwgSF7+Uw0ZBKALNqGXWZQg+vaskbf4cotbN1SAhSi3/qYYeH7s5tAiS4ZJfN4DVDaB/IZOfL+3X+hehuO+Ot+X/u8cDqZKCA+1kxeSX4aqwJ+iFwWaAM=</DesignSignature>" & _
- " <RuntimeSignature>xaala0UVs/pvODuBtGxJ/V8R633EWmprSYZga0rVA5C3+TdSl5ywHPc2OXVLvm4MyqtK7VX0bsnCZXMKkcek0BkV7TWOIt0xb5ORu1L5iKpOqqXuNhdrTDF9M+FXwQAFPLmts/HObZ4Ul89PmSbTG3pjhQVVUA20ioj7AlEcLQo=</RuntimeSignature>" & _
- "</LicenseParameters>"
-
- Const LICENSE_FILE as String = "MyApp.lic"
-
- Public Sub New()
- MyBase.New()
- InitializeComponent()
- Dim sProvider as new EncryptedLicenseProvider()
- Dim sLicense as EncryptedLicense = sProvider.GetLicense(LICENSE_PARAMETERS, LICENSE_FILE)
- If sLicense is Nothing Then
- Dim myForm As New LicenseInstallForm
- sLicense = myForm.ShowDialog("MyControl", "www.mycompany.com", LICENSE_FILE)
- If sLicense is Nothing then
- MessageBox.Show("Running in Evaluation Mode", "Unlicensed Application")
- End If
- End If
- End Sub
- End Class
-
-
- #using Infralution.Licensing;
- #using System.ComponentModel;
- [LicenseProvider(typeof(Infralution.Licensing.EncryptedLicenseProvider))]
- public class MyControl : Control
- {
- const string LICENSE_PARAMETERS =
- @"
-
- z7ijwu7osE4HcGZH7+PhOYw3WuZp/+1szNEjrEo61WVO2sklsdVJpjShXPzUDjlDDvnIFZo4d0l8IFswCYleRS+5PVOkqH0OnAHOSIvoHMNxRyKi9klj7ZD55sKfDJu17MUsjLFLc741B8EvQ3dXPLQoTc+TF5mKOm6o8BnrSuU=
- AQAB
-
- NqPti5+oayvPPlaETb5gNi9u32sze0o9AhlVEtWm3rfo3gGV/jKXDqQBd9Icy9xgfrEOVKvCyrhnCUEowQDOBPaVMiDqdm9UBRM/KAQt4kUAb2bhl8W47R09bikvahfJWfP+zyic3oin61B1jvuI2CSYjiRi4a5Qz2hudDP5MxM=
- lL2tfh7eUgkZS+I0/yoRowAP7p++zXma4JgO/Npf0QXnbBy3pKw+B5U9jtfwydKleM22Wgk/KBG5uyYXWaJeG/Pe6I29uLD1s5uo+Y9EzVaXDdi9HMQwIIvrv7dcgZlPPkzmkSm1X3uqfHl9R4+NfP9noDBKiQBVSWkem/iH87E=
- ";
-
- public MyControl()
- {
- InitializeComponent();
- EncryptedLicenseProvider.SetParameters(LICENSE_PARAMETERS);
- License license;
- if (!LicenseManager.IsValid(typeof(MyControl), this, out license))
- {
- if (LicenseManager.CurrentContext.UsageMode == LicenseUsageMode.Runtime)
- {
- MessageBox.Show("This application was created using an unlicensed version of MyControl",
- "Unlicensed Application");
- }
- else
- {
- LicenseInstallForm form = new LicenseInstallForm();
- form.ShowDialog("MyControl", "www.mycompany.com", typeof(MyControl));
- }
- }
- }
- }
-
-
- Imports System.ComponentModel
- Imports Infralution.Licensing
- <LicenseProvider(GetType(Infralution.Licensing.EncryptedLicenseProvider))> _
- Public Class MyControl
- Inherits System.Windows.Forms.UserControl
-
- Const LICENSE_PARAMETERS As String = _
- "<LicenseParameters>" & _
- " <RSAKeyValue>" & _
- " <Modulus>2/dDoUDRnh2gT//5UhGkQRnviVmbrqZj6JdMHhMfZsXslK3x4Yz2QFjpjWtKI2REj8Z3rLd0iOHlOgEaRCM82qGaSMyaoYBYovOtIqU20hpYS6VBtNzwQCJ58d27cnQnMiAmpAjfnKc+gSD/ZIJeO6FdTjfx86+aWrsMOiSpjFk=</Modulus>" & _
- " <Exponent>AQAB</Exponent>" & _
- " </RSAKeyValue>" & _
- " <DesignSignature>IGODC7CpxUR/sFHG38Z09/tpCK115hGWHNm7HvziN/RAw2H7i5o4F6vwgSF7+Uw0ZBKALNqGXWZQg+vaskbf4cotbN1SAhSi3/qYYeH7s5tAiS4ZJfN4DVDaB/IZOfL+3X+hehuO+Ot+X/u8cDqZKCA+1kxeSX4aqwJ+iFwWaAM=</DesignSignature>" & _
- " <RuntimeSignature>xaala0UVs/pvODuBtGxJ/V8R633EWmprSYZga0rVA5C3+TdSl5ywHPc2OXVLvm4MyqtK7VX0bsnCZXMKkcek0BkV7TWOIt0xb5ORu1L5iKpOqqXuNhdrTDF9M+FXwQAFPLmts/HObZ4Ul89PmSbTG3pjhQVVUA20ioj7AlEcLQo=</RuntimeSignature>" & _
- "</LicenseParameters>"
-
- Public Sub New()
- MyBase.New()
- InitializeComponent()
- EncryptedLicenseProvider.SetParameters(LICENSE_PARAMETERS)
- Dim slicense as License
- If Not LicenseManager.IsValid(GetType(MyControl), Me, slicense) Then
- If LicenseManager.CurrentContext.UsageMode = LicenseUsageMode.Runtime Then
- MessageBox.Show("This application was created using an unlicensed version of MyControl", "Unlicensed Application")
- Else
- Dim myForm As New LicenseInstallForm
- myForm.ShowDialog("MyControl", "www.mycompany.com", GetType(MyControl))
- End If
- End If
- End Sub
- End Class
-
- The date/time picker consists of the following elements: date and time fields, up and down buttons, calendar drop-down button and calendar popup (see the figure below).
- -Date/Time Picker control and its elements
-You can learn more about Elegant Date/Time Picker from Using a DateTimePicker Control
-true
if the shortcut keys are shown; otherwise, false
.true
if the shortcut keys are shown; otherwise, false
.
-