private void btnListOfEmployees_Click(object sender, EventArgs e) { Hide(); var employeesForm = new EmployeesForm(); employeesForm.ShowDialog(); Close(); }
private void employeesButton_Click(object sender, EventArgs e) { EmployeesForm employeesForm = new EmployeesForm(_objectModel.Employees, _objectModel.Mans); employeesForm.ShowDialog(); }