public treatment(patient p, DateTime date, string hour) { this.P = p; this.Date = date; this.Hour = hour; }
public void addtreat(patient p, DateTime d, string hour) { treatment t = new treatment(p, d, hour); Treatments.Insert(t); }