private void buttonReturnClick(object sender, EventArgs e) { FormEmployReturn frm = new FormEmployReturn(mainform, id); frm.Owner = this; frm.Show(); this.Visible = false; }
private void labelReturnClick(object sender, EventArgs e) { this.Visible = false; FormEmployReturn frm = new FormEmployReturn(mainform, id); frm.Owner = this; frm.Show(); frm.Activate(); }