using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace BiskLog_Point_Of_Sale.Classes { class Progression { public static void DoSomething(IProgress progress) { try { for (int i = 10; i <= 100; i+=10) { Thread.Sleep(100); if (progress != null) progress.Report(i); } } catch { } } } }