Exemplo n.º 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();
     }
 }
Exemplo n.º 2
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();
     }
 }