1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <Window x:Class="MyTests.ConfirmationWindow"
- 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:MyTests"
- mc:Ignorable="d"
- Title="ConfirmationWindow"
- MinHeight="120"
- Height="120"
- Width="300"
- WindowStartupLocation="CenterOwner"
- WindowStyle="None"
- ResizeMode="NoResize">
- <Border BorderBrush="Black"
- BorderThickness="1"
- MouseDown="Border_MouseDown">
- <Grid Background="#FF2D2D2D">
- <Grid.RowDefinitions>
- <RowDefinition Height="27*"/>
- <RowDefinition Height="13*"/>
- </Grid.RowDefinitions>
- <TextBlock Name="ErrorLabel"
- Text="Вы действительно хотите это сделать?"
- TextWrapping="Wrap"
- HorizontalAlignment="Center"
- Margin="19,10,19,0"
- VerticalAlignment="Top"
- Width="262"
- Background="{x:Null}">
- </TextBlock>
- <Grid Grid.Row="1">
- <StackPanel Orientation="Horizontal"
- HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <Button Content="Да"
- Height="30"
- Width="130"
- Margin="0,0,5,0"
- Click="YesButton"/>
- <Button Content="Нет"
- Height="30"
- Width="130"
- Margin="5,0,0,0"
- Click="NoButton"/>
- </StackPanel>
- </Grid>
- </Grid>
- </Border>
- </Window>
|