المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Question of reason for rule "return value void for event handling delegates"



C# Programming
07-01-2009, 01:50 PM
Hi,

lately I worked on some applications using the Model View Preseter Pattern combined with events with return values to ******* Gui controls. It works pretty good so I´m wondering why there is a convention saying events should have the return value 'void'.

I would appreciate if someone could explain the reason for that rule...

Thx in advance...

Chamundi