Re: find Component's host ( Form ) PLEASE HELP
- From: "Nenefta" <movanoort@xxxxxxxxxxx>
- Date: 11 Aug 2006 06:43:36 -0700
Hi Marcus,
if you write your own control, you can reference the ParentForm
property of the control.
Hope this helps,
Marcel
Marcus Kraus schreef:
Hi there
i am a newbie on C#...
I have wrote a Component and I need to get a reference on the Form the
component resides in...
How can I do it ???
I know that the form is using
this.cTestEditor1 = new TestClassLib.cTestEditor(this.components);
but How can I get to the form ( or a reference ) inside my component ???
this.components is not storing any information about it !!!
Thanx
Marcus
.
- Follow-Ups:
- Re: find Component's host ( Form ) PLEASE HELP
- From: Sericinus hunter
- Re: find Component's host ( Form ) PLEASE HELP
- References:
- find Component's host ( Form ) PLEASE HELP
- From: Marcus Kraus
- find Component's host ( Form ) PLEASE HELP
- Prev by Date: Re: Messagebox in Validating cancels subsequent events
- Next by Date: Re: find Component's host ( Form ) PLEASE HELP
- Previous by thread: find Component's host ( Form ) PLEASE HELP
- Next by thread: Re: find Component's host ( Form ) PLEASE HELP
- Index(es):
Relevant Pages
|
|