* Replace Storage implementation with CrystalDiskInfo based implementation.
* Formatting.
* Code review.
* Code review.
* Increase space for attribute name in report.
* Implement dynamic disk handling for usage sensor.
Disable unused warnings.
* Further cleanup in NativeMethods.txt and referenced.
* Use PawnIO driver directly.
- Implemented PawnIO library in C#
- Builds in AnyCPU, x64 and x86
- Fixes#1895
* Implement review changes for PawnIO.
- Use existing Kernel32.CreateFile import.
- Move new DeviceIOControl to Kernel32.
- Replace Lazy Version loading with static property.
- Remove bin resource cache.
- Add constant for function name length.
* More review changes for PawnIO.
- Replace redundant internal checks with IsLoaded.
- Convert Win32 error code to HRESULT before returning it in
ExecuteHR()
* Drop KernelDriver
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Minor refactoring for #1699
* Implemented storage update interval for the UI
* Revert "Implemented storage update interval for the UI"
This reverts commit 977ff2f5518d420e35cadad17054f4e69c260df1.
* Revert "Minor refactoring for #1699"
This reverts commit 923f6d6f636a2a10ff44b8c23f84e8985ccbf667.
* Made update interval configurable for storage devices
* Changed label text m to min for consistency
* Revised 8e6c669 as requested
* ATA Update interval defaults to 1s in the UI
* Simplified storage update interval menu
* Add Selectable Network Interface in Web Server
Update the Web Server port form to allow for editing the network interface the web server is run on. Added storage of the interface to the settings so it is persisted.
This should resolve issue #1089 .
* Update HttpServer.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Add CSV file rotation method
Add a new option to choose how the csv file is being rotated.
Before it was everyday, which meant that we had to make sure the csv file was deleted before recording a new session.
Now by default it's set to "Per session" meaning anytime you start a new session it create a new CSV file.
Unless the daily method is used, in this case it will behave like before (1 file per day)
* Scale up the first TreeView column ("Sensor") on resize
The first ("Sensor") column being the most important and most likely the one that need the more space as hardware names can be pretty long.
I've changed so that the first column is the one scaling up when the tree view is being resized (instead of the last one)
* Change treeview column resize behaviour
I've made so that the separator a controlling the size of the column to the left instead of the right.
This make a lot easier to scale up the last column, but worth for the first one.
Thought the previous commit made it so that the first column size is resize by the total with of the tree view.
Sounds weird like that, but feel much more natural than before, and there is no overflow anymore.
* Fix typo in daily file rotation menu item tool tip
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Fix requested changes
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Add theme and plot thickness options
* Cleanup
* Fixed themes, and made it so the plot colors are updated when the theme is changed
* I think supporting themes beyond dark, light, and black is unecessary for the time being.
* recall theme from settings before instantiating plot
* Check for null setting
* committing to merge
* Fix
* Cleanup
* Cleanup
* Fix from comments. Thank you kamkie!
* Fixing last UI bugs
* Fix windowed plot not theming on relaunch, change theme, show plot
* Prevent Hardware Menu From Closing When Selecting Sensors To Turn Off
* Fix Double Declaration of PSU Menu Item in Designer. Not allowing Designer to Load in VS
* Remove Properties Resource File as it's auto generated.
* Implemented @pedrosimoes79 suggestion. Work and much cleaner. Thank you.
* Update MainForm.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Plot panel right fixed width when chnaging window width
* Fixed with plot panel or sensor panel as an option
* Fixed capitalisation of menu items.
Edited the names of menu items added for split panel scaling options.
Corrected some variable names to corrospond to menu item name changes.
* On computers with lots of devices/sensors, the timer update routine will cause a performance hit on the main window redraw when moving it around. This commit address the issue by moving the timer routine to a backgroundworker object that does the work in an async manner (thread).
* White spaces.
* White spaces.
* Keep the ui redraw in the main thread to prevent breaking the tray context menu for the instance.