-
December 11th, 2009, 03:05 PM
#1
New to Windows Form Need Help
Hello, I am failry new to c# and can make console applications without a porblem and now i am trying to make a simple windows form application. I can make a form without a problem and even have it do some simple calculations based on input, but only get a message box to show. I would like to know how do you change what is displayed in a form without opening a second form. For example have like 3 fields and a next button that clears the form and displays the new fields to show. I could only have it open a new form but that is not ideal. Another example if that was not clear would be like having a window that has for buttons for four diffent things that when clicked remain in the same form/window without opening another. i tried google and cant find anything but hello world examples any help or hint in the right direction would be great. Thanks
-
December 12th, 2009, 02:14 AM
#2
Re: New to Windows Form Need Help
Why not use a groupbox or a tab control ¿
-
December 12th, 2009, 09:58 AM
#3
Re: New to Windows Form Need Help
I would use Pannels make 4 pannels for example.. and when you click a button just hide all panels and unhide the one you want to show
-
December 12th, 2009, 10:30 AM
#4
Re: New to Windows Form Need Help
Thanks guys, I think i'm going to experiment with panels some, although i can definitely see a use for tabs down the road. Thanks for the help, im new to desktop development from web development and just couldnt find the control to use.
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
|