molemoore Posted November 5, 2003 Posted November 5, 2003 i'm new to vb.net and i'm trying to figure out how to use forms. I have one form named Form1 and a second form name Form2 on each form there is a button named Button1 on Form1 and Button2 on Form2. I would like some help with loading the forms(from a Sub Main) and then showing Form1. I would then like to be able to click on Button1 and show Form2 and then click on Button2 to show Form1. I've been struggling with figuring out how to use forms in this manner for a few days. I would appreciate any and all help you can provide. Also, if you have any helpful hints/tips for someone who is just starting to get into the .net world I would appreciate those to. mole Quote
*Experts* Volte Posted November 5, 2003 *Experts* Posted November 5, 2003 http://www.syncfusion.com/FAQ/WinForms/default.asp Clicky clicky. Quote
molemoore Posted November 5, 2003 Author Posted November 5, 2003 (edited) Ahh!!! i hate that site. I cant find what i'm needing which is simply some example code for loading then showing and hiding forms. Doing that with one form is easy but i'm finding showing a different form is a little bit more complicated. I appreciate the help. We'll figure out what I need to know eventually. Mole Edited November 6, 2003 by molemoore Quote
pendragon Posted November 5, 2003 Posted November 5, 2003 To show a form Dim YourForm as New Form2 YourForm.Show To Hide Me.Hide Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.