Delubear / GlucoseTray

Tray Icon for displaying current BG information in taskbar.
MIT License
35 stars 21 forks source link

ToDo: investigate UI visual improvements #41

Closed Delubear closed 3 years ago

Delubear commented 3 years ago

Possible to convert the Settings windows form page to WPF/MAUI inside of the existing windows forms appliy?

Would give us a more modern look.

Delubear commented 3 years ago

Better yet, since I'm more of a webdev. See if we can utilize something like this https://www.infoq.com/articles/html-desktop-net/ for using HTML for the UI and have it bind back to c# code.

Delubear commented 3 years ago

WPF looks doable.

Currently attempting the HTML method using a WPF webbrowser control, but it is really lacking the finesse I was hoping. See html_ui branch for progress. https://www.dotnetfunda.com/articles/show/840/working-with-webbrowser-in-wpf

Straight WPF might be the best solution for a more modern look and feel. WPF will require adding true in the csproj, and adding [STATHREAD] to the main method.

Delubear commented 3 years ago

WPF UI is built, but is missing the behind the scenes functionality. Debating if its worth the change since WPF is missing things like numeric only inputs and will require more manual validation.

Delubear commented 3 years ago

Resolved as part of above mentioned PR.

Will be room for more improvements, but being off of Windows Forms should give a solid framework for moving forward.