So I've created my own class SmartForm, derived from Form...
It contains methods for things like remembering position, fading in or out, logging and so on. If I open the original SmartForm Visual Studio knows to open it in the right Forms Designer and I can add controls at design time.
But, if I create a new form, and change it so it is derived from SmartForm...
Does anyone know how I can tell Visual Studio that a SmartForm is to be openned with the Forms Designer?
-Clint
public partial class SmartForm : Form
It contains methods for things like remembering position, fading in or out, logging and so on. If I open the original SmartForm Visual Studio knows to open it in the right Forms Designer and I can add controls at design time.
But, if I create a new form, and change it so it is derived from SmartForm...
public partial class PicFrame : SmartForm
Then Visual Studio doesn't know what to do with it. I can work around this by manually changing the :SmartForm to :Form for doing design work, then back again, but that's a pain after a while.Does anyone know how I can tell Visual Studio that a SmartForm is to be openned with the Forms Designer?
-Clint
Comment