Create design for first task

This commit is contained in:
Manuel Thalmann 2024-03-22 00:08:20 +01:00
parent 9cdb89e033
commit b67f9953de

View file

@ -5,16 +5,43 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DT3"
mc:Ignorable="d"
Margin="10"
Title="MainWindow"
Height="450"
Width="800">
<Border Padding="10">
<Window.Resources>
<Style x:Key="CommonStyle" TargetType="FrameworkElement">
<Setter Property="Margin" Value="10" />
</Style>
<Style TargetType="Button" BasedOn="{StaticResource CommonStyle}">
<Setter Property="Padding"
Value="15,0,15,0"/>
</Style>
<Style TargetType="TextBox" BasedOn="{StaticResource CommonStyle}" />
</Window.Resources>
<Border>
<Grid>
<StackPanel Orientation="Vertical">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Button Content="GetUrl" />
<TextBox Grid.Column="2" />
</Grid>
<StackPanel Orientation="Horizontal">
</StackPanel>
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style TargetType="TextBlock" BasedOn="{StaticResource CommonStyle}">
<Setter Property="Background"
Value="LightGray" />
<Setter Property="Width"
Value="150" />
<Setter Property="Padding"
Value="5"/>
</Style>
</StackPanel.Resources>
<TextBlock x:Name="bytesBox" />
<TextBlock x:Name="timeBox" />
</StackPanel>
</StackPanel>
</Grid>