private void btnDetails_Click(object sender, EventArgs e) { EmployeeDetails employeeDetails = new EmployeeDetails(db); employeeDetails.Show(); }