|
-
Jul 24th, 2007, 01:39 PM
#1
Thread Starter
Frenzied Member
[2005] Loading specific content on 2nd form from a particular button click on form1
I know this is a rather simplistic question but I suddenly realised that I didn't know if there was a correct way of doing this:
On one form i have 5 buttons. Clicking on any of them opens a second form. Depending on which button is clicked however different content will be shown on the 2nd form (there are 5 different tablelayout panels, one of which will be made visible and docked and I hide the other 4).
Is there a correct way of doing this?? I was just going to record some string value on button click and on form load of the 2nd Form do a select case statement for the variable value but wondered if there's a better way?
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
|