DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / LicenseDialog Class
Members






In This Topic
    LicenseDialog Class
    In This Topic
    The customisable dialog used when a license needs to be acitvated or information about it needs to be displayed.
    Object Model
    LicenseDialog Class
    Syntax
    'Declaration
     
    
    <System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms.Control.TopLevel")>
    <System.ComponentModel.ToolboxItemAttribute(False)>
    <System.ComponentModel.DesignTimeVisibleAttribute(False)>
    <System.ComponentModel.DesignerAttribute("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)>
    <System.ComponentModel.DesignerCategoryAttribute("Form")>
    <System.ComponentModel.DefaultEventAttribute("Load")>
    <System.ComponentModel.InitializationEventAttribute("Load")>
    <System.ComponentModel.DefaultPropertyAttribute("Text")>
    <System.ComponentModel.Design.Serialization.DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    Public Class LicenseDialog 
       Inherits System.Windows.Forms.Form
    'Usage
     
    
    Dim instance As LicenseDialog
    [System.ComponentModel.ToolboxItemFilter("System.Windows.Forms.Control.TopLevel")]
    [System.ComponentModel.ToolboxItem(false)]
    [System.ComponentModel.DesignTimeVisible(false)]
    [System.ComponentModel.Designer("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
    [System.ComponentModel.DesignerCategory("Form")]
    [System.ComponentModel.DefaultEvent("Load")]
    [System.ComponentModel.InitializationEvent("Load")]
    [System.ComponentModel.DefaultProperty("Text")]
    [System.ComponentModel.Design.Serialization.DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    public class LicenseDialog : System.Windows.Forms.Form 
    public class LicenseDialog = class(System.Windows.Forms.Form)
    System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms.Control.TopLevel")
    System.ComponentModel.ToolboxItemAttribute()
    System.ComponentModel.DesignTimeVisibleAttribute()
    System.ComponentModel.DesignerAttribute("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)
    System.ComponentModel.DesignerCategoryAttribute("Form")
    System.ComponentModel.DefaultEventAttribute("Load")
    System.ComponentModel.InitializationEventAttribute("Load")
    System.ComponentModel.DefaultPropertyAttribute("Text")
    System.ComponentModel.Design.Serialization.DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
    public class LicenseDialog extends System.Windows.Forms.Form
    [System.ComponentModel.ToolboxItemFilter("System.Windows.Forms.Control.TopLevel")]
    [System.ComponentModel.ToolboxItem(false)]
    [System.ComponentModel.DesignTimeVisible(false)]
    [System.ComponentModel.Designer("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
    [System.ComponentModel.DesignerCategory("Form")]
    [System.ComponentModel.DefaultEvent("Load")]
    [System.ComponentModel.InitializationEvent("Load")]
    [System.ComponentModel.DefaultProperty("Text")]
    [System.ComponentModel.Design.Serialization.DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    public __gc class LicenseDialog : public System.Windows.Forms.Form 
    [System.ComponentModel.ToolboxItemFilter("System.Windows.Forms.Control.TopLevel")]
    [System.ComponentModel.ToolboxItem(false)]
    [System.ComponentModel.DesignTimeVisible(false)]
    [System.ComponentModel.Designer("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
    [System.ComponentModel.DesignerCategory("Form")]
    [System.ComponentModel.DefaultEvent("Load")]
    [System.ComponentModel.InitializationEvent("Load")]
    [System.ComponentModel.DefaultProperty("Text")]
    [System.ComponentModel.Design.Serialization.DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    public ref class LicenseDialog : public System.Windows.Forms.Form 
    Remarks

    This dialog uses ONLY public methods of other objects, such as DicomLicense.ActivateOnLine and hence all functionality can be replaced by develolpers if you wish, but alternatively, for a simpler implementation you can simply customise the properties of this dialog or even derive one from it.

    There is always one static copy of this dialog (DicomLicense.Dialog) which will be used for most functions by DicomObjects, but note that a clean (non-customisable) copy is used for the "nag" screens on trial and developer licenses, to prevent abuse of those licenses in commercial products.

    The dialog is used in 2 forms, a "full" form when a license needs to be obtained, and a shortened form when only information needs to be shown (e.g. a license about to expire).

    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.Control
                System.Windows.Forms.ScrollableControl
                   System.Windows.Forms.ContainerControl
                      System.Windows.Forms.Form
                         DicomObjects.LicenseDialog

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also