0
点赞
收藏
分享

微信扫一扫

c# 编程添加控件

码农K 2022-02-27 阅读 107
c#


Button b = new Button();//创建一个新的按钮
b.Text = "test";
//添加到panel1中
panel1.Controls.Add(b);


举报

相关推荐

0 条评论