Exemple #1
0
        private void td_progress(object sender, EventArgs e)
        {
            TaskDialog dlg = new TaskDialog("This dialog displays a progress bar", "Marquee Progress Bar", "The progress bar below is in 'marquee' mode, that is it will not show the exact percentage of the work done, but it will show that some work is being done.", TaskDialogButton.Close);

            dlg.SetMarqueeProgressBar(true, 30);

            dlg.Show(this);
        }
Exemple #2
0
 public void ReportProgress(int ProgressPercentage, string StatusMessage)
 {
     dlg.Content             = StatusMessage;
     dlg.ProgressBarPosition = ProgressPercentage;
     dlg.SetMarqueeProgressBar(ProgressPercentage == 0);
 }