G
Guest
Hi all,
Recently I created a simple testing problem which have two forms [one
is MainForm, one is MyForm]
inside MainForm there's a button.
Private Sub MenuItem6_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem6.Click
Dim a As MyForm = New MyForm
a.Show()
End Sub
on the MyForm there's other button to close it using Me.Dispose
but I found that Memory usaging is continue to grow up, when i call keep
calling there two button [show -> dispose , show -> dispose] in pairs.
anything I have done wrong which leak to memory leaks?
Thanks for your help.
Recently I created a simple testing problem which have two forms [one
is MainForm, one is MyForm]
inside MainForm there's a button.
Private Sub MenuItem6_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem6.Click
Dim a As MyForm = New MyForm
a.Show()
End Sub
on the MyForm there's other button to close it using Me.Dispose
but I found that Memory usaging is continue to grow up, when i call keep
calling there two button [show -> dispose , show -> dispose] in pairs.
anything I have done wrong which leak to memory leaks?
Thanks for your help.