Exemple #1
0
 public Form1()
 {
     InitializeComponent();
     diet      = new Diet();
     condition = new Conditioning();
     lift      = new Lifting();
     wf        = new WorkoutFacade(diet, condition, lift);
 }
 public WorkoutFacade(Diet diet1, Conditioning condition1, Lifting lift1)     //Constructor for the facade
 {
     diet      = diet1;
     condition = condition1;
     lift      = lift1;
 }