XRPatternDesigner.cs 849 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.ComponentModel.Design;
  2. using System.Windows.Forms.Design;
  3. using DevExpress.XtraReports.Design;
  4. namespace CustomControls.Design
  5. {
  6. /// <summary>
  7. /// 报表设计
  8. /// </summary>
  9. public class XRPatternDesigner : XRControlDesigner
  10. {
  11. /// <summary>
  12. /// 控件选中规则
  13. /// </summary>
  14. protected override SelectionRules GetSelectionRulesCore()
  15. {
  16. return SelectionRules.Moveable;
  17. }
  18. /// <summary>
  19. /// 注册设计清单
  20. /// </summary>
  21. protected override void RegisterActionLists(DesignerActionListCollection list)
  22. {
  23. list.Add(new XRPatternDesignerActionList(this));
  24. }
  25. }
  26. /// <summary>
  27. /// VS设计
  28. /// </summary>
  29. public class _XRPatternDesigner : XRPatternDesigner
  30. {
  31. }
  32. }