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