mardi 24 février 2015

How to change already made control in VS Designer to inherit from another class

So the situation is this,


I have a toolstrip that I've created using the VS IDE (VS2013 Standard). I've already done a lot of work to it, eg adding buttons, hooking events etc.


Can I now change this control to inherit from a custom toolstrip class without having to create a custom control and re-do all the work?


I've tried changing the Designer.cs to use the parent class but when I go back to the Form Designer the changes are reversed.


Aucun commentaire:

Enregistrer un commentaire