Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
 public void EndDrag()
 {
     dragManager.EndDrag();
 }