예제 #1
0
        private void LoadNannyListOnWindow()
        {
            NannysList = bl.getNannysList();

            //option 1. Problem : PL has directly access to DataSource
            // NannysList.Add(new Nanny("10", 30));

            lvNanny.DataContext = NannysList;
            //
            // lvNanny.DataContext = bl.getNannysList();
        }