I've created a custom control, based on the Picturebox:
public class Timebar : System.Windows.Forms.PictureBox
This works correctly if I create the control manually/set all values etc. etc, at the Form's initialization method.
Now I also found this, at the top of the Toolbox: https://i.sstatic.net/QXrrB.png
When I try to insert it via msvc, I get an error however.
Failed to create component 'Timebar'. The error message follows:
'System.MissingMethodException: Constructor on type 'SC.Timebar' not found.
This isn't exactly a huge problem with my component Timebar (as I will add that component manually), but it is with the custom Button class I want to make (something more fancy then the default).
There IS a constructor in the class:
public Timebar(Data refr)
{
this._refr = refr;
}
How can I fix the above error?
Thanks,
~ Tgys