Example #1
0
 private void Gomoku_MouseMove(object sender, MouseEventArgs e)
 {
     if (board.CanBePlaced(e.X, e.Y))
     {
         this.Cursor = Cursors.Hand;
     }
     else
     {
         this.Cursor = Cursors.Default;
     }
 }
Example #2
0
 public bool CanBePlaced(int x, int y)
 {
     return(board.CanBePlaced(x, y));
 }