private void btnListOfDepartments_Click(object sender, EventArgs e) { Hide(); var departmentForm = new DepartmentsForm(); departmentForm.ShowDialog(); Close(); }
private void btnDeptManage_Click(object sender, EventArgs e) { DepartmentsForm form = new DepartmentsForm(); form.ShowDialog(); }