コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: conradz/Edit5
        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);
        }