会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
beibei11
博客园
首页
新随笔
联系
管理
订阅
2010年4月21日
C#动态生成控件以及添加事件处理
摘要: 有时候需要在程序运行到一定时候或者某个事件之后需要动态生成控件 在C#下一般方式是: private Button Db=new Button() ; Db.Name="Dy_Button" //设定名称 Db.Location=new Point(100,200);//设定位置 。。。。//其他属性设置 //这里添加消息处理 。。 ...
阅读全文
posted @ 2010-04-21 21:32 beibei11
阅读(20336)
评论(0)
推荐(0)
编辑
公告