Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="WpfApp3.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:WpfApp3"
- mc:Ignorable="d"
- Title="MainWindow" Height="450" Width="800">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition>
- </ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Canvas Grid.Row="0" Grid.Column="0"></Canvas>
- <Grid Grid.Row="0" Grid.Column="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Label Height="40" FontSize="20" Grid.Row="0" Grid.Column="0">F(x) = </Label>
- <TextBox x:Name="paramter_a" Grid.Row="0" Grid.Column="1" Height="40" FontSize="20"></TextBox>
- <Label Height="40" FontSize="20" Grid.Row="0" Grid.Column="2">x^2 +</Label>
- <TextBox x:Name="paramter_b" Grid.Row="0" Grid.Column="3" Height="40" FontSize="20"></TextBox>
- <Label Height="40" FontSize="20" Grid.Row="0" Grid.Column="4">x +</Label>
- <TextBox x:Name="paramter_c" Grid.Row="0" Grid.Column="5" Height="40" FontSize="20"></TextBox>
- <Label Grid.Row="1" Grid.Column="1" Height="40" FontSize="20">x1 = </Label>
- <Label Grid.Row="1" Grid.Column="2" Height="40" FontSize="20" x:Name="out_x1"></Label>
- <Label Grid.Row="1" Grid.Column="3" Height="40" FontSize="20">x2 =</Label>
- <Label Grid.Row="1" Grid.Column="4" Height="40" FontSize="20" x:Name="out_x2"></Label>
- <Button x:Name="oblicz" Grid.Row="2" Grid.Column="5" Click="oblicz_Click">Oblicz</Button>
- <Label x:Name="komentarz" Grid.Row="2" Grid.ColumnSpan="5" FontSize="16" VerticalAlignment="Center">OBLICZANIE FUNKCJI KWADRATOWEJ</Label>
- </Grid>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment