Exemplo n.º 1
0
 private void pnlRenderBitmap_MouseUp(object sender, MouseEventArgs e)
 {
     if (e.Button == System.Windows.Forms.MouseButtons.Left)
     {
         mouseSelection.MouseUp();
         EditorData.CurrentMap.MapSelect(DrawMap.GetSelectedTiles(), DrawMap.GetSelectedObjects());
         RefreshViewport();
     }
     else if (e.Button == System.Windows.Forms.MouseButtons.Right)
     {
         mouseSelection.isRightClickDown = false;
     }
 }