|
1 | | -<Window x:Class="ShowWrite.AdjustVideoWindow" |
2 | | - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | | - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | | - Title="画面调节" Height="409" Width="364" |
5 | | - WindowStartupLocation="CenterOwner"> |
6 | | - <StackPanel Margin="15,0,15,0" VerticalAlignment="Center" Height="332"> |
7 | | - <TextBlock Text="亮度" Foreground="Black" Margin="0,5"/> |
8 | | - <Slider x:Name="BrightnessSlider" Minimum="-100" Maximum="100" TickFrequency="1" ValueChanged="BrightnessSlider_ValueChanged"/> |
9 | | - |
10 | | - <TextBlock Text="对比度" Foreground="Black" Margin="0,10,0,5"/> |
11 | | - <Slider x:Name="ContrastSlider" Minimum="0.1" Maximum="3" TickFrequency="0.1" ValueChanged="ContrastSlider_ValueChanged"/> |
12 | | - <TextBlock Text="旋转方向:" FontWeight="Bold" Margin="0,0,0,10"/> |
13 | | - <ComboBox x:Name="RotationBox" Width="150"> |
14 | | - <ComboBoxItem Content="0°" Tag="0"/> |
15 | | - <ComboBoxItem Content="90°" Tag="90"/> |
16 | | - <ComboBoxItem Content="180°" Tag="180"/> |
17 | | - <ComboBoxItem Content="270°" Tag="270"/> |
18 | | - </ComboBox> |
19 | | - |
20 | | - <CheckBox x:Name="MirrorHCheck" Content="水平镜像" Margin="0,15,0,5"/> |
21 | | - <CheckBox x:Name="MirrorVCheck" Content="垂直镜像" Margin="0,0,0,15"/> |
22 | | - |
23 | | - <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Height="60"> |
24 | | - <Button Content="确定" Width="80" Margin="10" Click="Ok_Click"/> |
25 | | - <Button Content="取消" Width="80" Margin="10" IsCancel="True"/> |
26 | | - </StackPanel> |
27 | | - </StackPanel> |
28 | | -</Window> |
| 1 | +<Window x:Class="ShowWrite.AdjustVideoWindow" |
| 2 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 3 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 4 | + Title="画面调节" Height="409" Width="364" |
| 5 | + WindowStartupLocation="CenterOwner"> |
| 6 | + <StackPanel Margin="15,0,15,0" VerticalAlignment="Center" Height="332"> |
| 7 | + <TextBlock Text="亮度" Foreground="Black" Margin="0,5"/> |
| 8 | + <Slider x:Name="BrightnessSlider" Minimum="-100" Maximum="100" TickFrequency="1" ValueChanged="BrightnessSlider_ValueChanged"/> |
| 9 | + |
| 10 | + <TextBlock Text="对比度" Foreground="Black" Margin="0,10,0,5"/> |
| 11 | + <Slider x:Name="ContrastSlider" Minimum="0.1" Maximum="3" TickFrequency="0.1" ValueChanged="ContrastSlider_ValueChanged"/> |
| 12 | + <TextBlock Text="旋转方向:" FontWeight="Bold" Margin="0,0,0,10"/> |
| 13 | + <ComboBox x:Name="RotationBox" Width="150"> |
| 14 | + <ComboBoxItem Content="0°" Tag="0"/> |
| 15 | + <ComboBoxItem Content="90°" Tag="90"/> |
| 16 | + <ComboBoxItem Content="180°" Tag="180"/> |
| 17 | + <ComboBoxItem Content="270°" Tag="270"/> |
| 18 | + </ComboBox> |
| 19 | + |
| 20 | + <CheckBox x:Name="MirrorHCheck" Content="水平镜像" Margin="0,15,0,5"/> |
| 21 | + <CheckBox x:Name="MirrorVCheck" Content="垂直镜像" Margin="0,0,0,15"/> |
| 22 | + |
| 23 | + <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Height="60"> |
| 24 | + <Button Content="确定" Width="80" Margin="10" Click="Ok_Click"/> |
| 25 | + <Button Content="取消" Width="80" Margin="10" IsCancel="True"/> |
| 26 | + </StackPanel> |
| 27 | + </StackPanel> |
| 28 | +</Window> |
0 commit comments