Example #1
0
 private void OnLoggingOut(object sender, EventArgs e)
 {
     DisplayStatus = WindowDisplayStatus.OnLoginScreen;
     App.Current.ClearSessionID();
     MainScreenWindow.ForceClose();
     _mainScreenWindow = null;
 }
Example #2
0
 private void ShowMainWindow(object sender, EventArgs e)
 {
     if (App.Current.IsOnline)
     {
         DisplayStatus = WindowDisplayStatus.OnMainScreen;
     }
     else
     {
         DisplayStatus = WindowDisplayStatus.OnLoginScreen;
     }
 }
Example #3
0
 private void ExitApplication(object sender, EventArgs e)
 {
     DisplayStatus = WindowDisplayStatus.AppExit;
     App.Current.ClearSessionID();
 }