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

C#

 
GeneralRe: Old famous problem. Access to Form1 from other namespace Pin
Member 1115157130-Oct-14 4:19
Member 1115157130-Oct-14 4:19 
GeneralRe: Old famous problem. Access to Form1 from other namespace Pin
Pete O'Hanlon30-Oct-14 4:29
mvePete O'Hanlon30-Oct-14 4:29 
GeneralRe: Old famous problem. Access to Form1 from other namespace Pin
Member 1115157130-Oct-14 5:42
Member 1115157130-Oct-14 5:42 
GeneralRe: Old famous problem. Access to Form1 from other namespace Pin
Pete O'Hanlon30-Oct-14 5:44
mvePete O'Hanlon30-Oct-14 5:44 
GeneralRe: Old famous problem. Access to Form1 from other namespace Pin
Member 1115157130-Oct-14 6:29
Member 1115157130-Oct-14 6:29 
GeneralRe: Old famous problem. Access to Form1 from other namespace Pin
Pete O'Hanlon30-Oct-14 7:05
mvePete O'Hanlon30-Oct-14 7:05 
GeneralRe: Old famous problem. Access to Form1 from other namespace Pin
Member 1115157130-Oct-14 10:18
Member 1115157130-Oct-14 10:18 
AnswerRe: Old famous problem. Access to Form1 from other namespace Pin
OriginalGriff29-Oct-14 6:01
mveOriginalGriff29-Oct-14 6:01 
You need access to the actual instance of Form1 that contains the label you are interested in, in the same way that you need access to the right instance of a car. If you put your mobile in the glove box of your car, would you expect to be able to open teh glove box in my car and get your mobile? No. It's teh same with forms.

See here, one of these may help:
Transferring information between two forms, Part 1: Parent to Child[^]
Transferring information between two forms, Part 2: Child to Parent[^]
Transferring information between two forms, Part 3: Child to Child[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: Old famous problem. Access to Form1 from other namespace Pin
Member 1115157130-Oct-14 22:10
Member 1115157130-Oct-14 22:10 
QuestionBound DataGridView with unbound text box column Pin
Nigel Mackay28-Oct-14 23:54
Nigel Mackay28-Oct-14 23:54 
AnswerRe: Bound DataGridView with unbound text box column Pin
Eddy Vluggen29-Oct-14 9:51
professionalEddy Vluggen29-Oct-14 9:51 
GeneralRe: Bound DataGridView with unbound text box column Pin
Nigel Mackay29-Oct-14 15:42
Nigel Mackay29-Oct-14 15:42 
QuestionUnable to write to a parallel port Pin
Salman S7R28-Oct-14 20:12
Salman S7R28-Oct-14 20:12 
AnswerRe: Unable to write to a parallel port Pin
Garth J Lancaster28-Oct-14 20:23
professionalGarth J Lancaster28-Oct-14 20:23 
GeneralRe: Unable to write to a parallel port Pin
Salman S7R28-Oct-14 20:28
Salman S7R28-Oct-14 20:28 
AnswerRe: Unable to write to a parallel port Pin
Garth J Lancaster28-Oct-14 20:28
professionalGarth J Lancaster28-Oct-14 20:28 
GeneralRe: Unable to write to a parallel port Pin
Salman S7R28-Oct-14 20:30
Salman S7R28-Oct-14 20:30 
GeneralRe: Unable to write to a parallel port Pin
Garth J Lancaster29-Oct-14 1:53
professionalGarth J Lancaster29-Oct-14 1:53 
QuestionSQL connection in the app.config file? Pin
Member 245846728-Oct-14 17:54
Member 245846728-Oct-14 17:54 
AnswerRe: SQL connection in the app.config file? Pin
V.28-Oct-14 20:58
professionalV.28-Oct-14 20:58 
QuestionRe: SQL connection in the app.config file? Pin
ZurdoDev29-Oct-14 3:35
professionalZurdoDev29-Oct-14 3:35 
GeneralRe: SQL connection in the app.config file? Pin
PIEBALDconsult29-Oct-14 4:12
mvePIEBALDconsult29-Oct-14 4:12 
AnswerRe: SQL connection in the app.config file? Pin
Simon_Whale29-Oct-14 5:38
Simon_Whale29-Oct-14 5:38 
AnswerRe: SQL connection in the app.config file? Pin
Gerry Schmitz29-Oct-14 10:45
mveGerry Schmitz29-Oct-14 10:45 
GeneralRe: SQL connection in the app.config file? Pin
Member 245846729-Oct-14 23:05
Member 245846729-Oct-14 23:05 

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.