Switching between Forms in Visual Basic VB.net

Being a VB programmer you will need to switch between the VB forms very often. As a beginner, you might not know how to do this, then let me list you some ideas,

me.close(): closes the current from.Closing default form closes the application
me.hide():Hides current form
Formname.Hide():Hides specified form
Formname.show():Shows Form
Me.visible=false:hides form
formname.visible=true/False ::::Shows or hides a form
Formname.opacity=0:::Hides Form
Formname.opacity=1:::Shows Form

So now use this codes and control on every event click, either on buttons or close buttons so that you can switch between the forms.

Information Sharing Copyright © 2011