public void OnPatientEvent(PatientEventTypes e) { PatientEventArgs ea = new PatientEventArgs(this, e); ListPatientEvents.Add(ea); PatientEvent?.Invoke(this, ea); }
public PatientEventArgs(Patient p, PatientEventTypes e) { EventType = e; Occurred = DateTime.Now; }