In vb.net application , I open the form2 from form1 by btn event with following code.
But if the user minimise it and again open it from the button event, there are 2 forms in the taskbar...
I want the same form2 is opened everytime without multiplication of forms in taskbar.
How can i do that?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnadd.Click
Dim frm2 As New Form2
frm2.Show()
End Sub