private void OnRootWindowClosed(CloseEventArgs e)
 {
     this.RootWindowClosed?.Invoke(this, e);
 }
 private void OnRootWindowClosed(object sender, CloseEventArgs e)
 {
     this.RootWindowClosed?.Invoke(this, e);
 }
 private void OnRootWindowClosed(CloseEventArgs e)
 {
     var handler = this.RootWindowClosed;
     if (handler != null)
         handler(this, e);
 }
 private void RootViewModelClosed(object sender, CloseEventArgs e)
 {
     this.viewModel.MainWindowVisible = false;
     if (this.ShowOnlyOnClose)
         this.viewModel.Visible = true;
 }