OnClosing() защищенный Метод

Raises the Closing event.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs Event arguments
Результат void
Пример #1
0
			/// <summary>
			/// Raises the closing event.
			/// </summary>
			public void OnClosing(Window widget, CancelEventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnClosing(e));
			}
Пример #2
0
 /// <summary>
 /// Raises the closing event.
 /// </summary>
 public void OnClosing(Window widget, CancelEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnClosing(e);
 }
Пример #3
0
 /// <summary>
 /// Raises the closing event.
 /// </summary>
 public void OnClosing(Window widget, CancelEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnClosing(e));
 }