91 references to WorkflowMenuCommands
System.Workflow.ComponentModel (91)
AuthoringOM\Design\CommandSet.cs (65)
29
internal static CommandID[] NavigationToolCommandIds = new CommandID[] {
WorkflowMenuCommands
.ZoomIn,
WorkflowMenuCommands
.ZoomOut,
WorkflowMenuCommands
.Pan,
WorkflowMenuCommands
.DefaultFilter };
66
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnMenuSaveWorkflowAsImage),
WorkflowMenuCommands
.SaveAsImage),
67
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnMenuCopyToClipboard),
WorkflowMenuCommands
.CopyToClipboard),
70
new CommandSetItem(new EventHandler(OnStatusPrint), new EventHandler(OnMenuPrint),
WorkflowMenuCommands
.Print),
71
new CommandSetItem(new EventHandler(OnStatusPageSetup), new EventHandler(OnMenuPageSetup),
WorkflowMenuCommands
.PageSetup),
81
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnMenuDesignerProperties),
WorkflowMenuCommands
.DesignerProperties),
96
new CommandSetItem(new EventHandler(OnStatusExpandCollapse), new EventHandler(OnExpandCollapse),
WorkflowMenuCommands
.Expand),
97
new CommandSetItem(new EventHandler(OnStatusExpandCollapse), new EventHandler(OnExpandCollapse),
WorkflowMenuCommands
.Collapse),
98
new CommandSetItem(new EventHandler(OnStatusEnable), new EventHandler(OnEnable),
WorkflowMenuCommands
.Disable, true),
99
new CommandSetItem(new EventHandler(OnStatusEnable), new EventHandler(OnEnable),
WorkflowMenuCommands
.Enable, true),
100
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnCreateTheme),
WorkflowMenuCommands
.CreateTheme),
101
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnChangeTheme),
WorkflowMenuCommands
.ChangeTheme),
103
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnKeyPageDnUp),
WorkflowMenuCommands
.PageUp),
104
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnKeyPageDnUp),
WorkflowMenuCommands
.PageDown),
112
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom),
WorkflowMenuCommands
.Zoom400Mode, DR.GetString(DR.Zoom400Mode)),
113
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom),
WorkflowMenuCommands
.Zoom300Mode, DR.GetString(DR.Zoom300Mode)),
114
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom),
WorkflowMenuCommands
.Zoom200Mode, DR.GetString(DR.Zoom200Mode)),
115
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom),
WorkflowMenuCommands
.Zoom150Mode, DR.GetString(DR.Zoom150Mode)),
116
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom),
WorkflowMenuCommands
.Zoom100Mode, DR.GetString(DR.Zoom100Mode)),
117
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom),
WorkflowMenuCommands
.Zoom75Mode, DR.GetString(DR.Zoom75Mode)),
118
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom),
WorkflowMenuCommands
.Zoom50Mode, DR.GetString(DR.Zoom50Mode)),
119
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom),
WorkflowMenuCommands
.ShowAll, DR.GetString(DR.ZoomShowAll)),
125
new CommandSetItem(new EventHandler(OnStatusLayout), new EventHandler(OnPageLayout),
WorkflowMenuCommands
.DefaultPage),
126
new CommandSetItem(new EventHandler(OnStatusLayout), new EventHandler(OnPageLayout),
WorkflowMenuCommands
.PrintPreviewPage),
127
new CommandSetItem(new EventHandler(OnStatusLayout), new EventHandler(OnPageLayout),
WorkflowMenuCommands
.PrintPreview),
206
menuCommand.Checked = this.workflowView.PrintPreviewMode ? (menuCommand.CommandID ==
WorkflowMenuCommands
.PrintPreview || menuCommand.CommandID ==
WorkflowMenuCommands
.PrintPreviewPage) : menuCommand.CommandID ==
WorkflowMenuCommands
.DefaultPage;
224
return
WorkflowMenuCommands
.Pan;
229
return
WorkflowMenuCommands
.ZoomIn;
231
return
WorkflowMenuCommands
.ZoomOut;
235
return
WorkflowMenuCommands
.DefaultFilter;
242
if (commandId ==
WorkflowMenuCommands
.Zoom400Mode.ID) zoomLevel = 400;
243
else if (commandId ==
WorkflowMenuCommands
.Zoom300Mode.ID) zoomLevel = 300;
244
else if (commandId ==
WorkflowMenuCommands
.Zoom200Mode.ID) zoomLevel = 200;
245
else if (commandId ==
WorkflowMenuCommands
.Zoom150Mode.ID) zoomLevel = 150;
246
else if (commandId ==
WorkflowMenuCommands
.Zoom100Mode.ID) zoomLevel = 100;
247
else if (commandId ==
WorkflowMenuCommands
.Zoom75Mode.ID) zoomLevel = 75;
248
else if (commandId ==
WorkflowMenuCommands
.Zoom50Mode.ID) zoomLevel = 50;
256
if (zoomLevel == 400) commandID =
WorkflowMenuCommands
.Zoom400Mode.ID;
257
else if (zoomLevel == 300) commandID =
WorkflowMenuCommands
.Zoom300Mode.ID;
258
else if (zoomLevel == 200) commandID =
WorkflowMenuCommands
.Zoom200Mode.ID;
259
else if (zoomLevel == 150) commandID =
WorkflowMenuCommands
.Zoom150Mode.ID;
260
else if (zoomLevel == 100) commandID =
WorkflowMenuCommands
.Zoom100Mode.ID;
261
else if (zoomLevel == 75) commandID =
WorkflowMenuCommands
.Zoom75Mode.ID;
262
else if (zoomLevel == 50) commandID =
WorkflowMenuCommands
.Zoom50Mode.ID;
287
if (menuCommand.CommandID.ID ==
WorkflowMenuCommands
.ShowAll.ID)
308
this.workflowView.PrintPreviewMode = (menuCommand.CommandID ==
WorkflowMenuCommands
.PrintPreview) ? !this.workflowView.PrintPreviewMode : (menuCommand.CommandID ==
WorkflowMenuCommands
.PrintPreviewPage);
327
if (
WorkflowMenuCommands
.ZoomIn.ID == commandId)
329
else if (
WorkflowMenuCommands
.ZoomOut.ID == commandId)
331
else if (
WorkflowMenuCommands
.Pan.ID == commandId)
502
((menuCommand.CommandID ==
WorkflowMenuCommands
.Expand && !compositeDesigner.Expanded) ||
503
(menuCommand.CommandID ==
WorkflowMenuCommands
.Collapse && compositeDesigner.Expanded)))
543
menuCommand.Visible = menuCommand.Enabled = (enabled && ((menuCommand.CommandID ==
WorkflowMenuCommands
.Enable && !enabledPropertyValue) || (menuCommand.CommandID ==
WorkflowMenuCommands
.Disable && enabledPropertyValue)));
617
designer.Expanded = (menuCommand.CommandID.ID ==
WorkflowMenuCommands
.Expand.ID);
621
MenuCommand expandCommand = this.menuCommandService.FindCommand(
WorkflowMenuCommands
.Expand);
625
MenuCommand collapseCommand = this.menuCommandService.FindCommand(
WorkflowMenuCommands
.Collapse);
670
MenuCommand commentCommand = this.menuCommandService.FindCommand(
WorkflowMenuCommands
.Disable);
674
MenuCommand uncommentCommand = this.menuCommandService.FindCommand(
WorkflowMenuCommands
.Enable);
708
SendKeyDownCommand((menuCommand.CommandID ==
WorkflowMenuCommands
.PageUp) ? Keys.PageUp : Keys.PageDown);
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
1219
menuCommandService.GlobalInvoke((Expanded) ?
WorkflowMenuCommands
.Collapse :
WorkflowMenuCommands
.Expand);
AuthoringOM\Design\DesignerHelpers.cs (3)
1524
DesignerVerb actionVerb = new DesignerVerb(designerActions[i].Text, new EventHandler(new EventHandler(OnExecuteDesignerAction)), new CommandID(
WorkflowMenuCommands
.MenuGuid,
WorkflowMenuCommands
.VerbGroupDesignerActions + i));
1548
menuCommandService.ShowContextMenu(
WorkflowMenuCommands
.DesignerActionsMenu, location.X - 2, location.Y + 1);
AuthoringOM\Design\DesignerInterfaces.cs (8)
880
: base(text, new EventHandler(OnExecuteDesignerVerb), new CommandID(
WorkflowMenuCommands
.MenuGuid, 0))
922
return new CommandID(
WorkflowMenuCommands
.MenuGuid, this.id);
1073
return
WorkflowMenuCommands
.VerbGroupGeneral;
1075
return
WorkflowMenuCommands
.VerbGroupView;
1077
return
WorkflowMenuCommands
.VerbGroupEdit;
1079
return
WorkflowMenuCommands
.VerbGroupOptions;
1081
return
WorkflowMenuCommands
.VerbGroupActions;
1083
return
WorkflowMenuCommands
.VerbGroupMisc;
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (6)
52
menuCommandService.ShowContextMenu(
WorkflowMenuCommands
.ZoomMenu, menuPoint.X, menuPoint.Y);
121
CommandID[] affectedCommands = new CommandID[] {
WorkflowMenuCommands
.ZoomIn,
WorkflowMenuCommands
.ZoomOut,
WorkflowMenuCommands
.Pan,
WorkflowMenuCommands
.DefaultFilter };
126
menuCommand.Checked = (menuCommand.CommandID ==
WorkflowMenuCommands
.Pan);
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
342
menuCommandService.ShowContextMenu(
WorkflowMenuCommands
.SelectionMenu, screenMenuPoint.X, screenMenuPoint.Y);
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (3)
66
menuCommandService.ShowContextMenu(
WorkflowMenuCommands
.ZoomMenu, menuPoint.X, menuPoint.Y);
271
menuCommand.Checked = (menuCommand.CommandID == ((this.initialState == ZoomState.In) ?
WorkflowMenuCommands
.ZoomIn :
WorkflowMenuCommands
.ZoomOut));
AuthoringOM\Design\WorkflowView.cs (3)
1907
menuID =
WorkflowMenuCommands
.PageLayoutMenu;
1909
menuID =
WorkflowMenuCommands
.ZoomMenu;
1911
menuID =
WorkflowMenuCommands
.PanMenu;