예제 #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;
 }
예제 #2
0
 public void SetCategory()
 {
     this.Cat = Org.GetCategory();
     ChoisePrice();
 }
예제 #3
0
 public void SetOrganization(Organization org)
 {
     this.Org = org;
     this.Cat = Org.GetCategory();
 }