I am trying to add a TrackBar in my ToolStrip. I have found this code somewhere on the net but I am not sure how to use it as it should be compiled maybe?
Code
/// <summary>
/// Adds trackbar to toolstrip stuff
/// </summary>
[
ToolStripItemDesignerAvailability
(ToolStripItemDesignerAvailability.ToolStrip | ToolStripItemDesignerAvailability.StatusStrip)
]
public class ToolStripTraceBarItem : ToolStripControlHost
{
public ToolStripTraceBarItem(): base(new TrackBar())
{
}
}
Any tips will be appriciated!