private void ClearDatabase() { if (!InvokeRequired) { cboDatabase.Items.Clear(); } else { clearCombo clear = new clearCombo(ClearDatabase); Invoke(clear); } }
private void ClearDatabase() { if (!InvokeRequired) { cbxGenerateInfo.SelectedIndex = -1; cboDatabase.Items.Clear(); pnlInfoGenerator.Controls.Clear(); } else { clearCombo clear = new clearCombo(ClearDatabase); Invoke(clear); } cbxGenerateInfo.Enabled = false; }
private void ClearDatabase() { if (!InvokeRequired) cboDatabase.Items.Clear(); else { clearCombo clear = new clearCombo(ClearDatabase); Invoke(clear); } }