public GraphicView(BSContoller bs) { InitializeComponent(); bsController = bs; //Format the oringinal board bsController.setDatagridView(dgvPlayer); bsController.setDatagridView(dgvAI); btnSaveGame.Enabled = false; }
public void newGame(int viewDefinder) { bsController.setDatagridView(dgvPlayer); bsController.setDatagridView(dgvAI); if (viewDefinder == 1) { bsController.newGameBoardSet(1); } displayReset(); btnNewGame.Enabled = false; }
public FilterView(BSContoller bs) { InitializeComponent(); bsController = bs; bsController.setDatagridView(dgv); dgv[0, 0].Selected = true; dgv.CurrentCell.Selected = false; cmbBoardSelection.Items.Insert(0, "Player Game Board"); cmbBoardSelection.Items.Insert(1, "Computer Game Board"); cmbBoardSelection.SelectedIndex = 0; }