Re: Is it possible to access a control in another form?
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Feb 2006 15:46:40 -0500
Doru,
You would have to have a reference to the form. If you have a
reference, then you have to expose a method/property/field which will expose
the TextBox publically. Once you do that, you can just call the
method/property/field and then do what you need to do with it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Doru Roman" <doruroman@xxxxxxxxxx> wrote in message
news:%23tRe9cDKGHA.516@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
In a MDI environment I am in one form (main or child). How can access a
value from a text box placed in another form? An example please.
Thanks,
Doru
.
- Follow-Ups:
- Re: Is it possible to access a control in another form?
- From: Doru Roman
- Re: Is it possible to access a control in another form?
- References:
- Is it possible to access a control in another form?
- From: Doru Roman
- Is it possible to access a control in another form?
- Prev by Date: Re: What are Constrained Generics good for??
- Next by Date: Re: typed dataset
- Previous by thread: Is it possible to access a control in another form?
- Next by thread: Re: Is it possible to access a control in another form?
- Index(es):
Relevant Pages
|