private void FocusDownloadButton() { if (this.btnDownload.InvokeRequired == true) { FocusDownloadButtonCB d = new FocusDownloadButtonCB(FocusDownloadButton); this.btnDownload.Invoke(d); } else { this.btnDownload.Focus(); } }