Ejemplo n.º 1
0
 public void reset()
 {
     PoB1.Invoke(new MethodInvoker(
                     delegate()
     {
         PoB1.Value   = 0;
         PoB1.Maximum = PB1.Width;
     }));
 }
Ejemplo n.º 2
0
 ////////////////////////   2020.12.15 - Progress bar aktualis érték frissitése D szálon
 public void frissites()
 {
     do
     {
         PoB1.Invoke(new MethodInvoker(
                         delegate()
         {
             PoB1.Value = NiblackAlgorithm.GetBar();
         }));
         Thread.Sleep(10);
     } while (PoB1.Value < PB1.Width - 1);
 }