Is Form1 declared as ABSTRACT? .NET IDE instantiates the parent object when child is opened in a designer. ABSTRACT clause won't let it happen. Also, if you have any code into constuctor of the parent, it will fire.
>Hello,
>
>I have set up 2 Forms. Inheritance structure:
>Windows.System.Form
>...+Form1
>.......+Form2
>
>Wenn now opening Form2 with VS Form Designer I get an error Message that the baseclass Marcus.Test.Form1 can not be loaded. Has anyone got an idea how to get around this without compiling form1 into an own assembly ?
>
>Marcus
>
>Code snippets of Class definition
>
>namespace Marcus.Test
>{
> public class Form1 : System.Windows.Forms.Form
> {
>......
>
>namespace Marcus.Test
>{
> public class Form2 : Form1
> {
>
>
>
>
- Jayesh