Providing user feedback
One essential facet of a great application is keeping the end users up to date with what's going on in the application. If they click on a function button, they should be informed as to the progress and/or the status of the operation. Without adequate feedback, the user can be left wondering whether a particular operation worked and may attempt to run it several times, possibly causing errors.
It is therefore essential to implement a feedback system into our application framework. So far in this book, we've seen the name of the FeedbackManager
class in a few places, although we've seen very little implementation. Let's now see how we can implement a working feedback system in our application framework, starting with the Feedback
class that holds the individual feedback messages:
using System; using System.ComponentModel; using CompanyName.ApplicationName.DataModels.Enums; using CompanyName.ApplicationName.DataModels.Interfaces; using CompanyName...