Skip to content

Commit

Permalink
调整了状态栏的显示。初始显示消息以及警告消息背景色都做了改动。
Browse files Browse the repository at this point in the history
  • Loading branch information
situyiran committed Aug 26, 2015
1 parent d0c762d commit 0096cf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WPFSerialAssistant/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
<!--状态栏-->
<StatusBar DockPanel.Dock="Bottom" Name="statusBar" Background="#FF007ACC" Padding="2">
<StatusBarItem HorizontalAlignment="Left">
<TextBlock Name="statusInfoTextBlock" Foreground="White">就绪</TextBlock>
<TextBlock Name="statusInfoTextBlock" Foreground="White">欢迎使用串口助手!</TextBlock>
</StatusBarItem>
<StatusBarItem>
<ProgressBar Name="progressBar" Visibility="Collapsed" Width="100" Height="10" Value="10" SmallChange="1" IsIndeterminate="True"></ProgressBar>
<ProgressBar Name="progressBar" Foreground="White" BorderBrush="White" Background="{Binding ElementName=statusBar, Path=Background}" Visibility="Collapsed" Width="150" Height="10" Value="10" SmallChange="1" IsIndeterminate="True"></ProgressBar>
</StatusBarItem>
<StatusBarItem HorizontalAlignment="Right">
<TextBlock Name="timeDateTextBlock" Foreground="White"></TextBlock>
Expand Down Expand Up @@ -192,7 +192,7 @@
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal">
<TextBlock Grid.Column="0" TextAlignment="Center" Padding="5">自动发送时间间隔</TextBlock>
<TextBox Name="autoSendTimeoutTextBox" Text="1000" Grid.Column="1" Margin="10,0" Padding="5" Width="100"></TextBox>
<TextBox Name="autoSendIntervalTextBox" Text="1000" Grid.Column="1" Margin="10,0" Padding="5" Width="100"></TextBox>
<ComboBox Name="timeUnitComboBox" Grid.Column="2" Padding="5" Width="60">
<ComboBoxItem IsSelected="True">毫秒</ComboBoxItem>
<ComboBoxItem>秒钟</ComboBoxItem>
Expand Down

0 comments on commit 0096cf7

Please sign in to comment.