Event arguments for events that need a screen point and element offset.
Inheritance: System.EventArgs
Beispiel #1
0
        private void OnFloatingWindowCaptionDragging(object sender, ScreenAndOffsetEventArgs e)
        {
            // Events are generated from the parent docking manager
            KryptonDockingManager dockingManager = DockingManager;

            dockingManager?.DoDragDrop(e.ScreenPoint, e.ElementOffset, null, this);
        }
Beispiel #2
0
 /// <summary>
 /// Raises the WindowCaptionDragging event.
 /// </summary>
 /// <param name="e">An ScreenAndOffsetEventArgs that contains the event data.</param>
 protected virtual void OnWindowCaptionDragging(ScreenAndOffsetEventArgs e)
 {
     if (WindowCaptionDragging != null)
     {
         WindowCaptionDragging(this, e);
     }
 }
 /// <summary>
 /// Raises the WindowCaptionDragging event.
 /// </summary>
 /// <param name="e">An ScreenAndOffsetEventArgs that contains the event data.</param>
 protected virtual void OnWindowCaptionDragging(ScreenAndOffsetEventArgs e)
 {
     if (WindowCaptionDragging != null)
         WindowCaptionDragging(this, e);
 }
Beispiel #4
0
 /// <summary>
 /// Raises the WindowCaptionDragging event.
 /// </summary>
 /// <param name="e">An ScreenAndOffsetEventArgs that contains the event data.</param>
 protected virtual void OnWindowCaptionDragging(ScreenAndOffsetEventArgs e)
 {
     WindowCaptionDragging?.Invoke(this, e);
 }
 private void OnFloatingWindowCaptionDragging(object sender, ScreenAndOffsetEventArgs e)
 {
     // Events are generated from the parent docking manager
     KryptonDockingManager dockingManager = DockingManager;
     if (dockingManager != null)
         dockingManager.DoDragDrop(e.ScreenPoint, e.ElementOffset, null, this);
 }