Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
AnswerRe: Thread Safe Form Controls Pin
Luc Pattyn25-Oct-09 12:25
sitebuilderLuc Pattyn25-Oct-09 12:25 
GeneralRe: Thread Safe Form Controls Pin
FJJCENTU25-Oct-09 13:12
FJJCENTU25-Oct-09 13:12 
GeneralRe: Thread Safe Form Controls Pin
Luc Pattyn25-Oct-09 13:44
sitebuilderLuc Pattyn25-Oct-09 13:44 
GeneralRe: Thread Safe Form Controls Pin
N a v a n e e t h25-Oct-09 20:14
N a v a n e e t h25-Oct-09 20:14 
GeneralRe: Thread Safe Form Controls [modified] Pin
Luc Pattyn26-Oct-09 0:45
sitebuilderLuc Pattyn26-Oct-09 0:45 
GeneralRe: Thread Safe Form Controls Pin
N a v a n e e t h26-Oct-09 15:59
N a v a n e e t h26-Oct-09 15:59 
GeneralRe: Thread Safe Form Controls Pin
Luc Pattyn25-Oct-09 14:06
sitebuilderLuc Pattyn25-Oct-09 14:06 
QuestionCalling functions or checking objects of one form from another (MDI project) Pin
helkhoury25-Oct-09 8:32
helkhoury25-Oct-09 8:32 
I have a MDI project with a few child forms, and each child form is performing a function, some of which are dependant on nother.
It is a CAN bus reader, so I have a form which sets up and configures the hardware (connected by USB), another one to read the data and put it in a table, another form which can graph some of the data packets in a plot, etc...

My question is in the example above, most of the forms need access to the HW defined in the setup form.
I find myself unable to get data from the table in form 1 to the plot in form 2.

I am new at this, but I got it all working in a single form with tabs, and decided that I would like to have the look and feel of MDI so I can see multiple windowns together, and hit this road block. I thought it would be as simple as calling this for example from FormData --> if(FormSetup.CheckBox == True), but it seems I cannot access an object in another form to check its status or its text, etc...
And the same does not work if I am trying to cal a function.

Is there a place in C# Express I can declare all my valiables and functions so they can be accessed by everyone from the Parent to the Child form? All my objects are set to Internal, and so are my functions. I am just stuck on probably a simple details.
Any help or pointer?

Thanks,
H-
AnswerRe: Calling functions or checking objects of one form from another (MDI project) Pin
DaveyM6925-Oct-09 9:06
professionalDaveyM6925-Oct-09 9:06 
AnswerRe: Calling functions or checking objects of one form from another (MDI project) [modified] Pin
Ekoj Lirpa25-Oct-09 9:42
Ekoj Lirpa25-Oct-09 9:42 
GeneralRe: Calling functions or checking objects of one form from another (MDI project) Pin
helkhoury25-Oct-09 10:40
helkhoury25-Oct-09 10:40 
GeneralRe: Calling functions or checking objects of one form from another (MDI project) Pin
helkhoury25-Oct-09 10:53
helkhoury25-Oct-09 10:53 
GeneralRe: Calling functions or checking objects of one form from another (MDI project) Pin
Ekoj Lirpa25-Oct-09 12:15
Ekoj Lirpa25-Oct-09 12:15 
Questionwho can help me? Pin
Abdaqader25-Oct-09 7:34
Abdaqader25-Oct-09 7:34 
AnswerRe: who can help me? Pin
Richard MacCutchan25-Oct-09 8:02
mveRichard MacCutchan25-Oct-09 8:02 
AnswerRe: who can help me? Pin
Abhishek Sur25-Oct-09 8:42
professionalAbhishek Sur25-Oct-09 8:42 
AnswerRe: who can help me? Pin
Christian Graus25-Oct-09 9:16
protectorChristian Graus25-Oct-09 9:16 
AnswerRe: who can help me? Pin
Pete O'Hanlon25-Oct-09 12:10
mvePete O'Hanlon25-Oct-09 12:10 
GeneralRe: who can help me? Pin
Gerry Schmitz25-Oct-09 17:13
mveGerry Schmitz25-Oct-09 17:13 
GeneralRe: who can help me? Pin
Mycroft Holmes25-Oct-09 18:11
professionalMycroft Holmes25-Oct-09 18:11 
Questionwho can help me Pin
Abdaqader25-Oct-09 7:34
Abdaqader25-Oct-09 7:34 
AnswerRe: who can help me Pin
Dave Kreskowiak25-Oct-09 8:14
mveDave Kreskowiak25-Oct-09 8:14 
GeneralRe: who can help me Pin
Ekoj Lirpa25-Oct-09 8:59
Ekoj Lirpa25-Oct-09 8:59 
GeneralRe: who can help me Pin
Abhishek Sur25-Oct-09 12:09
professionalAbhishek Sur25-Oct-09 12:09 
GeneralRe: who can help me Pin
Christian Graus25-Oct-09 9:21
protectorChristian Graus25-Oct-09 9:21 

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.