示例#1
0
 /// <summary>
 /// Handles the MouseUp event for the tile
 /// </summary>
 protected override void OnMouseUp(MouseEventArgs mevent)
 {
     if (mevent.Button == MouseButtons.Left)
     {
         gameEngine.FlipTile(row, column);
     }
     else
     {
         gameEngine.FlagTile(row, column);
     }
 }