private void frmVendorCreation_FormClosed(object sender, FormClosedEventArgs e) { this.Hide(); MainUI1 frm = new MainUI1(); frm.Show(); }
private void Form2_FormClosed(object sender, FormClosedEventArgs e) { this.Dispose(); MainUI1 frm2 = new MainUI1(); frm2.Show(); }