Beispiel #1
0
 CommandLoader(IWpfCommandService wpfCommandService, IDocumentTabService documentTabService, DeleteFieldDefCommand.EditMenuCommand removeCmd, DeleteFieldDefCommand.CodeCommand removeCmd2, FieldDefSettingsCommand.EditMenuCommand settingsCmd, FieldDefSettingsCommand.CodeCommand settingsCmd2)
 {
     wpfCommandService.AddRemoveCommand(removeCmd);
     wpfCommandService.AddRemoveCommand(removeCmd2, documentTabService);
     wpfCommandService.AddSettingsCommand(documentTabService, settingsCmd, settingsCmd2);
 }
Beispiel #2
0
 CommandLoader(IWpfCommandManager wpfCommandManager, IFileTabManager fileTabManager, DeleteFieldDefCommand.EditMenuCommand removeCmd, DeleteFieldDefCommand.CodeCommand removeCmd2, FieldDefSettingsCommand.EditMenuCommand settingsCmd, FieldDefSettingsCommand.CodeCommand settingsCmd2)
 {
     wpfCommandManager.AddRemoveCommand(removeCmd);
     wpfCommandManager.AddRemoveCommand(removeCmd2, fileTabManager);
     wpfCommandManager.AddSettingsCommand(fileTabManager, settingsCmd, settingsCmd2);
 }