예제 #1
0
        public void OnPatientEvent(PatientEventTypes e)
        {
            PatientEventArgs ea = new PatientEventArgs(this, e);

            ListPatientEvents.Add(ea);
            PatientEvent?.Invoke(this, ea);
        }
예제 #2
0
 public PatientEventArgs(Patient p, PatientEventTypes e)
 {
     EventType = e;
     Occurred  = DateTime.Now;
 }