Exemple #1
0
 public Transaction(Organization org, TypeResearch typ, Diagnosis dia, string description, DateTime recordDate)
 {
     this.Id  = 10 * countId++;
     this.Org = org;
     this.Cat = Org.GetCategory();
     this.Typ = typ;
     this.Dia = dia;
     ChoisePrice();
     this.Description = description;
     this.RecordDate  = recordDate;
 }
Exemple #2
0
 public void SetCategory()
 {
     this.Cat = Org.GetCategory();
     ChoisePrice();
 }
Exemple #3
0
 public void SetOrganization(Organization org)
 {
     this.Org = org;
     this.Cat = Org.GetCategory();
 }