110,534
社区成员
发帖
与我相关
我的任务
分享
private void setTextBox1Visible_Click(object sender, EventArgs e)
{
Action func = () =>
{
this.textBox1.Visible = true;
};
if (this.textBox1.InvokeRequired)
{
this.textBox1.Invoke(func);
}
else
{
func();
}
}