Difference between revisions of "HowTo:Inject UI into UBIK Studio"
| Line 6: | Line 6: | ||
===Goal=== | ===Goal=== | ||
The goal is to extend the existing user control list with the injected user control.<br> | The goal is to extend the existing user control list with the injected user control.<br> | ||
| − | The mentioned list pops up every time you drag an instance to a new | + | The mentioned list pops up every time you drag an instance to a new tab header. |
[[File:InjectedUserControl.png|thumb|left|735px|Extended user control list]] <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | [[File:InjectedUserControl.png|thumb|left|735px|Extended user control list]] <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | ||
=== Implementation === | === Implementation === | ||
| − | 1. Create or reuse a . | + | 1. Create or reuse a vs .NET library (DLL) project - it doesn't have to be a {{UBIK}} Module.<br> |
2. Add the designated control as a class deriving from System.Windows.Forms.UserControl to the project.<br> | 2. Add the designated control as a class deriving from System.Windows.Forms.UserControl to the project.<br> | ||
3. Implement the interface IUBIKEnvironmentControl for the control.<br> | 3. Implement the interface IUBIKEnvironmentControl for the control.<br> | ||
| Line 39: | Line 39: | ||
=== Implementation === | === Implementation === | ||
| − | 1. Create or reuse a . | + | 1. Create or reuse a vs .NET library (DLL) project - it doesn't have to be a {{UBIK}} Module.<br> |
2. Add the designated window as a class deriving from System.Windows.Window to the project.<br> | 2. Add the designated window as a class deriving from System.Windows.Window to the project.<br> | ||
3. Create a new class.<br> | 3. Create a new class.<br> | ||
Revision as of 11:38, 17 June 2026
Since version 5.2 it is possible to inject UI into UBIK® Studio.
The injected UI can be displayed inside a User Control and or Window.
This article will help you to inject your UI!



