MenuCommands.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //
  2. // System.Windows.Forms.Design.MenuCommands.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.Design;
  10. namespace System.Windows.Forms.Design
  11. {
  12. public sealed class MenuCommands : StandardCommands
  13. {
  14. #region Public Instance Constructors
  15. public MenuCommands()
  16. {
  17. // LAMESPEC having a public constructor but only static methods
  18. }
  19. #endregion Public Instance Constructors
  20. #region Static Constructor
  21. static MenuCommands()
  22. {
  23. MenuCommands.wfMenuGroup = new Guid ("{74D21312-2AEE-11d1-8BFB-00A0C90F26F7}");
  24. MenuCommands.wfCommandSet = new Guid ("{74D21313-2AEE-11d1-8BFB-00A0C90F26F7}");
  25. MenuCommands.guidVSStd2K = new Guid ("{1496A755-94DE-11D0-8C3F-00C04FC2AAE2}");
  26. MenuCommands.SelectionMenu = new CommandID (MenuCommands.wfMenuGroup, 1280);
  27. MenuCommands.ContainerMenu = new CommandID (MenuCommands.wfMenuGroup, 1281);
  28. MenuCommands.TraySelectionMenu = new CommandID (MenuCommands.wfMenuGroup, 1283);
  29. MenuCommands.ComponentTrayMenu = new CommandID (MenuCommands.wfMenuGroup, 1286);
  30. MenuCommands.DesignerProperties = new CommandID (MenuCommands.wfCommandSet, 4097);
  31. MenuCommands.KeyCancel = new CommandID (MenuCommands.guidVSStd2K, 103);
  32. MenuCommands.KeyReverseCancel = new CommandID (MenuCommands.wfCommandSet, 16385);
  33. MenuCommands.KeyDefaultAction = new CommandID (MenuCommands.guidVSStd2K, 3);
  34. MenuCommands.KeyMoveUp = new CommandID (MenuCommands.guidVSStd2K, 11);
  35. MenuCommands.KeyMoveDown = new CommandID (MenuCommands.guidVSStd2K, 13);
  36. MenuCommands.KeyMoveLeft = new CommandID (MenuCommands.guidVSStd2K, 7);
  37. MenuCommands.KeyMoveRight = new CommandID (MenuCommands.guidVSStd2K, 9);
  38. MenuCommands.KeyNudgeUp = new CommandID (MenuCommands.guidVSStd2K, 1227);
  39. MenuCommands.KeyNudgeDown = new CommandID (MenuCommands.guidVSStd2K, 1225);
  40. MenuCommands.KeyNudgeLeft = new CommandID (MenuCommands.guidVSStd2K, 1224);
  41. MenuCommands.KeyNudgeRight = new CommandID (MenuCommands.guidVSStd2K, 1226);
  42. MenuCommands.KeySizeWidthIncrease = new CommandID (MenuCommands.guidVSStd2K, 10);
  43. MenuCommands.KeySizeHeightIncrease = new CommandID (MenuCommands.guidVSStd2K, 12);
  44. MenuCommands.KeySizeWidthDecrease = new CommandID (MenuCommands.guidVSStd2K, 8);
  45. MenuCommands.KeySizeHeightDecrease = new CommandID (MenuCommands.guidVSStd2K, 14);
  46. MenuCommands.KeyNudgeWidthIncrease = new CommandID (MenuCommands.guidVSStd2K, 1231);
  47. MenuCommands.KeyNudgeHeightIncrease = new CommandID (MenuCommands.guidVSStd2K, 1228);
  48. MenuCommands.KeyNudgeWidthDecrease = new CommandID (MenuCommands.guidVSStd2K, 1230);
  49. MenuCommands.KeyNudgeHeightDecrease = new CommandID (MenuCommands.guidVSStd2K, 1229);
  50. MenuCommands.KeySelectNext = new CommandID (MenuCommands.guidVSStd2K, 4);
  51. MenuCommands.KeySelectPrevious = new CommandID (MenuCommands.guidVSStd2K, 5);
  52. MenuCommands.KeyTabOrderSelect = new CommandID (MenuCommands.wfCommandSet, 16405);
  53. }
  54. #endregion Static Constructor
  55. #region Public Static Fields
  56. public static readonly CommandID ComponentTrayMenu;
  57. public static readonly CommandID ContainerMenu;
  58. public static readonly CommandID DesignerProperties;
  59. public static readonly CommandID KeyCancel;
  60. public static readonly CommandID KeyDefaultAction;
  61. public static readonly CommandID KeyMoveDown;
  62. public static readonly CommandID KeyMoveLeft;
  63. public static readonly CommandID KeyMoveRight;
  64. public static readonly CommandID KeyMoveUp;
  65. public static readonly CommandID KeyNudgeDown;
  66. public static readonly CommandID KeyNudgeHeightDecrease;
  67. public static readonly CommandID KeyNudgeHeightIncrease;
  68. public static readonly CommandID KeyNudgeLeft;
  69. public static readonly CommandID KeyNudgeRight;
  70. public static readonly CommandID KeyNudgeUp;
  71. public static readonly CommandID KeyNudgeWidthDecrease;
  72. public static readonly CommandID KeyNudgeWidthIncrease;
  73. public static readonly CommandID KeyReverseCancel;
  74. public static readonly CommandID KeySelectNext;
  75. public static readonly CommandID KeySelectPrevious;
  76. public static readonly CommandID KeySizeHeightDecrease;
  77. public static readonly CommandID KeySizeHeightIncrease;
  78. public static readonly CommandID KeySizeWidthDecrease;
  79. public static readonly CommandID KeySizeWidthIncrease;
  80. public static readonly CommandID KeyTabOrderSelect;
  81. public static readonly CommandID SelectionMenu;
  82. public static readonly CommandID TraySelectionMenu;
  83. #endregion Public Static Fields
  84. #region Private Static Fields
  85. private static readonly Guid guidVSStd2K;
  86. private static readonly Guid wfCommandSet;
  87. private static readonly Guid wfMenuGroup;
  88. #endregion Private Static Fields
  89. }
  90. }