hi there,
i have a device application, why whenever i perform me.close for any form, i can never show it back from others form
for example:
Private Sub btnClose_Clicl(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnClose.Click
me.close
End Sub
Private Sub btnShow_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnShow.Click
Form2.show()
End Sub
note that, btnClose is located at Form2, whereby btnShow is in Form1,
after click close in Form2, i can never call back Form2 with btnShow in
Form1
got any solution

me.close
kathy79
Yes, the form is gone once you Close() it. You could try Hide() instead of Close(). Or you could use modal dialog.
JoeKYTse
Please see this for description: http://www.webreference.com/js/tips/010814.html
You can show it with ShowDialog() instead of Show():
http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsformclassshowdialogtopic.asp
Zische