Example #1
0
 public matchNannies(BE.Mother mom, int distance)
 {
     InitializeComponent();
     bl      = BL.FactoryBL.getBL();
     temp    = new List <BE.Nanny>();
     momTemp = mom;
     temp    = bl.getMatchNanniesList(mom);
     Nanny   = bl.closeDistanceNannies(mom, distance, temp);
     motherDataGrid.DataContext = null;
     motherDataGrid.DataContext = Nanny;
 }