示例#1
0
 private void registerChampMenuItem_Click(object sender, EventArgs e)
 {
     if (regToChampForm != null)
     {
         showError("Register to Championship Form is already open");
     }
     else
     {
         if (currentPlayer != null)
         {
             regToChampForm = new RegisterToChampForm(this);
             regToChampForm.Show();
         }
         else
         {
             showError("Error: Please login first");
         }
     }
 }
示例#2
0
 private void registerChampMenuItem_Click(object sender, EventArgs e)
 {
     if (regToChampForm != null)
         showError("Register to Championship Form is already open");
     else
     {
         if (currentPlayer != null)
         {
             regToChampForm = new RegisterToChampForm(this);
             regToChampForm.Show();
         }
         else
             showError("Error: Please login first");
     }
 }