public EditCommand(UndoCommand undoCommand, RedoCommand redoCommand, CutCommand cutCommand, CopyCommand copyCommand, PasteCommand pasteCommand, SelectAllCommand selectAllCommand, ExponentCommand exponentCommand) : base(MenuStrings.editToolStripMenuItem1_Text) { ChildrenCommands = new List <IToolbarCommand> { undoCommand, redoCommand, null, cutCommand, copyCommand, pasteCommand, null, selectAllCommand, null, exponentCommand }; }
public ToolBarView(NewCommand newCommand, OpenCommand openCommand, SaveCommand saveCommand, PrintCommand printCommand, CutCommand cutCommand, CopyCommand copyCommand, PasteCommand pasteCommand, HelpCommand helpCommand, ExponentCommand exponentCommand, RunCommand runCommand) : this() { SetCommands(newCommand, openCommand, saveCommand, null, printCommand, cutCommand, copyCommand, pasteCommand, null, helpCommand, null, exponentCommand, null, runCommand); }