1234567891011121314151617181920212223242526272829303132333435 |
- <Window xmlns="https://github.com/avaloniaui"
- 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"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:Class="_01_02_MDK.MainWindow"
- Title="Определитель типа треугольника">
- <Grid VerticalAlignment="Center">
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,10,0,10" Text="Введите длины сторон треугольников и узнайте его тип прямо сейчас!"/>
- <TextBlock Grid.Row="1" HorizontalAlignment="Left" Margin="50,10,0,0" Text="Первая сторона: " Height="20"/>
- <TextBox x:Name="firstSide" Grid.Row="1" HorizontalAlignment="Left" Margin="200,10,0,0" Height="20"/>
- <TextBlock Grid.Row="2" HorizontalAlignment="Left" Margin="50,10,0,0" Text="Вторая сторона: " Height="20"/>
- <TextBox x:Name="secondSide" Grid.Row="2" HorizontalAlignment="Left" Margin="200,10,0,0" Height="20"/>
- <TextBlock Grid.Row="3" HorizontalAlignment="Left" Margin="50,10,0,0" Text="Третья сторона: " Height="20"/>
- <TextBox x:Name="thirdSide" Grid.Row="3" HorizontalAlignment="Left" Margin="200,10,0,0" Height="20"/>
- <Button Grid.Row="4" x:Name="pressedButton" HorizontalAlignment="Center" Click="pressedButton_Click">Определить</Button>
- <TextBlock Grid.Row="5" x:Name="typeOfTriangle" HorizontalAlignment="Center" Height="20" Margin="10"></TextBlock>
- </Grid>
-
- </Window>
|