form inheritance

W

Wayne

I have two forms, frmBase and frmInherited. frmInherited inherits from
frmBase. On frmBase I have 8 controls, these 8 controls show up on
frmInherited but not always in the same position as they are on frmBase. I
have the following questions:

1) how do I fix this?
2) how do I prevent the forms on frmInherited from being moved, but yet
still allow for one of them to have it's caption changed and events assigned
to it?

--
Thanks
Wayne Sepega
Jacksonville, Fl

Enterprise Library Configuration Console Module Generator
http://workspaces.gotdotnet.com/elccmg

"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein
 
G

Guest

I had a little trouble with form inheritance in VS2003, it is similar to your
problem, I created a base form, then inherited from it, but some components
disapeared or were in other positions. It happened because I compiled the
applications with both forms opened. I read somewhere, I do not remeber
where, that it was a VS bug, and if you close the forms before compiling it
was OK.

It really worked, when I close the forms before compiling there is no problem.

I hope it can help somehow.
 

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

Similar Threads


Top