Orlando15767
asked on
creating a procedure to do multiple things
I'm new to VB.NET and am creating an MDI application.
What I would like to do is create a procedure to accomplish a few simple tasks
the tasks that I want to complete by calling a procedure is:
[form name]= New [form name]
[form name].MdiParent = Me
[form name].Show()
I want to do this because it seems pointless to write the 3 lines of code every time I want to create a new child form
thanks for the help
What I would like to do is create a procedure to accomplish a few simple tasks
the tasks that I want to complete by calling a procedure is:
[form name]= New [form name]
[form name].MdiParent = Me
[form name].Show()
I want to do this because it seems pointless to write the 3 lines of code every time I want to create a new child form
thanks for the help
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
thanks for the help