1234567891011121314151617181920212223 |
- <Window x:Class="OpenAndSaveDialogFile.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:OpenAndSaveDialogFile"
- mc:Ignorable="d"
- Title="MainWindow" Height="450" Width="800" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
- <Border>
- <Border Background="LightGray" CornerRadius="20" Margin="10">
- <Grid>
- <StackPanel Margin="20" HorizontalAlignment="Center" VerticalAlignment="Top">
- <TextBox x:Name="QuestionOutput" Background="White" Height="200" Width="700" TextWrapping="Wrap" FontSize="20" IsReadOnly="True"/>
- <TextBox x:Name="AnswerInput" Margin="0,30,0,0" FontSize="20" Height="40"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,40">
- <Button Click="btnSave_Click" Height="40" Width="200" Content="Сохранить результат" Margin="5"/>
- <Button Click="btnNext_Click" Height="40" Width="200" Content="Далее" Margin="5"/>
- </StackPanel>
- </Grid>
- </Border>
- </Border>
- </Window>
|