예제 #1
0
 public Board4Control(BoardForm form)
 {
     InitializeComponent();
     this.form = form;
     wait      = true;
     initMatrix();
 }
 public Board3Control(BoardForm form)
 {
     InitializeComponent();
     this.form = form;
     wait = true;
     initMatrix();
 }
예제 #3
0
 private void offline5MenuItem_Click(object sender, EventArgs e)
 {
     if (boardForm != null)
     {
         showError("Game Form is already open");
     }
     else
     {
         if (currentPlayer != null)
         {
             boardForm = new BoardForm(5, this, true);
             boardForm.Show();
         }
         else
         {
             showError("Error: Please login first");
         }
     }
 }
예제 #4
0
 private void online5MenuItem_Click(object sender, EventArgs e)
 {
     if (boardForm != null)
         showError("Game Form is already open");
     else
     {
         if (currentPlayer != null)
         {
             boardForm = new BoardForm(5, this, false);
             boardForm.Show();
         }
         else
             showError("Error: Please login first");
     }
 }