|
Trouble inherting form in C# -- Timmer --
I have created a form called frmDialogBase with several "common controls" on it. It is a part of my project and it builds and displays just fine. I now want to create a specialized color configure form that inherits from the frmDialogBase, I follow the steps in the .NET walkthrough and everything compiles just fine. When I look at the code for my new form, there IS a default constructor that just calls InitializeComponent() and there are NO trapped events in either form at this time. ( if found a post on MSDN warning about the default constructor ) My class is declared: public partial class frmPickColors : frmDialogBase {...} It compiles fine. When I try to invoke the designer on my frmPickColors, I get a nastygramme - Object referenct not set to an instance of an object at System.Reflection.Assembly.nload(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) I am using VS 2.0.50727 on Win XP Pro with all patches applied. Anyone have any ideas????? this should be a simple thing to do. Thanks! |