예제 #1
0
 public GraphicView(BSContoller bs)
 {
     InitializeComponent();
     bsController = bs;
     //Format the oringinal board
     bsController.setDatagridView(dgvPlayer);
     bsController.setDatagridView(dgvAI);
     btnSaveGame.Enabled = false;
 }
예제 #2
0
 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;
 }