Exemplo n.º 1
0
 private void UpdateProgressStatus(string text)
 {
     if (InvokeRequired)
     {
         UpdateProgressStatusCallback d = new UpdateProgressStatusCallback(UpdateProgressStatus);
         this.BeginInvoke(d, new object[] { text });
     }
     else
     {
         label1.Text = text;
     }
 }
Exemplo n.º 2
0
 private void UpdateProgressStatus(string text)
 {
     if (InvokeRequired)
     {
         UpdateProgressStatusCallback d = new UpdateProgressStatusCallback(UpdateProgressStatus);
         this.BeginInvoke(d, new object[] { text });
     }
     else
     {
         label1.Text = text;
     }
 }