Create design for first task
This commit is contained in:
parent
9cdb89e033
commit
b67f9953de
1 changed files with 31 additions and 4 deletions
|
@ -5,16 +5,43 @@
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:DT3"
|
xmlns:local="clr-namespace:DT3"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Margin="10"
|
|
||||||
Title="MainWindow"
|
Title="MainWindow"
|
||||||
Height="450"
|
Height="450"
|
||||||
Width="800">
|
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>
|
<Grid>
|
||||||
<StackPanel Orientation="Vertical">
|
<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 Orientation="Horizontal">
|
||||||
</StackPanel>
|
<StackPanel.Resources>
|
||||||
<StackPanel Orientation="Horizontal">
|
<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>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Loading…
Reference in a new issue