/// <summary> /// Click sur la scène /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MainSurface_Click(object sender, EventArgs e) { this.Focus(); if (!_MouseMove && EditorHelper.Instance.CurrentLayer != new Guid() && EditorHelper.Instance.CurrentDrawingTool == Enums.DrawingTools.Pointer) { Point mousePosition = _Service.GetDragStageCoords(this.PointToClient(Cursor.Position)); if ((Control.ModifierKeys & Keys.Control) == Keys.Control) { _Service.GetSelectedItem(mousePosition, true); this.ItemChosen(null, new EventArgs()); } else { _Service.GetSelectedItem(mousePosition, false); ReloadItemChosen(); } LoadContextMenu(); RefreshStage(); } }