P
Pat
VB.Net how do you give control of say Form2 from Form1
BUT make form2 stick around when form1 is .Dispose(d) of?
in VB6 it was easy... From Form1 I would.
--------------------------------------
Form2.show
Me.Unload
in VB.Net if I do this.. Form2 (the child in Class's Form1) is destroyed
--------------------------------------
Public Class Form1
Dim F2 as new Form2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
F2.show
Me.Close()
End Sub
End Sub
-Pat
BUT make form2 stick around when form1 is .Dispose(d) of?
in VB6 it was easy... From Form1 I would.
--------------------------------------
Form2.show
Me.Unload
in VB.Net if I do this.. Form2 (the child in Class's Form1) is destroyed
--------------------------------------
Public Class Form1
Dim F2 as new Form2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
F2.show
Me.Close()
End Sub
End Sub
-Pat