Hi satabeach,
Refer below sample.
Code
C#
Form1.cs
private void Open(object sender, EventArgs e)
{
Form2 f2 = new Form2();
f2.Owner = this;
f2.Show();
this.Hide();
}
Form2.cs
private void Close(object sender, EventArgs e)
{
this.Owner.Close();
}
VB.Net
Form1.vb
Private Sub Open(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim f2 As Form2 = New Form2()
f2.Owner = Me
f2.Show()
Me.Hide()
End Sub
Form2.vb
Private Sub Close(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Me.Owner.Close()
End Sub
Screenshot