2
0

Add brightness/contrast sliders, input source switching, and 9-language localization

- Add VCP commands for brightness (10), contrast (12), input source (60)
- Fix UTF-16 encoding for monitor data parsing
- Add system tray app with monitor controls
- Add localization for en, es, fr, de, zh, ja, pt, it, hi
- Update to .NET 9.0
- Add LICENSE and README

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-03 22:11:35 -05:00
parent 6b656ead2d
commit 0352c6b755
34 changed files with 1640 additions and 158 deletions

View File

@@ -1,21 +1,15 @@
<Window x:Class="DellMonitorControl.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:tb="clr-namespace:Hardcodet.Wpf.TaskbarNotification;assembly=Hardcodet.Wpf.TaskbarNotification.Net6"
xmlns:local="clr-namespace:DellMonitorControl"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<tb:TaskbarIcon x:Name="taskbar"
IconSource="/DellLogo.ico"
ToolTipText="螢幕開關"
PopupActivation="LeftOrDoubleClick">
<tb:TaskbarIcon.TrayPopup>
<local:ControlPanel x:Name="comtrolPanel"/>
</tb:TaskbarIcon.TrayPopup>
</tb:TaskbarIcon>
</Grid>
Title="Monitor Control" Height="400" Width="320"
WindowStyle="ToolWindow"
ResizeMode="CanResize"
Background="#333333">
<ScrollViewer VerticalScrollBarVisibility="Auto" Margin="10">
<StackPanel Name="sp">
<TextBlock Text="Monitor Control" Foreground="White" FontSize="16" FontWeight="Bold"/>
<TextBlock Text="Loading..." Foreground="LightGray" FontSize="12" Margin="0,10,0,0"/>
</StackPanel>
</ScrollViewer>
</Window>