private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { listBox1.Enabled = true; listBox1.Items.Clear(); progressBar1.Value = 0; progressBar1.Update(); MessageBox.Show("Parsen abgeschlossen"); p = null; }
private void parseImg(string fn) { p = new parser(Bitmap.FromFile(fn), this); p.DoIt(); }