form logic/timing
-
How do I get my label to update on the form before my program enters the function? currently the form does not update until the download function hits a message box that is in it. String stime = DateTime.Now.ToString(); lblStartDisplay.Text = stime; Download();
-
How do I get my label to update on the form before my program enters the function? currently the form does not update until the download function hits a message box that is in it. String stime = DateTime.Now.ToString(); lblStartDisplay.Text = stime; Download();
-
How do I get my label to update on the form before my program enters the function? currently the form does not update until the download function hits a message box that is in it. String stime = DateTime.Now.ToString(); lblStartDisplay.Text = stime; Download();
The following should do the trick:
String stime = DateTime.Now.ToString();
lblStartDisplay.Text = stime;
lblStartDisplay.Refresh();
Download();
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
The following should do the trick:
String stime = DateTime.Now.ToString();
lblStartDisplay.Text = stime;
lblStartDisplay.Refresh();
Download();
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook