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>
2026-01-03 22:11:35 -05:00
|
|
|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
2022-05-23 00:58:58 +08:00
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:local="clr-namespace:CMM.Management.Control">
|
|
|
|
|
|
|
|
|
|
<Style TargetType="{x:Type local:MonCtrl}">
|
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>
2026-01-03 22:11:35 -05:00
|
|
|
<Setter Property="Margin" Value="10"/>
|
2022-05-23 00:58:58 +08:00
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="{x:Type local:MonCtrl}">
|
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>
2026-01-03 22:11:35 -05:00
|
|
|
<Border Background="#44000000" CornerRadius="8" Padding="15">
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
|
<!-- Monitor Name Header -->
|
|
|
|
|
<TextBlock Text="{Binding Mon.MonitorName, Mode=OneWay,
|
|
|
|
|
RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:MonCtrl}}}"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Margin="0,0,0,10"/>
|
|
|
|
|
<TextBlock Text="{Binding Mon.SerialNumber, Mode=OneWay,
|
|
|
|
|
RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:MonCtrl}}}"
|
|
|
|
|
FontSize="11"
|
|
|
|
|
Foreground="#AAAAAA"
|
|
|
|
|
Margin="0,0,0,15"/>
|
|
|
|
|
<!-- Dynamic controls container -->
|
|
|
|
|
<StackPanel x:Name="sp" Orientation="Vertical"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>
|
2022-05-23 00:58:58 +08:00
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
|
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>
2026-01-03 22:11:35 -05:00
|
|
|
</ResourceDictionary>
|