This PR is a refactor of the application so it uses an ApplicationContext to keep track of the Checker and the FullscreenLock form. This also made room for the use of events, instead of using a pointer to a text label inside the Checker class, to update the text in the FullscreenLock form. This adds a good amount of extra code, but the outcome is a clean messaging system between the checker and the form.
This branch also includes the changes I originally made for PR #8 (tray icon), because I made those commits to the master branch of my fork, and kept working on it from that point onwards.
Any feedback would be welcome as this is the first C# project I'm working on (and contributing to).
This PR is a refactor of the application so it uses an
ApplicationContext
to keep track of theChecker
and theFullscreenLock
form. This also made room for the use of events, instead of using a pointer to a text label inside theChecker
class, to update the text in theFullscreenLock
form. This adds a good amount of extra code, but the outcome is a clean messaging system between the checker and the form.This branch also includes the changes I originally made for PR #8 (tray icon), because I made those commits to the master branch of my fork, and kept working on it from that point onwards.
Any feedback would be welcome as this is the first C# project I'm working on (and contributing to).