MainWindow.xaml 1.9 KB

1234567891011121314151617181920
  1. <Window x:Class="WpfApp1.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:WpfApp1"
  7. mc:Ignorable="d"
  8. Background="Bisque"
  9. Title="Вычисление функции" Height="450" Width="800">
  10. <Grid>
  11. <TextBlock x:Name="result_txt" HorizontalAlignment="Left" FontWeight="Bold" Margin="553,100,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="229"/>
  12. <TextBlock TextWrapping="Wrap" RenderTransformOrigin="2.122,9.812" Margin="584,59,44,339" FontWeight="Bold" Text="Цикл с предусловием"/>
  13. <TextBlock TextWrapping="Wrap" Text="Цикл с параметром" FontWeight="Bold" RenderTransformOrigin="2.122,9.812" Margin="323,59,306,339"/>
  14. <TextBlock x:Name="result2_txt" HorizontalAlignment="Left" Margin="298,100,0,0" FontWeight="Bold" TextWrapping="Wrap" VerticalAlignment="Top" Width="229"/>
  15. <Button Content="Цикл for" HorizontalAlignment="Left" FontWeight="Bold" Margin="62,155,0,0" VerticalAlignment="Top" Width="86" Height="28" Click="Button_Click"/>
  16. <Button Content="Цикл while" HorizontalAlignment="Left" FontWeight="Bold" Margin="62,237,0,0" VerticalAlignment="Top" Width="86" Height="28" Click="Button_Click_1"/>
  17. <Button Content="О программе" HorizontalAlignment="Left" FontWeight="Bold" Margin="61,298,0,0" VerticalAlignment="Top" Width="87" Height="25" Click="Button_Click_2"/>
  18. <Button Content="Инструкция" HorizontalAlignment="Left" FontWeight="Bold" Margin="61,342,0,0" VerticalAlignment="Top" Width="87" Height="25" Click="Button_Click_3"/>
  19. </Grid>
  20. </Window>