Пример #1
0
 /// <summary>
 /// The on exit.
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The e.
 /// </param>
 protected override void OnExit(object sender, EventArgs e)
 {
     mApplication.Quit();
 }
Пример #2
0
 /// <summary>
 /// The exit - externally/programatically.
 /// </summary>
 public void Exit()
 {
     mApplication?.Quit();
 }
Пример #3
0
 /// <summary>
 /// The exit - externally/programatically.
 /// </summary>
 public void Exit()
 {
     _application?.Quit();
 }