/// <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(); }
/// <summary> /// The exit - externally/programatically. /// </summary> public void Exit() { mApplication?.Quit(); }
/// <summary> /// The exit - externally/programatically. /// </summary> public void Exit() { _application?.Quit(); }