Esempio n. 1
0
 /// <summary>
 /// Log out
 /// </summary>
 /// <param name="sender">Sender</param>
 /// <param name="e">Event arguments</param>
 private void logOutButton_Click(object sender, EventArgs e)
 {
     CloseLiveMap();
     CloseGroup();
     CloseFindUsers();
     Configuration.Password = "";
     Configuration.Save();
     if (api != null)
     {
         api.Dispose();
         api = null;
     }
     Hide();
     ShowLogin();
     if (api == null)
     {
         Close();
     }
     else
     {
         LoadLoginData();
         Show();
     }
 }