Lost inherited controls???

  • Thread starter Thread starter Bob Olsson
  • Start date Start date
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
 
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
 
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
 
Back
Top