Esempio n. 1
0
 public override void OnNavigatedTo(NavigationContext navigationContext)
 {
     ServiceZipList.Clear();
     StoresList.Clear();
     MonthExpList.Clear();
     MonthServExpList.Clear();
     ServiceAccountsList.Clear();
     IsServiceBusy = true;
     _worker.RunWorkerAsync();
 }
Esempio n. 2
0
        private void LoadServiceZip_Completed(object sender, RunWorkerCompletedEventArgs e)
        {
            IsServiceBusy = false;
            foreach (var exp in GetMonthExpList())
            {
                MonthExpList.Add(exp);
            }
            var list = GetServiceExp();

            foreach (var ser in list)
            {
                if (ser.MonthYear >= new DateTime(2015, 1, 1))
                {
                    MonthServExpList.Add(ser);
                }
            }
        }