Пример #1
0
 private void queriesMenuItem_Click(object sender, EventArgs e)
 {
     if (queriesForm != null)
     {
         showError("Queries Form is already open");
     }
     else
     {
         if (currentPlayer != null)
         {
             queriesForm = new QueriesForm(this);
             queriesForm.Show();
         }
         else
         {
             showError("Error: Please login first");
         }
     }
 }
Пример #2
0
 private void queriesMenuItem_Click(object sender, EventArgs e)
 {
     if (queriesForm != null)
         showError("Queries Form is already open");
     else
     {
         if (currentPlayer != null)
         {
             queriesForm = new QueriesForm(this);
             queriesForm.Show();
         }
         else
             showError("Error: Please login first");
     }
 }