Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
Questionhow to code the connect/disconnect function ? Pin
R24092-Jan-06 20:10
R24092-Jan-06 20:10 
AnswerRe: how to code the connect/disconnect function ? Pin
Colin Angus Mackay2-Jan-06 21:58
Colin Angus Mackay2-Jan-06 21:58 
GeneralRe: how to code the connect/disconnect function ? Pin
R24092-Jan-06 22:08
R24092-Jan-06 22:08 
QuestionGUI basics ? Pin
Skoder2-Jan-06 17:26
Skoder2-Jan-06 17:26 
AnswerRe: GUI basics ? Pin
Judah Gabriel Himango2-Jan-06 20:21
sponsorJudah Gabriel Himango2-Jan-06 20:21 
QuestionClose with an X Pin
picasso22-Jan-06 17:25
picasso22-Jan-06 17:25 
AnswerRe: Close with an X Pin
imsathy2-Jan-06 18:29
imsathy2-Jan-06 18:29 
QuestionHow do you access the forms child objects from a different class? Pin
JstDaNuGuy2-Jan-06 15:15
JstDaNuGuy2-Jan-06 15:15 
I'm trying to access my forms (Form1) child objects, such as panels, sliderbars, toolbars, etc from a second class that i've added to the project.
Currently i'm accessing Form1 via Form1.ActiveForm the problem that i'm having is that i can access the standard stuff from the form class, but nothing else, is this because Form1 is a public class, and all the child objects are private?
if this is the case is it safe for me to change only the objects that i need to access to public, or is that unsafe coding?

Is there a better way?

or am i just going about this all wrong?

Big Grin | :-D Laugh | :laugh: Poke tongue | ;-P Sniff | :^) Sigh | :sigh:
AnswerRe: How do you access the forms child objects from a different class? Pin
Dave Kreskowiak2-Jan-06 16:56
mveDave Kreskowiak2-Jan-06 16:56 
AnswerRe: How do you access the forms child objects from a different class? Pin
Colin Angus Mackay2-Jan-06 22:01
Colin Angus Mackay2-Jan-06 22:01 
GeneralRe: How do you access the forms child objects from a different class? Pin
JstDaNuGuy3-Jan-06 2:13
JstDaNuGuy3-Jan-06 2:13 
QuestionHow to run a file with its default program Pin
Sasuko2-Jan-06 14:06
Sasuko2-Jan-06 14:06 
AnswerRe: How to run a file with its default program Pin
Dave Kreskowiak2-Jan-06 15:10
mveDave Kreskowiak2-Jan-06 15:10 
QuestionAutomate Outlook Express Pin
Ista2-Jan-06 13:32
Ista2-Jan-06 13:32 
AnswerRe: Automate Outlook Express Pin
Dave Kreskowiak2-Jan-06 15:07
mveDave Kreskowiak2-Jan-06 15:07 
GeneralRe: Automate Outlook Express Pin
Ista2-Jan-06 17:47
Ista2-Jan-06 17:47 
GeneralRe: Automate Outlook Express Pin
Dave Kreskowiak2-Jan-06 17:56
mveDave Kreskowiak2-Jan-06 17:56 
GeneralRe: Automate Outlook Express Pin
Ista3-Jan-06 2:28
Ista3-Jan-06 2:28 
GeneralRe: Automate Outlook Express Pin
Dave Kreskowiak3-Jan-06 12:38
mveDave Kreskowiak3-Jan-06 12:38 
GeneralRe: Automate Outlook Express Pin
Ista3-Jan-06 15:28
Ista3-Jan-06 15:28 
Questionset a password Textbox to normal Pin
Sasuko2-Jan-06 12:48
Sasuko2-Jan-06 12:48 
AnswerRe: set a password Textbox to normal Pin
Colin Angus Mackay2-Jan-06 12:55
Colin Angus Mackay2-Jan-06 12:55 
GeneralRe: set a password Textbox to normal Pin
Sasuko2-Jan-06 13:16
Sasuko2-Jan-06 13:16 
GeneralRe: set a password Textbox to normal Pin
Colin Angus Mackay2-Jan-06 20:19
Colin Angus Mackay2-Jan-06 20:19 
AnswerRe: set a password Textbox to normal Pin
Judah Gabriel Himango2-Jan-06 12:56
sponsorJudah Gabriel Himango2-Jan-06 12:56 

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.