OnClosing() protected method

Raises the Closing event.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs Event arguments
return void
Exemplo n.º 1
0
			/// <summary>
			/// Raises the closing event.
			/// </summary>
			public void OnClosing(Window widget, CancelEventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnClosing(e));
			}
Exemplo n.º 2
0
 /// <summary>
 /// Raises the closing event.
 /// </summary>
 public void OnClosing(Window widget, CancelEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnClosing(e);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Raises the closing event.
 /// </summary>
 public void OnClosing(Window widget, CancelEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnClosing(e));
 }