Пример #1
0
 /// <inheritdoc/>
 protected override void OnShutdown()
 {
     RemoveToolBars();
     RemoveMenus();
     RemoveCommands();
     RemoveDataTemplates();
     _colorViewModel = null;
 }
Пример #2
0
 /// <inheritdoc/>
 protected override void OnStartup()
 {
     _colorViewModel = new ColorViewModel(Editor);
     AddDataTemplates();
     AddCommands();
     AddMenus();
     AddToolBars();
 }