Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Page
- x:Class="Nazwiska.Form2"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:Nazwiska"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Height="847" Width="1269">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="3*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition Height="4*"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Grid.Row="0" Grid.Column="0" Text="Imie" FontSize="48" VerticalAlignment="Center" HorizontalTextAlignment="Center" />
- <TextBlock Grid.Row="1" Grid.Column="0" Text="Nazwisko" FontSize="48" VerticalAlignment="Center" HorizontalTextAlignment="Center" />
- <TextBlock Grid.Row="2" Grid.Column="0" Text="Miasto" FontSize="48" VerticalAlignment="Center" HorizontalTextAlignment="Center" />
- <TextBox Grid.Row="0" Grid.Column="1" x:Name="ImieTxt" FontSize="48" VerticalAlignment="Center" HorizontalTextAlignment="Center" Margin="0,0,20,0"/>
- <TextBox Grid.Row="1" Grid.Column="1" x:Name="NazwiskoTxt" FontSize="48" VerticalAlignment="Center" HorizontalTextAlignment="Center" Margin="0,0,20,0"/>
- <TextBox Grid.Row="2" Grid.Column="1" x:Name="AdresTxt" FontSize="48" VerticalAlignment="Center" HorizontalTextAlignment="Center" Margin="0,0,20,0"/>
- <StackPanel Grid.Row="4" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center">
- <RelativePanel>
- <Button Content="Dodaj" x:Name="dodajButton" RelativePanel.LeftOf="edytujButton" Width="150" Height="60" Background="LightGreen" Margin="0,0,300,0" FontSize="36" Click="dodajButton_Click"/>
- <Button Content="Edytuj" x:Name="edytujButton" RelativePanel.AlignHorizontalCenterWithPanel="True" Background="LightGreen" Width="150" Height="60" FontSize="36" Click="edytujButton_Click"/>
- <Button Content="Wróć" x:Name="powrocButton" RelativePanel.RightOf="edytujButton" Width="150" Background="LightGreen" Height="60" Margin="300,0,0,0" FontSize="36" Click="powrocButton_Click"/>
- </RelativePanel>
- </StackPanel>
- <StackPanel Grid.Row="3" Width="500" Height="274" Margin="68,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="1">
- <Image x:Name="Obrazek" VerticalAlignment="Center" HorizontalAlignment="Center" Height="274"/>
- </StackPanel>
- </Grid>
- </Page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement