public void ClickEvent(Point location) { int row; int column; m_board.GetRC(location.X,location.Y,out row,out column); //MessageBox.Show(string.Format("Click Location: {0},{1}", row,column)); CMarker marker = new CMarker(ref m_canvas, ")"); m_board[row, column] = marker; m_board.Draw(); }
public void ClickEvent(Point location) { int row; int column; m_board.GetRC(location.X, location.Y, out row, out column); //MessageBox.Show(string.Format("Click Location: {0},{1}", row,column)); CMarker marker = new CMarker(ref m_canvas, ")"); m_board[row, column] = marker; m_board.Draw(); }