I've tried to further separate the UI logic from the Backend logic.
Button styles are now in a separate resource dictionary for cleaner code. These styles manage the colors based on their state. Therefore, there no more visual logic in the MainWindow.
I've also simplified the button style definitions.
OItherwise, some small optimization here and there, but the look & feel as well as behavior remain the exact same.
I've tried to further separate the UI logic from the Backend logic.
Button styles are now in a separate resource dictionary for cleaner code. These styles manage the colors based on their state. Therefore, there no more visual logic in the MainWindow.
I've also simplified the button style definitions.
OItherwise, some small optimization here and there, but the look & feel as well as behavior remain the exact same.