好想是这样,但写不全了,也错了些,请教
foreach(System.Windows.Forms.TextBox tbceler in Control )
{
if(control is System.Windows.Forms.TextBox)
{
}
}
foreach(System.Windows.Forms.TextBox tbceler in Control )
{
if(control is System.Windows.Forms.TextBox)
{
}
}
解决方案 »
- 光标离开Listview的动作用什么事件??
- asp.net调用服务器exe文件问题谢谢大家
- 请高手们指导下初学者,在winform中如何实现新增、修改、保存的功能
- 我又来了
- 自定义WEB服务器控件时,继承了某个WEB控件如CHECKBOX,怎么把某个属性在设计时变灰(就是不能设置其值)如Text..?
- 服务器 {0006F03A-0000-0000-C000-000000000046} 没有在限定的时间内用 DCOM 注册。
- 请教,代码中构造函数还未执行,为什么字段就已经有值了
- 无法打开登录所请求的数据库 "medicinalplant"。登录失败,用户 'mei-PC\mei' 登录失败。
- (急问)socket不断重连,会导致程序退出,请高手解答原因
- 如何在C#中用代码控制本地FTP服务打开和关闭?99分,中秋快乐.
- 看下我对事件的理解对吗
- 关于listView的问题~~
private void test(Control c)
{
foreach (Control childControl in c.Controls)
{
if (childControl is TextBox)
((TextBox)childControl).Text = "";
else
test(childControl);
}
}