Click here to Skip to main content
15,901,426 members
Home / Discussions / C#
   

C#

 
GeneralRe: Class hierarchy visualization tool Pin
Meysam Mahfouzi27-Apr-03 17:40
Meysam Mahfouzi27-Apr-03 17:40 
GeneralRe: Class hierarchy visualization tool Pin
Kant29-Apr-03 6:55
Kant29-Apr-03 6:55 
GeneralUnderstanding application level variables and functions compared to C++ Pin
dazinith25-Apr-03 10:02
dazinith25-Apr-03 10:02 
GeneralRe: Understanding application level variables and functions compared to C++ Pin
Jim Stewart25-Apr-03 19:03
Jim Stewart25-Apr-03 19:03 
GeneralRe: Understanding application level variables and functions compared to C++ Pin
dazinith28-Apr-03 3:12
dazinith28-Apr-03 3:12 
GeneralRe: Understanding application level variables and functions compared to C++ Pin
Stephane Rodriguez.26-Apr-03 0:04
Stephane Rodriguez.26-Apr-03 0:04 
GeneralRe: Understanding application level variables and functions compared to C++ Pin
dazinith28-Apr-03 3:08
dazinith28-Apr-03 3:08 
GeneralRe: Understanding application level variables and functions compared to C++ Pin
Stephane Rodriguez.28-Apr-03 3:23
Stephane Rodriguez.28-Apr-03 3:23 
dazinith wrote:
so is there another way to get a handle on the main form?

First of all, a form handle is a different thing. All forms expose the underlying WIN32 window handle through the this.Handle property, but that's a different matter.

Beside navigating the parent hierarchy (as you pointed out in your original post), the most straight forward way to let a main form method be called from a child form is to pass a this reference to it when the child form is created. Passing this passes a reference to it, not a copy.
GeneralI need a documentation writing tool. Pin
Alvaro Mendez25-Apr-03 4:14
Alvaro Mendez25-Apr-03 4:14 
GeneralRe: I need a documentation writing tool. Pin
David Stone25-Apr-03 8:22
sitebuilderDavid Stone25-Apr-03 8:22 
GeneralRe: I need a documentation writing tool. Pin
leppie25-Apr-03 10:56
leppie25-Apr-03 10:56 
GeneralRe: I need a documentation writing tool. Pin
GriffonRL26-Apr-03 12:16
GriffonRL26-Apr-03 12:16 
GeneralRe: I need a documentation writing tool. Pin
GriffonRL26-Apr-03 12:14
GriffonRL26-Apr-03 12:14 
GeneralRe: I need a documentation writing tool. Pin
Anonymous26-Apr-03 12:38
Anonymous26-Apr-03 12:38 
GeneralWebbrowser control and multithreading. Pin
GriffonRL25-Apr-03 1:35
GriffonRL25-Apr-03 1:35 
GeneralRe: Webbrowser control and multithreading. Pin
Stephane Rodriguez.26-Apr-03 0:14
Stephane Rodriguez.26-Apr-03 0:14 
GeneralRe: Webbrowser control and multithreading. Pin
GriffonRL26-Apr-03 12:11
GriffonRL26-Apr-03 12:11 
GeneralGDI+ and Metafiles Pin
sasha7125-Apr-03 0:12
sasha7125-Apr-03 0:12 
GeneralDDE with C# Pin
Mardawi24-Apr-03 14:11
Mardawi24-Apr-03 14:11 
GeneralRe: DDE with C# Pin
wolframrinke18-May-04 5:01
wolframrinke18-May-04 5:01 
GeneralRe: DDE with C# Pin
jiugarte Brasil22-Jan-10 7:02
jiugarte Brasil22-Jan-10 7:02 
GeneralToolTip / picturebox question - Urgent..for school Pin
jtmtv1824-Apr-03 14:09
jtmtv1824-Apr-03 14:09 
GeneralRe: ToolTip / picturebox question - Urgent..for school Pin
David Stone25-Apr-03 8:16
sitebuilderDavid Stone25-Apr-03 8:16 
GeneralRe: ToolTip / picturebox question - Urgent..for school Pin
jtmtv1825-Apr-03 13:38
jtmtv1825-Apr-03 13:38 
QuestionSetTitle Bar Font? Pin
Delegate24-Apr-03 10:40
Delegate24-Apr-03 10:40 

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.