DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / LicenseDialog Class / FormClosing Event






In This Topic
    FormClosing Event
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatBehavior")>
    <SRDescriptionAttribute("FormOnFormClosingDescr")>
    Public Event FormClosing As System.Windows.Forms.FormClosingEventHandler
    'Usage
     
    
    Dim instance As LicenseDialog
    Dim handler As System.Windows.Forms.FormClosingEventHandler
     
    AddHandler instance.FormClosing, handler
    [SRCategory("CatBehavior")]
    [SRDescription("FormOnFormClosingDescr")]
    public event System.Windows.Forms.FormClosingEventHandler FormClosing
    public event FormClosing: System.Windows.Forms.FormClosingEventHandler; 
    In JScript, you can handle the events defined by another class, but you cannot define your own.
    [SRCategory("CatBehavior")]
    [SRDescription("FormOnFormClosingDescr")]
    public: __event System.Windows.Forms.FormClosingEventHandler* FormClosing
    [SRCategory("CatBehavior")]
    [SRDescription("FormOnFormClosingDescr")]
    public:
    event System.Windows.Forms.FormClosingEventHandler^ FormClosing
    Event Data

    The event handler receives an argument of type System.Windows.Forms.FormClosingEventArgs containing data related to this event. The following FormClosingEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets a value that indicates why the form is being closed.  
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also