ISelectionUIHandler.cs 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. //
  2. // System.Windows.Forms.Design.ISelectionUIHandler.cs
  3. //
  4. // Author:
  5. // Gert Driesen ([email protected])
  6. // (C) 2004 Ximian, Inc. http://www.ximian.com
  7. //
  8. using System;
  9. using System.ComponentModel;
  10. using System.Drawing;
  11. namespace System.Windows.Forms.Design
  12. {
  13. internal interface ISelectionUIHandler
  14. {
  15. bool BeginDrag (object[] components, SelectionRules rules, int initialX, int initialY);
  16. void DragMoved (object[] components, Rectangle offset);
  17. void EndDrag (object[] components, bool cancel);
  18. Rectangle GetComponentBounds (object component);
  19. SelectionRules GetComponentRules (object component);
  20. Rectangle GetSelectionClipRect (object component);
  21. void OleDragDrop (DragEventArgs de);
  22. void OleDragEnter (DragEventArgs de);
  23. void OleDragLeave ();
  24. void OleDragOver (DragEventArgs de);
  25. void OnSelectionDoubleClick (IComponent component);
  26. bool QueryBeginDrag (object[] components, SelectionRules rules, int initialX, int initialY);
  27. void ShowContextMenu (IComponent component);
  28. }
  29. }