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