/// <summary> /// Initializes a new instance of the <see cref="PatientController"/> class /// </summary> /// <param name="manageEmployee">manage Employee</param> public PatientController(ManagePatient managePatient) { this._managePatient = managePatient; }
private void btnManagePatient_Click(object sender, EventArgs e) { ManagePatient pat = new ManagePatient(con.GetAllPerson().Where(X => X.Type == "Patient").ToList()); pat.ShowDialog(); }