Example #1
0
 public void HQButton_Click(object sender, EventArgs e)
 {
     if (_hqForm == null)
     {
         _hqForm = new HQUserForm(this, _userForm.GetWindowMidRight());
         _hqForm.Show();
         _userForm.ToggleHQButton();
     }
     else
     {
         _hqForm.Close();
         _hqForm = null;
         _userForm.ToggleHQButton();
     }
 }