OnClosing() protected method

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