Exemplo n.º 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               = "";
 }
Exemplo n.º 2
0
 public void exit(object o, ExitEventArgs e)
 {
     OtherThread.stop();
 }