public function checkmdi(byval formname as string ) as integer
dim check as integer
dim i as integer
dim count as integer=me.mdichildren.length
if count<1 then return -1
for i=0 to count-1
if mdichildren(i).name=formname then
check=i
exit for
else
check=-1
end if
next
return check
end function
dim check as integer
dim i as integer
dim count as integer=me.mdichildren.length
if count<1 then return -1
for i=0 to count-1
if mdichildren(i).name=formname then
check=i
exit for
else
check=-1
end if
next
return check
end function
解决方案 »
- 开发客户端窗口程序,用C/C++,VB还是C#比较好?
- 求正则表达式替换html文件中的注释的方法
- C#添加类问题.求解答
- 有关淘宝网支付对接的问题
- 救命啊。不够加分
- 我现在想要一个可以到移动网站上去更新手机号所属于地区的代码不知道谁可以提供给我
- 在C#中如何调用一个exe文件,比如系统中的记事本和计算机
- xml增加节点的问题
- 求助、面向对象的思想查找字符串中的数字
- 【急!!!】请教,WIN7下如何用shellexecute 打开一个文件,在WINXP下很正常,在WIN7下就不行了
- 求Application Block中文版
- 把excel中的数据绑定datagrid,关于datagrid的样式问题!(winform)
然后判断它的是否有子项就可以了.有子项表示已打开窗体.则提示.