In this Code you can create single instance of the Form By name of it. For Example, your application have Three Form main form and Form2 and Form3. you can Create Single instance Form and open It by calling the Function OpenForm("Form2"). I added some comment in code:

Image1.jpg