i am told to develop one windows application for which i should use same form to display everything instead of navigating to a new form. is it possible guys? pls help me.
same form instead of using so many forms is possible?
Collapse
X
-
Hi,
You can use Tab Control if you want to include multiple forms in one form. Please read This article about how to use tab control in your apllication. The article is in C#.
Originally posted by akbbhatti am told to develop one windows application for which i should use same form to display everything instead of navigating to a new form. is it possible guys? pls help me. -
Plan B could in theory...
Have a set of methods to clear the contents of the form and manually position controls as wanted, depending on some criteria, like which menu choice a user selected.
Its not the way one would do it in th real world, but the wording of your question suggests this is a homework assignment geared toward teaching you a something specific about the creation of controls.Comment
-
another way is to have a groupbox, or panel, anything, and when u click a button or want to change it, i know they have a .visible property, and set all the other panels or groupbox to false with the other controls, and the only panel you want, then set it true. i think they have a .bringtofront() function too, but not positive, and this of course brings it to the top-most layer.Originally posted by akbbhatti am told to develop one windows application for which i should use same form to display everything instead of navigating to a new form. is it possible guys? pls help me.
joedeeneComment
Comment