Example #1
0
 async void ProgressButtonClicked(object sender, EventArgs e)
 {
     for (int i = 1; i < 5; i++)
     {
         await AppProgress.ProgressTo(i * .25, 1000, Easing.Linear);
     }
 }
Example #2
0
 public DepthFile(string filePath, string fileName, FileFormat fileFormat)
 {
     FileLoadProgress            = new AppProgress();
     FilePath                    = filePath;
     TopHorizon                  = new Horizon(16, 26);
     FileLoadProgress.ProgressOf = fileName;
     FileLoadProgress.Max        = 16 * 26;
     Format = fileFormat;
 }
 public ProgressViewModel(IUnityContainer unityContainer, AppProgress statusOf) : base(unityContainer)
 {
     StatusOf = statusOf;
 }