public MainWindow() { InitializeComponent(); this.Commands = new ObservableCollection<Core.ICommand>(); this.ApplicationCommands = new ObservableCollection<Core.ICommand>(); commandManager = new Edit5.Commands(Ribbon); commandManager.BindCommands(Commands); commandManager.BindApplicationCommands(ApplicationCommands); Editors = new EditorProvider(Dock); }