Exemplo n.º 1
0
 //Contructor
 public LuongGiaBanCo(BanCo cls)
 {
     height = cls.Row;
     width = cls.Column;
     GiaTri = new int[height, width];
     ResetBoard();
 }
Exemplo n.º 2
0
 public MainWindow()
 {
     this.InitializeComponent();         
     banco = new BanCo(this, grdBanCo);
     banco.DrawGomokuBoard();
     grdBanCo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(banco.grdBanCo_MouseDown);
     banco.WinEvent += new BanCo.WinEventHander(banco_WinEvent);
     banco.LoseEvent += new BanCo.LoseEventHander(banco_LoseEvent);
 }