TLLInterfaceShowRegistrationForm Method (Form, String, String, Image, Boolean) |
Shows classic windows design registration dialog.
Namespace:
TreeksLicensingLibrary2.EasyIntegration
Assembly:
TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax public DialogResult ShowRegistrationForm(
Form Owner,
string Title = "",
string BuyNowURL = "",
Image Icon = null,
bool HideAdvancedOptions = false
)
Public Function ShowRegistrationForm (
Owner As Form,
Optional Title As String = "",
Optional BuyNowURL As String = "",
Optional Icon As Image = Nothing,
Optional HideAdvancedOptions As Boolean = false
) As DialogResult
public:
DialogResult ShowRegistrationForm(
Form^ Owner,
String^ Title = L"",
String^ BuyNowURL = L"",
Image^ Icon = nullptr,
bool HideAdvancedOptions = false
)
member ShowRegistrationForm :
Owner : Form *
?Title : string *
?BuyNowURL : string *
?Icon : Image *
?HideAdvancedOptions : bool
(* Defaults:
let _Title = defaultArg Title ""
let _BuyNowURL = defaultArg BuyNowURL ""
let _Icon = defaultArg Icon null
let _HideAdvancedOptions = defaultArg HideAdvancedOptions false
*)
-> DialogResult
Parameters
- Owner
- Type: System.Windows.FormsForm
Parent window/form - Title (Optional)
- Type: SystemString
Title of registration dialog - BuyNowURL (Optional)
- Type: SystemString
URL which will be opened when user clicks buy now button, when empty buy now button is hidden - Icon (Optional)
- Type: System.DrawingImage
The icon displayed in registration dialog - HideAdvancedOptions (Optional)
- Type: SystemBoolean
Set to true in case you don't want to display 'Show more licensing options' link
Return Value
Type:
DialogResultDialogResult.OK if valid license was activated using registration form.
Remarks See Also