示例#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();
 }