Lost inherited controls???


B

Bob Olsson

Hello all,

I have a class library project from where i´m inheriting a "baseform" to a
winForm project. My problem is that all the controls that i´ve added to the
"baseform" can´t be seen in the visual designer or when run the solution.
All controls still exists in the codefile...

Thanx in advance...
/Bobby
 
Ad

Advertisements

F

Frank Uray

Just as an idea:
- How are the controls declared? It should not make
any difference, but try different declaration like:
Public WithEvents etc.
- What about the position of the controls?

Maybe that helps to find the problem.
Frank
 
Ad

Advertisements

B

Bob Olsson

Hello Frank,

Thank You for your answer!

My inherited controls are declared as protected.
They´re visible in both the designer and when i´m running the solution.

My problem is that the controls that i´ve added to the inherited form can´t
be seen anymore.
In my codefile (C#) all my controls have all the correct properties,
including position.

I solved my problem the hard way this time (manually remove the code from
the files and add the controls in the designer again...) since our iteration
ends tomorrow.
The problem still remains though.....

I´ve lost controls in one winForm earlierm, but now all controls in all
forms disappeared....

/Bobby


"Frank Uray" <[email protected]> skrev i meddelandet
Just as an idea:
- How are the controls declared? It should not make
any difference, but try different declaration like:
Public WithEvents etc.
- What about the position of the controls?

Maybe that helps to find the problem.
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top