Thx for the reply,
I simply use form1.show and form1.close ( I'm a new user)
The situation is:
Form1: IsMdiContainer = True,
and using a mainmenu for the user to choose which form they want to display.
one method i think of is to check the item chosen in the mainmenu,
but I don't know how to set it not check after check, the code is
Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem2.Click
If MenuItem2.Checked = False Then
MDI1Show() 'function to show form1
MenuItem2.Checked = True
End If
If MenuItem2.Checked = True Then
MenuItem2.Checked = False
End If
End Sub
"Cor" <no*@non.com> ¦b¶l¥ó news:O3****************@TK2MSFTNGP11.phx.gbl ¤¤¼¶
¼g...
Hi Gene,
How do you load your form, are you closing it, are you disposing it?
So send some code how you "load it" there are a lot of possibilities.
Cor
"> As my purpose is to load one form at a time, so I want to unload another form before loading the form.
But how to check which form is being load, so I can unload it first.