CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2009
    Posts
    6

    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

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: New to Windows Form Need Help

    Why not use a groupbox or a tab control ¿

  3. #3
    Join Date
    Sep 2006
    Posts
    31

    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

  4. #4
    Join Date
    Nov 2009
    Posts
    6

    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
  •  





Click Here to Expand Forum to Full Width

Featured