1 instantiation of ActionButton
System.Workflow.ComponentModel (1)
AuthoringOM\Design\WorkflowView.cs (1)
1850ActionButton fitallButton = new ActionButton(new Image[] { DR.GetImage(DR.FitToScreen) as Bitmap });
32 references to ActionButton
System.Workflow.ComponentModel (32)
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (27)
132if (buttonBounds.Contains(clientPoint) && action.Buttons[j].State == ActionButton.States.Disabled) 139ActionButton actionButton = action.Buttons[j]; 140if (actionButton.State != ActionButton.States.Disabled) 145actionButton.State = ActionButton.States.Pressed; 151actionButton.State = ActionButton.States.Normal; 182ActionButton actionButton = action.Buttons[j]; 192if (actionButton.State != ActionButton.States.Disabled && 193actionButton.State != ActionButton.States.Pressed) 196actionButton.State = ActionButton.States.Highlight; 198actionButton.State = ActionButton.States.Normal; 205if (actionButton.State == ActionButton.States.Highlight) 206actionButton.State = ActionButton.States.Normal; 258ActionButton actionButton = action.Buttons[j]; 260if (actionButton.State != ActionButton.States.Disabled) 265actionButton.State = ActionButton.States.Highlight; 266else if (actionButton.State == ActionButton.States.Highlight) 267actionButton.State = ActionButton.States.Normal; 386this.actions[this.draggedActionIndex].Buttons[this.draggedButtonIndex].State = ActionButton.States.Highlight; 414private ItemList<ActionButton> buttons = null; 428this.buttons = new ItemList<ActionButton>(this); 444foreach (ActionButton button in this.buttons) 451internal IList<ActionButton> Buttons 540ActionButton button = this.buttons[i]; 544if (button.State == ActionButton.States.Normal || button.State == ActionButton.States.Disabled) 547ActivityDesignerPaint.DrawImage(graphics, buttonImage, buttonBounds, new Rectangle(Point.Empty, buttonImage.Size), DesignerContentAlignment.Fill, transparency, (button.State == ActionButton.States.Disabled)); 551ButtonState state = (button.State == ActionButton.States.Highlight) ? ButtonState.Normal : ButtonState.Pushed;
AuthoringOM\Design\WorkflowView.cs (5)
1850ActionButton fitallButton = new ActionButton(new Image[] { DR.GetImage(DR.FitToScreen) as Bitmap }); 1881this.fitAllAction.Buttons[0].State = ActionButton.States.Normal; 1887ActionButton fitallButton = sender as ActionButton; 1888if (fitallButton == null || fitallButton.State != ActionButton.States.Pressed)