Click here to Skip to main content
15,908,901 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# and win CE Pin
sunnytyra7-Oct-09 17:52
sunnytyra7-Oct-09 17:52 
GeneralRe: c# and win CE Pin
TigerNinja_20-Feb-03 4:57
TigerNinja_20-Feb-03 4:57 
GeneralRe: c# and win CE Pin
Furty20-Feb-03 17:45
Furty20-Feb-03 17:45 
GeneralC# Call VC DLL Pin
aoyee19-Feb-03 1:31
aoyee19-Feb-03 1:31 
GeneralRe: C# Call VC DLL Pin
Stephane Rodriguez.19-Feb-03 3:00
Stephane Rodriguez.19-Feb-03 3:00 
GeneralRe: C# Call VC DLL Pin
Anonymous19-Feb-03 11:41
Anonymous19-Feb-03 11:41 
QuestionWhy xml line highlighted yellow in IDE? Pin
Member 9618-Feb-03 16:20
Member 9618-Feb-03 16:20 
AnswerRe: Why xml line highlighted yellow in IDE? Pin
Furty18-Feb-03 16:27
Furty18-Feb-03 16:27 
GeneralRe: Why xml line highlighted yellow in IDE? Pin
Member 9618-Feb-03 16:40
Member 9618-Feb-03 16:40 
GeneralRe: Why xml line highlighted yellow in IDE? Pin
Atul Kale19-Feb-03 7:19
Atul Kale19-Feb-03 7:19 
GeneralRe: Why xml line highlighted yellow in IDE? Pin
Member 9619-Feb-03 12:12
Member 9619-Feb-03 12:12 
GeneralRe: Why xml line highlighted yellow in IDE? Pin
David Stone19-Feb-03 12:02
sitebuilderDavid Stone19-Feb-03 12:02 
GeneralRe: Why xml line highlighted yellow in IDE? Pin
Member 9619-Feb-03 12:16
Member 9619-Feb-03 12:16 
Generalcryptography question Pin
jtmtv1818-Feb-03 14:23
jtmtv1818-Feb-03 14:23 
GeneralRe: cryptography question Pin
Furty18-Feb-03 16:09
Furty18-Feb-03 16:09 
GeneralRe: cryptography question Pin
jtmtv1818-Feb-03 16:57
jtmtv1818-Feb-03 16:57 
GeneralPassing various Controls by ref Pin
draco_iii18-Feb-03 10:56
draco_iii18-Feb-03 10:56 
GeneralRe: Passing various Controls by ref Pin
Nnamdi Onyeyiri18-Feb-03 11:29
Nnamdi Onyeyiri18-Feb-03 11:29 
GeneralRe: Passing various Controls by ref Pin
Kannan Kalyanaraman18-Feb-03 19:00
Kannan Kalyanaraman18-Feb-03 19:00 
GeneralRe: Passing various Controls by ref Pin
leppie18-Feb-03 23:14
leppie18-Feb-03 23:14 
GeneralRe: Passing various Controls by ref Pin
Richard Deeming19-Feb-03 0:49
mveRichard Deeming19-Feb-03 0:49 
GeneralA tough design decision Pin
Chris Austin18-Feb-03 8:28
Chris Austin18-Feb-03 8:28 
Hey folks,

I am working on a multi-threaded windows app and I have run into a bit of a design snag. I’d like to follow a MVC type of design as much as possible; so I want to separate all of the business and event handling logic from the form.

To do this without passing references to controls and forms all over the place, it looks like a Mediator is the sure fire way to go. But, the downside of the classical Mediator is that all the controls must extend (or implement) a “Colleague” base class in order to be aware of the Mediator. I really don’t want to have to subclass every possible control that I might use.

Does anybody have some insight to share on this one? Is there another approach that I am missing?

[edit]
An idea I have is to implement the Mediator using an Observer to force the UI to update in response to events.
[/edit]

TIA
Chris


But I, being poor, have only my dreams.
I have spread my dreams under your feet;
Tread softly, because you tread on my dreams.
- Yeats

GeneralRe: A tough design decision Pin
Philip Fitzsimons19-Feb-03 1:55
Philip Fitzsimons19-Feb-03 1:55 
GeneralRe: A tough design decision Pin
Chris Austin19-Feb-03 3:59
Chris Austin19-Feb-03 3:59 
GeneralRe: A tough design decision Pin
Stephane Rodriguez.19-Feb-03 3:05
Stephane Rodriguez.19-Feb-03 3: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.