Add resources to a control subclass


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I'm sub classing a toolstrip and want to preadd some buttons (just like you do on you RichTextboxToolStrip control). I can add the designer file, with the code that adds the toolstripbuttons/combos/etc. but can't figure out how to add the resource file with the images for the buttons. If I add a resource file, I have to add a dependency manually to the main file. If I add resources to it via the property sheet, it gives me a warning about corrupting the form/control.



So, how do I add a resource to the control?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search