- Nice popup UI with proper positioning - Professional README with badges - Remove debug logging - Add .claude/ to .gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
1.6 KiB
XML
41 lines
1.6 KiB
XML
<Window x:Class="DellMonitorControl.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Monitor Control"
|
|
Width="300" MinHeight="200" MaxHeight="500"
|
|
SizeToContent="Height"
|
|
WindowStyle="None"
|
|
AllowsTransparency="True"
|
|
Background="Transparent"
|
|
ResizeMode="NoResize"
|
|
ShowInTaskbar="False"
|
|
Topmost="True"
|
|
Deactivated="Window_Deactivated">
|
|
|
|
<Border Background="#F0333333" CornerRadius="8" BorderBrush="#555" BorderThickness="1" Margin="5">
|
|
<Border.Effect>
|
|
<DropShadowEffect BlurRadius="10" ShadowDepth="2" Opacity="0.5"/>
|
|
</Border.Effect>
|
|
|
|
<Grid MinHeight="180">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Header -->
|
|
<Border Grid.Row="0" Background="#444" CornerRadius="8,8,0,0" Padding="12,10">
|
|
<TextBlock Text="Monitor Control" Foreground="White" FontSize="14" FontWeight="SemiBold"/>
|
|
</Border>
|
|
|
|
<!-- Content -->
|
|
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" Padding="12">
|
|
<StackPanel Name="sp" VerticalAlignment="Center">
|
|
<TextBlock Name="loadingText" Text="Loading..." Foreground="LightGray" FontSize="12"
|
|
HorizontalAlignment="Center" Margin="0,40,0,40"/>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Grid>
|
|
</Border>
|
|
</Window>
|