






















public delegate void RefreshTextInvoke(Control control, string msg);// 异步状态显示
private void RefreshText(Control control, string msg)
{
if (control.IsDisposed || this.IsDisposed) return;
if (control.InvokeRequired)
{
RefreshTextInvoke invoke = new RefreshTextInvoke(this.RefreshText);
this.BeginInvoke(invoke, new object[] { control, msg });
}
else
{
control.Text = msg;
}
}
Process pro
= Process.GetCurrentProcess();此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。