Advertisement

06.02.2008 at 03:00AM PDT, ID: 23449323
[x]
Attachment Details

Inheriting a form in C#, causing the designer page to be broken.

Asked by isuhendro in C# Programming Language

Dear experts,

I am inheriting a form in C# using Visual Studio 2008.

The base form constructor is like below
        public frmParent(BuyingController buyingController)

The inheriting form is like below
        public frmChild(BuyingController buyingController) : base(buyingController)


And the program is running well. But the (UI) designer at frmChild is complaining below error
"Constructor on type frmParent not found'

What's wrong here?

Thanks & regards.Start Free Trial
[+][-]06.02.2008 at 04:15AM PDT, ID: 21690982

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C# Programming Language
Sign Up Now!
Solution Provided By: andrewjb
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.02.2008 at 05:09AM PDT, ID: 21691230

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628