예제 #1
0
 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();
 }
예제 #2
0
        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();
        }