Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm working on a WinForms .Net Recording App and I have a RecordingMgr in my BLL to listen for new events captured by another class. I want to display the events in my UI and I'm stuck as to what's the best way to do this. I can think of a few scenarios to handle this but all of them seem sub-optimal:

  1. Listen for and handle Recorded Events in both the UI and in the RecordingMgr
  2. After receiving the event in the RecordingMgr, raise it again so that the UI can pick it up
  3. Create a variable in RecordingMgr (e.g., a BindingList) that the UI can bind to and update it when an Event is received
  4. Ditch the RecordingMgr and just put the event recording logic in the UI

What's the best approach? Something above or something else?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.