Maodo

Maodo

  • NA
  • 1
  • 0

Trouble with Form inheritance in C#

Feb 23 2007 6:23 PM
I have a class A, derived from class class Form. The constructor of A has a couple of parameters and class B, derived from A ; B's constructor has same parameters than A. When I try to view the form (View Design), Visual Studio 2005 shows a message error on a blank panel. A red highlighted message telling : "One or more errors encountered while loading designer. The errors are listed below ... ". And another one telling : "Constructor on type 'MyPackage.A' is not found." If I remove parameters (just from A), the problem disappears. Thanks in advance for any help.

Answers (1)