Sign in to follow this  
technorabble

C# and Visual Studio - want to create a new tab at runtime

Recommended Posts

Hi I am using VS2008 and C# and wirting for win32. My little home project program has until now run in 1 form, with a big "calcuate" button at the top. now that I have everything working (it actually calculates something - win!), I need to display the results of my calculation. I want to do this by creating a new tab, switching to it and populating it with info now held in a class which was instantiated and populated during the "calculate" step, plus some other UI elements. I would like to keep the old form available as a tab because I may want to go back and look at the parameteres I shose, or if I'm really lucky have my "calculate" button now become a "reset" button which returns the program to it's first-run state (that later though). Can anyone point me in the directin of a resource which could help me along with my tab creation, or maybe even post some basic example code if you're feeling festive? Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this