You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
<Window x:Class="Capture.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:local="clr-namespace:Capture"
|
|
mc:Ignorable="d"
|
|
Title="MainWindow" Height="450" Width="800" AllowsTransparency="True" WindowStyle="None" ResizeMode="CanResizeWithGrip"
|
|
MouseDown="Window_MouseDown">
|
|
<Window.Background>
|
|
<SolidColorBrush Color="White" Opacity="0.002"/>
|
|
</Window.Background>
|
|
<Window.DataContext>
|
|
<local:OptionContext/>
|
|
</Window.DataContext>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="{Binding ButtonHeight}"/>
|
|
</Grid.RowDefinitions>
|
|
<Border BorderThickness="{Binding FrameThickness}" BorderBrush="{Binding FrameColor}"/>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="{Binding CloseButtonWidth}"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Button x:Name="btnClose" Grid.Column="0" Content="❎" Click="btnClose_Click"/>
|
|
<Button x:Name="btnCapture" Grid.Column="1" Content="Capture" Click="btnCapture_Click"/>
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|
|
|