示例#1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (PracownikWsteczny.IsBusy)
     {
         PracownikWsteczny.CancelAsync();
     }
 }
示例#2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (!PracownikWsteczny.IsBusy)
     {
         //Bitmap bitmapa = (Bitmap) pictureBox1.Image;
         PracownikWsteczny.RunWorkerAsync(argument: trackBar1.Value);
     }
 }