private void DownloadJob(int RowId) { tsMessage.Text = "Starting Download"; this.Refresh(); string uuid = dgvHPTJobs.Rows[RowId].Cells["uuid"].Value.ToString(); hptJob.StartDownload(uuid, Application.StartupPath + "\\Test"); tsMessage.Text = "Download Finished."; }