Whats the most efficient way to access another forms controls in .NET?

Posted by broke on Stack Overflow See other posts from Stack Overflow or by broke
Published on 2010-03-19T18:04:04Z Indexed on 2010/03/19 18:31 UTC
Read the original article Hit count: 174

Filed under:
|
|

I'm creating a reporting application, and our customers are going to need to generate some pretty big reports which require quite a bit of memory. Ive been in a re-factoring mood lately, so I was wondering what the best way to access the properties of another open form would be(The reporting viewer opens in a new form.) So far I have:

Dim form As MainSelections

form = My.Application.OpenForms(2)

yay or nay.

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about vb.net