if (this.InvokeRequired)//在创建控件线程以外的线程中调用控件
{
this.Invoke(new System.Action(delegate()
{
this.rdoGreenRoadNo.Checked = true;
this.rdoGreenRoadYes.Checked = false;
}));
}
else
{
this.rdoGreenRoadNo.Checked = true;
this.rdoGreenRoadYes.Checked = false;
}
{
this.Invoke(new System.Action(delegate()
{
this.rdoGreenRoadNo.Checked = true;
this.rdoGreenRoadYes.Checked = false;
}));
}
else
{
this.rdoGreenRoadNo.Checked = true;
this.rdoGreenRoadYes.Checked = false;
}