Beispiel #1
0
 // Saves the data in user object and close it
 public void LogOut()
 {
     OtherThread.stop();
     if (this.user == null)
     {
         return;
     }
     this.SaveUserProfile();
     this.user                 = null;
     this.MonthData            = null;
     this.Contactes            = null;
     MainWindow.settingsField  = null;
     MainWindow.ContactesField = null;
     userPasswrd               = "";
 }
Beispiel #2
0
 public void exit(object o, ExitEventArgs e)
 {
     OtherThread.stop();
 }