没有表格集合 [英] No Forms Collection

查看:57
本文介绍了没有表格集合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道为什么VB.NET会省略

之前版本的VB中可用的Forms集合吗?我想必须有一个理由为什么

他们决定废除它,但我无法理解为什么。有人知道吗?

解决方案

我认为他们认为它没有被太多人使用而且

也许它在GC中产生了一些问题。


无论如何,如果你需要在MSDN中使用一个,那么他们确实有一个关于如何创建你自己的收藏的帮助主题
http://msdn.microsoft.com/library/de...alBasicNET.asp


Rgds,

Anand
http://www.dotnetindia.com


" Alex"写道:

有谁知道为什么VB.NET会省略
以前版本的VB中可用的Forms集合?我想,他们决定废除它必定有一个原因,但我无法理解为什么。有人知道吗?



Alex,

有谁知道为什么VB.NET会省略
以前版本的VB中提供的Forms集合?我想必须有一个理由
为什么他们决定废除它,但我无法理解为什么。有人知道吗?



这不是2002年的问题而且几乎永远都回答了吗?


在VBCom中没有收藏来自其他控件。现在我们可以使用

每个控制一个集合,其中使用了base clase Control,它包含了一个

集合。


当你想要的时候你可以创建尽可能多的控件集合集合

为你自己需要的形状。


Cor


"阿莱克斯" < PL ***** @ no.mail> schrieb:

有谁知道为什么VB.NET会省略
以前版本的VB中可用的Forms集合?我想必须有一个理由
为什么他们决定废除它,但我无法理解为什么。有没有人知道?




VB6中已知的''Forms''集合已经消失:


收回丢失的VB6表格集合

< URL:http://www.fawcette.com/vsm/2002_12/online/hottips/lobel/>


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://classicvb.org/petition/>


Does anybody know why VB.NET would omit the Forms collection available in
previous versions versions of VB? I imagine that there must be a reason why
they decided to do away with it, but I can''t fathom why. Does anybody know?

解决方案

I assume that they decided that it is not used by too many people and also
maybe it created some problems with the GC.

Anyway they do have a help topic on how to create your own collection if you
need one in MSDN
http://msdn.microsoft.com/library/de...alBasicNET.asp

Rgds,
Anand
http://www.dotnetindia.com

"Alex" wrote:

Does anybody know why VB.NET would omit the Forms collection available in
previous versions versions of VB? I imagine that there must be a reason why
they decided to do away with it, but I can''t fathom why. Does anybody know?



Alex,

Does anybody know why VB.NET would omit the Forms collection available in
previous versions versions of VB? I imagine that there must be a reason
why
they decided to do away with it, but I can''t fathom why. Does anybody
know?


Is this not a question from 2002 and almost forever answered?

In VBCom there is no collection from other controls. Now we can use for
every control a collection where the base clase Control is used that holds a
collection for that.

When you want you can create now as much collections of controls collections
shaped for your own need as you want.

Cor


"Alex" <pl*****@no.mail> schrieb:

Does anybody know why VB.NET would omit the Forms collection available in
previous versions versions of VB? I imagine that there must be a reason
why
they decided to do away with it, but I can''t fathom why. Does anybody
know?



The ''Forms'' collection as known from VB6 has gone:

Reclaim the Lost VB6 Forms Collection
<URL:http://www.fawcette.com/vsm/2002_12/online/hottips/lobel/>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


这篇关于没有表格集合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆