So stingy!
The Weird and The Wonderful
1
Posts
1
Posters
3
Views
1
Watching
-
bool bool_report_progress = false;
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
...
if (bool_report_progress)
backgroundWorker1.ReportProgress(x, listbox1_Search.Items.Count + " items were found so far.");
}private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
lable_reported_progress.Text = e.UserState.ToString();
}private void checkbox1_report_progress_CheckedChanged(object sender, EventArgs e)
{
bool_report_progress = lbl_reported_progress.Visible = checkbox1_report_progress.Checked;
}As if I've been charged per letter;P
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)