You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
583 B
26 lines
583 B
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<int> progress)
|
|
{
|
|
try
|
|
{
|
|
for (int i = 10; i <= 100; i+=10)
|
|
{
|
|
Thread.Sleep(100);
|
|
if (progress != null)
|
|
progress.Report(i);
|
|
}
|
|
}
|
|
catch { }
|
|
}
|
|
}
|
|
}
|
|
|