Click here to Skip to main content
15,914,447 members
Home / Discussions / C#
   

C#

 
AnswerRe: Trouble understanding IDisposable Pin
Giorgi Dalakishvili4-Nov-09 5:44
mentorGiorgi Dalakishvili4-Nov-09 5:44 
AnswerRe: Trouble understanding IDisposable Pin
Bassam Saoud4-Nov-09 6:29
Bassam Saoud4-Nov-09 6:29 
AnswerRe: Trouble understanding IDisposable Pin
PIEBALDconsult4-Nov-09 7:46
mvePIEBALDconsult4-Nov-09 7:46 
QuestionXml Pin
md_refay4-Nov-09 4:17
md_refay4-Nov-09 4:17 
AnswerRe: Xml Pin
Not Active4-Nov-09 7:15
mentorNot Active4-Nov-09 7:15 
GeneralRe: Xml Pin
Abhishek Sur4-Nov-09 8:39
professionalAbhishek Sur4-Nov-09 8:39 
AnswerRe: Xml Pin
Abhishek Sur4-Nov-09 8:40
professionalAbhishek Sur4-Nov-09 8:40 
QuestionModel-View-Presenter (MVP): events in IView vs Methods in Presenter Pin
art_haali4-Nov-09 3:18
art_haali4-Nov-09 3:18 
Hi there.
I am a beginner at MVP & one question strikes my mind:
isn't it simpler to create methods in Presenter, such as:
Save()
Start()
Stop()
and possible some events to which some view may subscribe.

instead of events in IView interface:
event SavePressed
event StartPressed
event StopPressed
and some methods which a presenter can call.

In this case Presenter is still separated from View level and capable of unit testing.
But also we eliminate the necessity to create IView interface and Presenter doesn't know anything about IView (explicitly, implicitly perhaps it will have to provide dome events such as StateChanged and so on).

thanks,
Ayrat
AnswerRe: Model-View-Presenter (MVP): events in IView vs Methods in Presenter Pin
Giorgi Dalakishvili4-Nov-09 3:29
mentorGiorgi Dalakishvili4-Nov-09 3:29 
Questionload image Pin
Arefeh Haghpnah4-Nov-09 3:13
Arefeh Haghpnah4-Nov-09 3:13 
AnswerCross post Pin
Not Active4-Nov-09 3:38
mentorNot Active4-Nov-09 3:38 
AnswerRe: load image Pin
Shameel4-Nov-09 4:06
professionalShameel4-Nov-09 4:06 
GeneralRe: load image Pin
Arefeh Haghpnah5-Nov-09 7:32
Arefeh Haghpnah5-Nov-09 7:32 
QuestionSendKeys in WebService Pin
Juergen Loewner4-Nov-09 2:16
Juergen Loewner4-Nov-09 2:16 
AnswerRe: SendKeys in WebService Pin
Dave Kreskowiak4-Nov-09 5:35
mveDave Kreskowiak4-Nov-09 5:35 
QuestionDealing with Lists as objects Pin
MatthysDT4-Nov-09 2:09
MatthysDT4-Nov-09 2:09 
AnswerRe: Dealing with Lists as objects Pin
Luc Pattyn4-Nov-09 2:34
sitebuilderLuc Pattyn4-Nov-09 2:34 
GeneralRe: Dealing with Lists as objects Pin
MatthysDT4-Nov-09 2:49
MatthysDT4-Nov-09 2:49 
GeneralRe: Dealing with Lists as objects Pin
Luc Pattyn4-Nov-09 4:05
sitebuilderLuc Pattyn4-Nov-09 4:05 
AnswerRe: Dealing with Lists as objects Pin
Shameel4-Nov-09 3:42
professionalShameel4-Nov-09 3:42 
QuestionRe: Dealing with Lists as objects Pin
MatthysDT4-Nov-09 18:51
MatthysDT4-Nov-09 18:51 
AnswerRe: Dealing with Lists as objects Pin
PIEBALDconsult4-Nov-09 3:56
mvePIEBALDconsult4-Nov-09 3:56 
QuestionGlass Effect using dwmapi.dll in windows xp on C# Pin
Viswa Teja4-Nov-09 2:01
Viswa Teja4-Nov-09 2:01 
AnswerRe: Glass Effect using dwmapi.dll in windows xp on C# [modified] Pin
Covean4-Nov-09 2:12
Covean4-Nov-09 2:12 
AnswerDumb attempt to bump post. Pin
Pete O'Hanlon4-Nov-09 2:41
mvePete O'Hanlon4-Nov-09 2:41 

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.