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