Creating a button to return to the previous form

SaDaf

New member
Joined
Mar 5, 2006
Messages
4
Programming Experience
Beginner
Is this possible? Would appreciate it if you reply asap.

Thanks in advance.
 
Threre are many ways to accomplish the same. One of many: make a public string variable then use if as flag. For instance, you open form1 and within load event you can pass the name of the form to the variable i.e. myLastForm = "Form1"
When you open 2nd form just add the back button and join these lines:
(*** dude i am a bit lazy for explanation ... please taka a look at the attached project below ***)

Regards ;)
 

Attachments

  • BackButton.zip
    82.9 KB · Views: 33
Back
Top