private void pb_Employee_Click(object sender, EventArgs e) { Form_Employee newform = new Form_Employee(newemployee); Hide(); newform.ShowDialog(); Close(); }
private void btn_Employee_Click(object sender, EventArgs e) { MovePanel(sender as Button); Form_Employee newform = new Form_Employee(newemployee); OpenForm(newform); }