Beispiel #1
0
 /// <summary>
 /// Tool Strip Menu Logout Click Event Handler
 /// </summary>
 /// <param name="sender">Sender object.</param>
 /// <param name="e">EventArgs object.</param>
 private void toolstripmenuLogout_Click(object sender, EventArgs e)
 {
     this.Visible = false;
     _loginForm.ClearPassword();
     if (_loginForm.ShowDialog(this) == DialogResult.OK)
     {
         retrieveData();
         this.Visible = true;
         this.Focus();
     }
     else
     {
         Application.Exit();
     }
 }