Button button1 = (Button)this.Controls.Find("button2", true)[0]; if (button1 != null) { button1.Text = "OK"; }
110,536
社区成员
642,576
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧