Refactor design for the second task
This commit is contained in:
parent
f130b631fc
commit
94cb10b3df
1 changed files with 29 additions and 1 deletions
|
@ -17,6 +17,11 @@
|
||||||
Value="15,0,15,0" />
|
Value="15,0,15,0" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style TargetType="TextBox" BasedOn="{StaticResource CommonStyle}" />
|
<Style TargetType="TextBox" BasedOn="{StaticResource CommonStyle}" />
|
||||||
|
<Style TargetType="TextBlock" BasedOn="{StaticResource CommonStyle}" />
|
||||||
|
<Style TargetType="ProgressBar" BasedOn="{StaticResource CommonStyle}">
|
||||||
|
<Setter Property="Height"
|
||||||
|
Value="20" />
|
||||||
|
</Style>
|
||||||
</Window.Resources>
|
</Window.Resources>
|
||||||
<Border>
|
<Border>
|
||||||
<Grid>
|
<Grid>
|
||||||
|
@ -46,6 +51,29 @@
|
||||||
<TextBlock x:Name="bytesBox" />
|
<TextBlock x:Name="bytesBox" />
|
||||||
<TextBlock x:Name="timeBox" />
|
<TextBlock x:Name="timeBox" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="*" />
|
||||||
|
<ColumnDefinition Width="*" />
|
||||||
|
<ColumnDefinition Width="*" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<ProgressBar x:Name="timeBar"
|
||||||
|
Minimum="0"
|
||||||
|
Maximum="1000"
|
||||||
|
Grid.ColumnSpan="3" />
|
||||||
|
<TextBlock Grid.Row="1"
|
||||||
|
Grid.Column="1"
|
||||||
|
TextAlignment="Center"
|
||||||
|
Text="500 ms" />
|
||||||
|
<TextBlock Grid.Row="1"
|
||||||
|
Grid.Column="2"
|
||||||
|
TextAlignment="Right"
|
||||||
|
Text="1000 ms" />
|
||||||
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
Loading…
Reference in a new issue