Exemplo n.º 1
0
 private void historyMenuItem_Click(object sender, EventArgs e)
 {
     if (historyForm != null)
     {
         showError("History Form is already open");
     }
     else
     {
         if (currentPlayer != null)
         {
             historyForm = new HistoryForm(this);
             historyForm.Show();
         }
         else
         {
             showError("Error: Please login first");
         }
     }
 }
Exemplo n.º 2
0
 private void historyMenuItem_Click(object sender, EventArgs e)
 {
     if (historyForm != null)
         showError("History Form is already open");
     else
     {
         if (currentPlayer != null)
         {
             historyForm = new HistoryForm(this);
             historyForm.Show();
         }
         else
             showError("Error: Please login first");
     }
 }