Application.DoEvents();
private void btnFindFileAndLoad_Click(object sender, EventArgs e) { this.progressCircle1.Visible = true; this.progressCircle1.Rotate = true; Application.DoEvents(); //process message queue LoadMyFile(str_FileDirectory_and_FileName); //runs for 20sec this.progressCircle1.Visible = false; this.progressCircle1.Rotate = false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)