P
(Pete Cresswell)
I've been perusing a "real-life" application and notice that for instance, in a
button's Click() event, they don't write the processing code. Instead, they
raise an event like AddNewRecord and then put the coding that would have been in
the click event in the AddNewRecord event handler.
It seems TB throughout the app, so I'm guessing it's some sort of Best Practice.
Anybody care to explain?
button's Click() event, they don't write the processing code. Instead, they
raise an event like AddNewRecord and then put the coding that would have been in
the click event in the AddNewRecord event handler.
It seems TB throughout the app, so I'm guessing it's some sort of Best Practice.
Anybody care to explain?