public GraphicView(BSContoller bs) { InitializeComponent(); bsController = bs; //Format the oringinal board bsController.setDatagridView(dgvPlayer); bsController.setDatagridView(dgvAI); btnSaveGame.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; }