示例#1
0
 private void buttonJumpToExit_Click(object sender, EventArgs e)
 {
     try
     {
         controller.Logout();
         controller.updateEvent -= Update;
     }
     catch (Exception se)
     {
         MessageBox.Show(se.Message);
     }
     tabControl.SelectedTab = tabPageExit;
 }