Compartir a través de


WpfBrowser.WindowClosing Event

Fires when the window of the object is about to be closed by script.

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim instance As WpfBrowser
Dim handler As EventHandler(Of WindowClosingEventArgs)

AddHandler instance.WindowClosing, handler

Syntax

'Declaration
<CategoryAttribute("DWebBrowserEvents2")> _
<DescriptionAttribute("Fires when the window of the object is about to be closed by script.")> _
<BrowsableAttribute(True)> _
Public Event WindowClosing As EventHandler(Of WindowClosingEventArgs)
[CategoryAttribute("DWebBrowserEvents2")] 
[DescriptionAttribute("Fires when the window of the object is about to be closed by script.")] 
[BrowsableAttribute(true)] 
public event EventHandler<WindowClosingEventArgs> WindowClosing
[CategoryAttribute(L"DWebBrowserEvents2")] 
[DescriptionAttribute(L"Fires when the window of the object is about to be closed by script.")] 
[BrowsableAttribute(true)] 
public:
event EventHandler<WindowClosingEventArgs^>^ WindowClosing {
    void add (EventHandler<WindowClosingEventArgs^>^ value);
    void remove (EventHandler<WindowClosingEventArgs^>^ value);
}
/** @event */
public void add_WindowClosing (EventHandler<WindowClosingEventArgs> value)

/** @event */
public void remove_WindowClosing (EventHandler<WindowClosingEventArgs> value)

Platforms

See Also

Reference

WpfBrowser Class
WpfBrowser Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.