|
-
Dec 7th, 2006, 08:47 AM
#1
Thread Starter
Junior Member
open other form in th same?
how can do to open other form in the sam that i worked before, like in HTML "Self" not "Blank" like usully opens new forms in C#?
Some one knows the code?Please help!
-
Dec 7th, 2006, 04:40 PM
#2
Re: open other form in th same?
With Web pages you're displaying new content within the same window. The equivalent in C# would be to display new values in the controls of an existing form, or perhaps replace the existing controls with new one's. What you're asking for doesn't really make a lot of sense. Please explain why you want to do this. Are you trying to create a wizard or something like that?
-
Dec 8th, 2006, 08:11 AM
#3
Thread Starter
Junior Member
Re: open other form in th same?
So i'm trying to do an aplication, and i don't like when i call other form i like that form to open in the same not to heave duplicated form. I know that for exmp form1 to hide it but is not prefered, so do you heave idea for this problem, or it isn't clearly explaint?
-
Dec 8th, 2006, 06:14 PM
#4
Re: open other form in th same?
If you want everything in the one form then you have to use only one form. You can create all your functionality in UserControls and then add and remove instances of those to your single form if you want. If there are not too many groups then you could also just use multiple Panels on the one form, which you can change the Visible property of or change the z-order. It may also be appropriate to create an MDI parent form and then open multiple child forms within that.
Last edited by jmcilhinney; Dec 9th, 2006 at 07:52 PM.
Reason: Added a very important "not"
-
Dec 9th, 2006, 04:06 PM
#5
Thread Starter
Junior Member
Re: open other form in th same?
Thanks a lot, i'll try to do!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|