Advertisement
Diaxon

Untitled

Mar 21st, 2024
521
0
317 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.44 KB | None | 0 0
  1. <Window x:Class="Egzamin.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:Egzamin"
  7.        mc:Ignorable="d"
  8.        ResizeMode="NoResize"
  9.        SizeToContent="WidthAndHeight"
  10.        Title="Nadaj Przeslke" Width="147">
  11.  
  12.     <Grid Margin="20px">
  13.         <Grid.ColumnDefinitions>
  14.             <ColumnDefinition />
  15.             <ColumnDefinition />
  16.         </Grid.ColumnDefinitions>
  17.         <Grid.RowDefinitions>
  18.             <RowDefinition />
  19.             <RowDefinition />
  20.         </Grid.RowDefinitions>
  21.  
  22.         <Grid Grid.Row="0" Grid.Column="0">
  23.  
  24.             <Grid.ColumnDefinitions>
  25.                 <ColumnDefinition/>
  26.                 <ColumnDefinition/>
  27.             </Grid.ColumnDefinitions>
  28.             <Grid.RowDefinitions>
  29.                 <RowDefinition/>
  30.                 <RowDefinition/>
  31.                 <RowDefinition/>
  32.             </Grid.RowDefinitions>
  33.             <GroupBox Header="Rodzaj przesylki" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2">
  34.                 <StackPanel>
  35.                     <RadioButton>Pocztowka</RadioButton>
  36.                     <RadioButton>List</RadioButton>
  37.                     <RadioButton>Paczka</RadioButton>
  38.                 </StackPanel>
  39.             </GroupBox>
  40.            
  41.            
  42.             <Button Grid.Row="1" Grid.Column="0" Margin="0,10,0,10" Grid.ColumnSpan="2">Sprawdz Cene</Button>
  43.  
  44.             <Image Grid.Row="2" Grid.Column="0" Source="images/list.png" Margin="10px"/>
  45.             <TextBlock  Grid.Row="2" Grid.Column="1" FontSize="18" FontWeight="Bold" Margin="0,10,0,0">
  46.                 Cena: 1.5 zl
  47.             </TextBlock>
  48.  
  49.         </Grid>
  50.         <GroupBox Header="Dane adresowe" Grid.Row="0" Grid.Column="1">
  51.             <StackPanel>
  52.                 <Label>Ulica z numerem</Label>
  53.                 <TextBox Name="street"></TextBox>
  54.                 <Label>Kod pocztowy</Label>
  55.                 <TextBox Name="zipCode"></TextBox>
  56.                 <Label>Miasto</Label>
  57.                 <TextBox Name="city"></TextBox>
  58.             </StackPanel>
  59.         </GroupBox>
  60.         <Button Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,10,0,0">Zatwierdz</Button>
  61.     </Grid>
  62. </Window>
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement