Re: VB.NET: Transferring Data From Form to Form
From: DenBorg (den_borg_at_yahoo.com)
Date: 09/29/04
- Next message: Larry Serflaten: "Re: How do I call a method of another from"
- Previous message: DenBorg: "Re: VB.NET: Transferring Data From Form to Form"
- In reply to: Cor Ligthert: "Re: VB.NET: Transferring Data From Form to Form"
- Next in thread: Cor Ligthert: "Re: VB.NET: Transferring Data From Form to Form"
- Reply: Cor Ligthert: "Re: VB.NET: Transferring Data From Form to Form"
- Messages sorted by: [ date ] [ thread ]
Date: 29 Sep 2004 15:22:44 -0700
"Cor Ligthert" <notmyfirstname@planet.nl> wrote in message news:<OK9dDtipEHA.3572@TK2MSFTNGP10.phx.gbl>...
> This question from you, gives forever a lot of messages.
> Very important is where you create your "other" form and how you do that.
Regardless of where and how the "other" form is created, the best
method of passing data to a form for display is either by a property
or method of that form. The issue here is "How do I pass data to a
given form?"
In my opinion, public variables (that is global to the whole
application) should rarely be used. It is also my opinion that it is
not a good idea to make UI objects of a form public. It would be
better to create a form or a method for the form that is to accept the
data for display.
"Where" and "how" a form is created will simply determine where your
*reference* to that form is. However, that is a different issue. The
issue of when and where a form is created is "How do I reference a
form I've already created or am about to create?"
- Next message: Larry Serflaten: "Re: How do I call a method of another from"
- Previous message: DenBorg: "Re: VB.NET: Transferring Data From Form to Form"
- In reply to: Cor Ligthert: "Re: VB.NET: Transferring Data From Form to Form"
- Next in thread: Cor Ligthert: "Re: VB.NET: Transferring Data From Form to Form"
- Reply: Cor Ligthert: "Re: VB.NET: Transferring Data From Form to Form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|