public void UdpateStatusText(string Text)
{
if (InvokeRequired)
{
// We're not in the UI thread, so we need to call BeginInvoke
BeginInvoke(new StringParameterDelegate(this.UdpateStatusText), new object[] { Text });
return;
}
this.labelStatus.ForeColor = Color.AntiqueWhite;
this.labelStatus.Text = Text;
}