Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
AnswerRe: process id? Pin
Stephane Rodriguez.2-Nov-02 19:15
Stephane Rodriguez.2-Nov-02 19:15 
GeneralRe: process id? Pin
imran_rafique3-Nov-02 15:20
imran_rafique3-Nov-02 15:20 
GeneralRe: process id? Pin
Stephane Rodriguez.3-Nov-02 18:49
Stephane Rodriguez.3-Nov-02 18:49 
GeneralRe: process id? Pin
imran_rafique4-Nov-02 15:00
imran_rafique4-Nov-02 15:00 
GeneralRe: process id? Pin
Stephane Rodriguez.4-Nov-02 18:59
Stephane Rodriguez.4-Nov-02 18:59 
GeneralHttpRequest Pin
kavehdr2-Nov-02 11:30
kavehdr2-Nov-02 11:30 
GeneralRe: HttpRequest Pin
Vasudevan Deepak Kumar5-Nov-02 3:55
Vasudevan Deepak Kumar5-Nov-02 3:55 
GeneralAssembly Pin
kavehdr2-Nov-02 7:46
kavehdr2-Nov-02 7:46 
GeneralRe: Assembly Pin
Daniel Turini2-Nov-02 8:04
Daniel Turini2-Nov-02 8:04 
GeneralRe: Assembly Pin
kavehdr2-Nov-02 8:13
kavehdr2-Nov-02 8:13 
GeneralRe: Assembly Pin
John Fisher2-Nov-02 9:22
John Fisher2-Nov-02 9:22 
GeneralRe: Assembly Pin
ian mariano2-Nov-02 9:59
ian mariano2-Nov-02 9:59 
GeneralRe: Assembly Pin
kavehdr2-Nov-02 11:32
kavehdr2-Nov-02 11:32 
GeneralRe: Assembly Pin
John Fisher2-Nov-02 13:29
John Fisher2-Nov-02 13:29 
GeneralRe: Assembly Pin
ian mariano2-Nov-02 14:17
ian mariano2-Nov-02 14:17 
GeneralHttpWebRequest Pin
kavehdr2-Nov-02 7:45
kavehdr2-Nov-02 7:45 
GeneralRe: HttpWebRequest Pin
Stephane Rodriguez.2-Nov-02 8:39
Stephane Rodriguez.2-Nov-02 8:39 
GeneralComponent.Site Pin
Pete Bassett2-Nov-02 7:30
Pete Bassett2-Nov-02 7:30 
Hi all.

I'm developing a class that inherits from System.ComponentModel.Component in much the same way as Timer etc.

What I need to know is "How do I get a reference to the parent Form?"

I need this so I can add a event handler for the forms Activated/Deactivated events.

I've looked though my MSDN and it happily defines the ISite interface properties but it doesn't show how the whole thing fits together.

Also, when I debug the component, this.Site and this.Comtainer are both null...Is there an attribute I need to add to the Component?

Thanks for any help you can give me on this guys (and Gals!)

Pete

Insert Sig. Here!
GeneralRe: Component.Site Pin
ian mariano2-Nov-02 7:39
ian mariano2-Nov-02 7:39 
GeneralRe: Component.Site Pin
Pete Bassett2-Nov-02 11:15
Pete Bassett2-Nov-02 11:15 
GeneralRe: Component.Site Pin
Stephane Rodriguez.2-Nov-02 19:00
Stephane Rodriguez.2-Nov-02 19:00 
GeneralRe: Component.Site Pin
Pete Bassett2-Nov-02 22:37
Pete Bassett2-Nov-02 22:37 
GeneralRe: Component.Site Pin
Pete Bassett3-Nov-02 1:10
Pete Bassett3-Nov-02 1:10 
GeneralRe: Component.Site Pin
Stephane Rodriguez.3-Nov-02 1:57
Stephane Rodriguez.3-Nov-02 1:57 
GeneralRe: Component.Site Pin
Pete Bassett3-Nov-02 2:41
Pete Bassett3-Nov-02 2:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.