示例#1
0
        public ProfileViewModel()
        {
            this.storageService = SimpleIoc.Default.GetInstance<IIsolatedStorageManager>();
            this.singleton = Singleton.Instance;

            this.SetUserInfo();
        }
示例#2
0
        public HistoryLoader()
        {
            this.singleton = Singleton.Instance;

            worker = new BackgroundWorker();
            worker.DoWork += worker_DoWork;
            worker.WorkerReportsProgress = true;
            worker.WorkerSupportsCancellation = false;
            worker.RunWorkerCompleted += worker_RunWorkerCompleted;
            worker.ProgressChanged += worker_ProgressChanged;
        }