resources and housekeeping #499
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and fixes to the LogExpert UI, focusing on resource management, UI consistency, and minor code quality enhancements. The most significant changes include the addition of new localized resource strings, improved handling of resource images, UI adjustments for filter controls, and code style improvements for clarity and maintainability.
Resource and Localization Enhancements:
Resources.Designer.csandResources.resx, enabling user notifications when plugin trust settings change. [1] [2] [3]UI and Resource Management:
pnlProFilterLabel,btnFilterDown,btnFilterUp, andbtnToggleHighlightPanel) from the designer file to a dedicatedApplyResourceImagesmethod inLogWindow.cs, improving maintainability and separation of concerns. [1] [2] [3] [4] [5]Code Quality and Consistency:
Closing→FormClosing) and improved string handling by replacing""withstring.Emptyfor clarity. [1] [2] [3]_ = ...) where return values are not used, aligning with modern C# conventions. [1] [2] [3]Minor Refactoring and Static Analysis:
StringComparison.OrdinalIgnoreCase. [1] [2]GetIcon→GetLedIcon). [1] [2]UI Framework and Theme Adjustments:
DocumentStyleproperty for the dock panel toDockingWindowfor improved window management and consistency.