private void MarcRect_MouseUp(object sender, Drawing3d.HandledMouseEventArgs e) { Selector.SnapInside(MarcRect.Rectangle); if (Form.ModifierKeys != Keys.Shift) { MarkList.Clear(); } for (int i = 0; i < SnappItems.Count; i++) { if (IndexOfTag(SnappItems[i].Tag) < 0) { MarkList.Add(SnappItems[i].Tag); } } e.Handled = true; MarcRect.OnLogout(false); }
/// <summary> /// is call by a double click of the mouse. See also <see cref="MouseDoubleClick"/> /// </summary> /// <param name="e"></param> /// <returns><b>true</b> interupt the <see cref="OpenGlDevice.EventServer"/> in the sense of "handled". </returns> public void OnMouseDoubleClick(HandledMouseEventArgs e) { MouseDoubleClick?.Invoke(this, e); }