public void Show(PhoneApplicationPage sender) { stoped = false; p = sender; if (this.progress == null) { this.progress = new Phone.Controls.ProgressIndicator(); } // Initiaze background worker if (backgroundWorker == null) { backgroundWorker = new BackgroundWorker(); backgroundWorker.DoWork += new DoWorkEventHandler(backgroundWorker_DoWork); backgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(backgroundWorker_RunWorkerCompleted); backgroundWorker.ProgressChanged += new ProgressChangedEventHandler(backgroundWorker_ProgressChanged); } progress.ProgressType = ProgressTypes.WaitCursor; backgroundWorker.WorkerReportsProgress = false; progress.Show(); backgroundWorker.RunWorkerAsync(); }
private void showProgress() { this.progress = new ProgressIndicator(); progress.ProgressType = ProgressTypes.WaitCursor; progress.Show(); }
private void OnLoadDataStarted() { m_Progress.Show(); }