private void button1_Click(object sender, EventArgs e) { if (ParseWorker.IsBusy != true) { ParseWorker.RunWorkerAsync(); } }
private void ChatManagerUI_VisibleChanged(object sender, EventArgs e) { if (base.Visible) { if (!ParseWorker.IsBusy) { ParseWorker.RunWorkerAsync(); } } }