请问foreach的遍历顺序是什么??? 是不是按tabindex啊???可是我有两个控件一个是0,一个是1,为什么先遍历的是1那个啊??? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 z-order的顺序,一般就是Controls.Add的顺序 不是TabIndex而是通过控件在Controls的索引来循环的,这个索引,可以这样等到:Control.ControlCollection.GetChildIndex (Control child)可以这样来设置:Control.ControlCollection.SetChildIndex (Control child,int newIndex) 那怎么更改在controls中的索引呢??? 可以这样来设置:Control.ControlCollection.SetChildIndex (Control child,int newIndex)上面的不是说了吗? 我在Designer文件里面修改了一下Add的顺序!!! 如何解决软件打不开网页? 如何获取winform中正在运行的Timer计时器 C# 拿结构体数组中结构体成员值的问题 怎么取值啊 帮忙看一下 对文件读写,能不创建两个stream,一个StreamReader,StreamWriter 关于LISTVIEW的使用 WinForm里面如何解决执行SQL语句超时问题? 父类句柄指向派生类实例时,句柄的成员指向父类还是子类 问一个上传的问题,哪位好心的兄弟姐妹进来看一下:) 怎样把word格式保存到数据库中 怎么在remoting远程数据传送中,序列化成二进制传送、接收呀???? 请大家推荐一个有该功能的小软件
可以这样来设置:
Control.ControlCollection.SetChildIndex (Control child,int newIndex)
Control.ControlCollection.SetChildIndex (Control child,int newIndex)上面的不是说了吗?