Exemplo n.º 1
0
 public Board4Control(BoardForm form)
 {
     InitializeComponent();
     this.form = form;
     wait      = true;
     initMatrix();
 }
 public Board3Control(BoardForm form)
 {
     InitializeComponent();
     this.form = form;
     wait = true;
     initMatrix();
 }
Exemplo n.º 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");
         }
     }
 }
Exemplo n.º 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");
     }
 }