Click here to Skip to main content
15,892,072 members
Home / Discussions / C#
   

C#

 
AnswerRe: string concat Pin
enjoycrack13-Sep-05 23:21
enjoycrack13-Sep-05 23:21 
GeneralRe: string concat Pin
deep713-Sep-05 23:41
deep713-Sep-05 23:41 
QuestionProgram Multi Processor ! Pin
lucdt13-Sep-05 22:31
lucdt13-Sep-05 22:31 
AnswerRe: Program Multi Processor ! Pin
Dario Solera13-Sep-05 23:59
Dario Solera13-Sep-05 23:59 
QuestionHow can i add tooltip in .NET graph?? Pin
parvinder sehrawat13-Sep-05 22:11
parvinder sehrawat13-Sep-05 22:11 
AnswerRe: How can i add tooltip in .NET graph?? Pin
enjoycrack13-Sep-05 23:39
enjoycrack13-Sep-05 23:39 
QuestionStill no clue to why i cant access a forms public functions Pin
Johan Glysing13-Sep-05 20:57
Johan Glysing13-Sep-05 20:57 
AnswerRe: Still no clue to why i cant access a forms public functions Pin
Large Data File13-Sep-05 21:20
Large Data File13-Sep-05 21:20 
I can't see any way in which form B can access form A without you providing form B with a reference to form A's instance.
If you want form B to access form A just pass it as a refernce in form B's constructor.

However, a better desgin would be as follows:
1. Let form B get all the information it should.
2. Once the user clicks on the OK button, close the form.
3. Form A will access the information defined in form B using form B's getters.
4. Problem solved.

In most cases, it is not wise to create coupling between forms. And it is also not recommended that a dialog will update its caller, since dialogs usually allow the users to cancel, it is not wise to change things while the dialog is still open since the user can cancel and you will need to rollback the changes.

Hope that answers your question
GeneralRe: Still no clue to why i cant access a forms public functions Pin
Anonymous13-Sep-05 23:15
Anonymous13-Sep-05 23:15 
GeneralRe: Still no clue to why i cant access a forms public functions Pin
Guffa13-Sep-05 23:20
Guffa13-Sep-05 23:20 
GeneralRe: Still no clue to why i cant access a forms public functions Pin
Johan Glysing14-Sep-05 1:22
Johan Glysing14-Sep-05 1:22 
QuestionAssembly in the GAC not being located Pin
Member 171916913-Sep-05 20:09
Member 171916913-Sep-05 20:09 
Question[SOS] about API Pin
cnet200813-Sep-05 19:53
cnet200813-Sep-05 19:53 
AnswerRe: [SOS] about API Pin
cnet200813-Sep-05 20:58
cnet200813-Sep-05 20:58 
GeneralRe: [SOS] about API Pin
Dave Kreskowiak14-Sep-05 1:28
mveDave Kreskowiak14-Sep-05 1:28 
GeneralRe: [SOS] about API Pin
cnet200814-Sep-05 20:16
cnet200814-Sep-05 20:16 
QuestionWrite to Windows Extended File Properties Pin
Member 165363613-Sep-05 19:21
Member 165363613-Sep-05 19:21 
QuestionSession Timed Out Pin
Thaynann13-Sep-05 18:52
Thaynann13-Sep-05 18:52 
AnswerRe: Session Timed Out Pin
Mark DeVol14-Sep-05 10:09
Mark DeVol14-Sep-05 10:09 
GeneralRe: Session Timed Out Pin
Thaynann14-Sep-05 11:38
Thaynann14-Sep-05 11:38 
GeneralRe: Session Timed Out Pin
Thaynann14-Sep-05 15:32
Thaynann14-Sep-05 15:32 
QuestiondateTime format Pin
dhol13-Sep-05 17:45
dhol13-Sep-05 17:45 
AnswerRe: dateTime format Pin
Christian Graus13-Sep-05 17:58
protectorChristian Graus13-Sep-05 17:58 
GeneralRe: How to format dataTime Pin
dhol13-Sep-05 23:36
dhol13-Sep-05 23:36 
QuestionGet data from Access instead of notepad (urgent) Pin
nidhelp13-Sep-05 16:35
nidhelp13-Sep-05 16:35 

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.