Changes
===Goal===
The goal is to extend the existing user control list with the injected user control.<br>
Every time you drag an instance to a new window, the mentioned list with the new control will show pops up.
[[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 ===
1. Paste your UserControl in the plugin solutionCreate or reuse a .Net library (DLL) project - it doesn't have to be a {{UBIK}} Module.<br>2. Make your Add the designated control as a class deriving from System.Windows.Forms.UserControl implements to the project.<br>3.Implement the interface IUBIKEnvironmentControl and for the control.<br>4. For automatic injection, add the export"Export" Attribute with the "IUBIKControl" type parameter to the designated control.<br>
<syntaxhighlight lang="csharp">
[Export(typeof(IUBIKControl))]
public partial class TestUserControl: UserControl, IUBIKEnvironmentControl
</syntaxhighlight>
<syntaxhighlight lang="csharp">
public TestUserControl()
}
</syntaxhighlight>
= Window =
