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