• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

Hide and Reappear form

When I open another form up, from a form like below, how can I make the first form hide, but not disappear  And then when the form open is closed, make the first form reappear?

            Dim frmWebKit_Main As New frmWebKit_Main
            frmWebKit_Main.ShowDialog()
            frmWebKit_Main.Dispose()
0
chrisryhal
Asked:
chrisryhal
1 Solution
 
gangwischCommented:
frmWebKit.WindowState=FormWindowState.Minimized
0
 
ericwong27Commented:
Public Class Form2

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        ' Make the first form hide
        Me.Visible = False

        ' Open another form up
        Dim frm As New Form3
        frm.ShowDialog()

        ' Make the first form reappear
        Me.Visible = True

    End Sub

End Class
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now