Click here to Skip to main content
16,005,048 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multi-Form Set Correct Output Pin
share_holder28-Aug-11 21:24
share_holder28-Aug-11 21:24 
AnswerRe: Multi-Form Set Correct Output Pin
BillWoodruff26-Aug-11 3:14
professionalBillWoodruff26-Aug-11 3:14 
GeneralRe: Multi-Form Set Correct Output Pin
share_holder28-Aug-11 21:22
share_holder28-Aug-11 21:22 
GeneralRe: Multi-Form Set Correct Output Pin
V.28-Aug-11 21:31
professionalV.28-Aug-11 21:31 
GeneralRe: Multi-Form Set Correct Output Pin
share_holder28-Aug-11 21:36
share_holder28-Aug-11 21:36 
GeneralRe: Multi-Form Set Correct Output Pin
V.28-Aug-11 21:43
professionalV.28-Aug-11 21:43 
GeneralRe: Multi-Form Set Correct Output Pin
share_holder28-Aug-11 21:46
share_holder28-Aug-11 21:46 
GeneralRe: Multi-Form Set Correct Output Pin
V.28-Aug-11 21:56
professionalV.28-Aug-11 21:56 
mmm, personally I would rethink your solution in giving the request/response responsibility towards the forms and let them handle it. (= solution 1)

In case you want solution 2, you need to find out if the component that responds actually supports this. Is there some sort of communication Id you need to provide when sending a request? If not, there is no way in telling for sure which response is for which request. If there is a request/response Id all you need is a dictionary linking your form with that Id.


1. Add Id/Form to dictionary when sending
2. On receive find form with key = Id.
3. Remove from dictionary.

If you don't have an Id, I'm not sure you can solve it via solution 2 unless you are sure the request/response sync is in order.

hope this helps.
V.

GeneralRe: Multi-Form Set Correct Output Pin
share_holder28-Aug-11 23:45
share_holder28-Aug-11 23:45 
QuestionC# modify a config file Pin
dcof25-Aug-11 17:14
dcof25-Aug-11 17:14 
JokeRe: C# modify a config file Pin
Firo Atrum Ventus25-Aug-11 17:20
Firo Atrum Ventus25-Aug-11 17:20 
AnswerRe: C# modify a config file Pin
Pravin Patil, Mumbai25-Aug-11 21:19
Pravin Patil, Mumbai25-Aug-11 21:19 
AnswerRe: C# modify a config file Pin
PIEBALDconsult26-Aug-11 2:50
mvePIEBALDconsult26-Aug-11 2:50 
AnswerRe: C# modify a config file Pin
Dave Kreskowiak26-Aug-11 5:24
mveDave Kreskowiak26-Aug-11 5:24 
Questionstack pop and takewhile Pin
cechode25-Aug-11 12:44
cechode25-Aug-11 12:44 
AnswerRe: stack pop and takewhile Pin
SledgeHammer0125-Aug-11 13:12
SledgeHammer0125-Aug-11 13:12 
GeneralRe: stack pop and takewhile Pin
cechode25-Aug-11 13:40
cechode25-Aug-11 13:40 
QuestionArray List to Application Settings. Pin
Herboren25-Aug-11 5:01
Herboren25-Aug-11 5:01 
AnswerRe: Array List to Application Settings. Pin
Nagy Vilmos25-Aug-11 6:20
professionalNagy Vilmos25-Aug-11 6:20 
AnswerRe: Array List to Application Settings. Pin
Subin Mavunkal25-Aug-11 20:49
Subin Mavunkal25-Aug-11 20:49 
Questionsocket class in vista uac Pin
Aisha sharma24-Aug-11 22:08
Aisha sharma24-Aug-11 22:08 
AnswerRe: socket class in vista uac Pin
Dave Kreskowiak25-Aug-11 9:57
mveDave Kreskowiak25-Aug-11 9:57 
GeneralRe: socket class in vista uac Pin
Aisha sharma25-Aug-11 21:37
Aisha sharma25-Aug-11 21:37 
GeneralRe: socket class in vista uac Pin
Cheongwadae26-Aug-11 17:19
Cheongwadae26-Aug-11 17:19 
QuestionPredicate Conditions for Find, First...Methods Pin
share_holder24-Aug-11 21:46
share_holder24-Aug-11 21:46 

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.