Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     FApplication.StartLongOperation();
     progressBar1.Value = 0;
     for (var i = 0; i < progressBar1.Maximum * multiplier; ++i)
     {
         if (i % multiplier == 0)
         {
             progressBar1.Value = i / multiplier;
         }
     }
     progressBar1.Value = 0;
     Close();
 }