How bonus630/dockertemplatex7 works
DockerTemplateX7 is a collection of Visual Studio templates for building CorelDRAW add-ins, rather than a single add-in. The documented authoring workflow is to choose a template suited to the add-in—toolbar control, menu item, custom tool, or docker—and use it to create a project for CorelDRAW. The tree also includes project-helper and wizard code, but the excerpts do not establish how those pieces connect to template creation. Theme-controller behavior is visible in sampled source; other template internals are represented only where the README or tree supports them.
Main entry points: MenuItemTemplateCS/ControlUI.xaml.cs Menu item · StylesController.cs WPF resources · ButtonTemplateCS/ControlUI.xaml.cs Toolbar control · DrawTool.cs Custom tool
Components 16
Add-in templates
- Toolbar control
ButtonTemplateCS/ControlUI.xaml.cs - Menu item
MenuItemTemplateCS/ControlUI.xaml.cs - Custom tool
CustomToolTemplateCS/DrawTool.cs - Docker add-in
DockerTemplateCS/DockerUI.xaml.cs - Command bar
CommandBarStaticTemplate/ControlUI.xaml.cs - JavaScript docker
DockerTemplateJS/js/basic.js - Macro library
MacroClassLibraryCS/Main.cs - Menu data sources
MenuItemTemplateCS/DataSource/DataSourceFactory.cs
UI and styling
- Control theme
SharedFiles/Control/StylesController.cs - Docker theme
SharedFiles/Docker/StylesController.cs - WPF resources
DockerTemplateCS/StylesController.cs
Project configuration
- Template wizard
Wizard001/Wizard.cs - Project helper
ProjectHelper/Helper.cs
Other components
- Add-in developer
- CorelDRAW
- CorelDRAW add-in
Connections 17
- Add-in developer → Toolbar control: chooses template
- Add-in developer → Menu item: chooses template
- Add-in developer → Custom tool: chooses template
- Add-in developer → Docker add-in: chooses template
- Toolbar control → CorelDRAW add-in: creates project
- Menu item → CorelDRAW add-in: creates project
- Custom tool → CorelDRAW add-in: creates project
- Docker add-in → CorelDRAW add-in: creates project
- CorelDRAW add-in → CorelDRAW: runs in
- Menu item → Menu data sources: uses data sources
- CorelDRAW → Control theme: notifies theme changes
- CorelDRAW → Docker theme: notifies theme changes
- CorelDRAW → WPF resources: provides theme preference
- Control theme → WPF resources: updates resource keys
- Docker theme → WPF resources: updates resource keys
- Add-in developer → Template wizard: configures project
- Template wizard → Project helper: uses helper