private void GLSurface_GLMouseUp(object sender, GLMouseEventArgs e) { try { MouseManager.EndDrag(); } catch (Exception ex) { MessageBox.Show(this, ex.ToString(), "Error: Can not handle MouseUp event.", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void GLSurface_GLMouseUp(object sender, GLMouseEventArgs e) { try { MouseManager.EndDrag(); PointCaptured = false; Story.Item = new State(LoadedResource); } catch (Exception ex) { MessageBox.Show(this, ex.ToString(), "Error: Can not handle MouseUp event.", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public void EndDrag() { dragManager.EndDrag(); }