diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml
index d4e39dc..d377ac2 100644
--- a/Correlator/Dialog/SimplyAuditionDialog.xaml
+++ b/Correlator/Dialog/SimplyAuditionDialog.xaml
@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cvt="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:vm="clr-namespace:Correlator.ViewModels"
@@ -88,9 +87,9 @@
-
+
-
+
@@ -207,7 +205,6 @@
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml
index d4e39dc..d377ac2 100644
--- a/Correlator/Dialog/SimplyAuditionDialog.xaml
+++ b/Correlator/Dialog/SimplyAuditionDialog.xaml
@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cvt="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:vm="clr-namespace:Correlator.ViewModels"
@@ -88,9 +87,9 @@
-
+
-
+
@@ -207,7 +205,6 @@
diff --git a/Correlator/Style/FunctionButtonStyle.xaml b/Correlator/Style/FunctionButtonStyle.xaml
index a7a99dd..269fed0 100644
--- a/Correlator/Style/FunctionButtonStyle.xaml
+++ b/Correlator/Style/FunctionButtonStyle.xaml
@@ -3,8 +3,8 @@
x:Key="FunctionButtonStyle"
BasedOn="{StaticResource ButtonBaseStyle}"
TargetType="Button">
-
-
+
+
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml
index d4e39dc..d377ac2 100644
--- a/Correlator/Dialog/SimplyAuditionDialog.xaml
+++ b/Correlator/Dialog/SimplyAuditionDialog.xaml
@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cvt="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:vm="clr-namespace:Correlator.ViewModels"
@@ -88,9 +87,9 @@
-
+
-
+
@@ -207,7 +205,6 @@
diff --git a/Correlator/Style/FunctionButtonStyle.xaml b/Correlator/Style/FunctionButtonStyle.xaml
index a7a99dd..269fed0 100644
--- a/Correlator/Style/FunctionButtonStyle.xaml
+++ b/Correlator/Style/FunctionButtonStyle.xaml
@@ -3,8 +3,8 @@
x:Key="FunctionButtonStyle"
BasedOn="{StaticResource ButtonBaseStyle}"
TargetType="Button">
-
-
+
+
diff --git a/Correlator/Style/RadioButtonStyle.xaml b/Correlator/Style/RadioButtonStyle.xaml
index 9eea622..e84438c 100644
--- a/Correlator/Style/RadioButtonStyle.xaml
+++ b/Correlator/Style/RadioButtonStyle.xaml
@@ -16,7 +16,7 @@
-
+
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml
index d4e39dc..d377ac2 100644
--- a/Correlator/Dialog/SimplyAuditionDialog.xaml
+++ b/Correlator/Dialog/SimplyAuditionDialog.xaml
@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cvt="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:vm="clr-namespace:Correlator.ViewModels"
@@ -88,9 +87,9 @@
-
+
-
+
@@ -207,7 +205,6 @@
diff --git a/Correlator/Style/FunctionButtonStyle.xaml b/Correlator/Style/FunctionButtonStyle.xaml
index a7a99dd..269fed0 100644
--- a/Correlator/Style/FunctionButtonStyle.xaml
+++ b/Correlator/Style/FunctionButtonStyle.xaml
@@ -3,8 +3,8 @@
x:Key="FunctionButtonStyle"
BasedOn="{StaticResource ButtonBaseStyle}"
TargetType="Button">
-
-
+
+
diff --git a/Correlator/Style/RadioButtonStyle.xaml b/Correlator/Style/RadioButtonStyle.xaml
index 9eea622..e84438c 100644
--- a/Correlator/Style/RadioButtonStyle.xaml
+++ b/Correlator/Style/RadioButtonStyle.xaml
@@ -16,7 +16,7 @@
-
+
diff --git a/Correlator/Style/StaticBrushResource.xaml b/Correlator/Style/StaticBrushResource.xaml
new file mode 100644
index 0000000..3332ed9
--- /dev/null
+++ b/Correlator/Style/StaticBrushResource.xaml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml
index d4e39dc..d377ac2 100644
--- a/Correlator/Dialog/SimplyAuditionDialog.xaml
+++ b/Correlator/Dialog/SimplyAuditionDialog.xaml
@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cvt="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:vm="clr-namespace:Correlator.ViewModels"
@@ -88,9 +87,9 @@
-
+
-
+
@@ -207,7 +205,6 @@
diff --git a/Correlator/Style/FunctionButtonStyle.xaml b/Correlator/Style/FunctionButtonStyle.xaml
index a7a99dd..269fed0 100644
--- a/Correlator/Style/FunctionButtonStyle.xaml
+++ b/Correlator/Style/FunctionButtonStyle.xaml
@@ -3,8 +3,8 @@
x:Key="FunctionButtonStyle"
BasedOn="{StaticResource ButtonBaseStyle}"
TargetType="Button">
-
-
+
+
diff --git a/Correlator/Style/RadioButtonStyle.xaml b/Correlator/Style/RadioButtonStyle.xaml
index 9eea622..e84438c 100644
--- a/Correlator/Style/RadioButtonStyle.xaml
+++ b/Correlator/Style/RadioButtonStyle.xaml
@@ -16,7 +16,7 @@
-
+
diff --git a/Correlator/Style/StaticBrushResource.xaml b/Correlator/Style/StaticBrushResource.xaml
new file mode 100644
index 0000000..3332ed9
--- /dev/null
+++ b/Correlator/Style/StaticBrushResource.xaml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/Correlator/Style/StaticColorResource.xaml b/Correlator/Style/StaticColorResource.xaml
index a370b40..0228898 100644
--- a/Correlator/Style/StaticColorResource.xaml
+++ b/Correlator/Style/StaticColorResource.xaml
@@ -1,4 +1,4 @@
-
-
+ #88000000
+ #FF224F86
\ No newline at end of file
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml
index d4e39dc..d377ac2 100644
--- a/Correlator/Dialog/SimplyAuditionDialog.xaml
+++ b/Correlator/Dialog/SimplyAuditionDialog.xaml
@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cvt="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:vm="clr-namespace:Correlator.ViewModels"
@@ -88,9 +87,9 @@
-
+
-
+
@@ -207,7 +205,6 @@
diff --git a/Correlator/Style/FunctionButtonStyle.xaml b/Correlator/Style/FunctionButtonStyle.xaml
index a7a99dd..269fed0 100644
--- a/Correlator/Style/FunctionButtonStyle.xaml
+++ b/Correlator/Style/FunctionButtonStyle.xaml
@@ -3,8 +3,8 @@
x:Key="FunctionButtonStyle"
BasedOn="{StaticResource ButtonBaseStyle}"
TargetType="Button">
-
-
+
+
diff --git a/Correlator/Style/RadioButtonStyle.xaml b/Correlator/Style/RadioButtonStyle.xaml
index 9eea622..e84438c 100644
--- a/Correlator/Style/RadioButtonStyle.xaml
+++ b/Correlator/Style/RadioButtonStyle.xaml
@@ -16,7 +16,7 @@
-
+
diff --git a/Correlator/Style/StaticBrushResource.xaml b/Correlator/Style/StaticBrushResource.xaml
new file mode 100644
index 0000000..3332ed9
--- /dev/null
+++ b/Correlator/Style/StaticBrushResource.xaml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/Correlator/Style/StaticColorResource.xaml b/Correlator/Style/StaticColorResource.xaml
index a370b40..0228898 100644
--- a/Correlator/Style/StaticColorResource.xaml
+++ b/Correlator/Style/StaticColorResource.xaml
@@ -1,4 +1,4 @@
-
-
+ #88000000
+ #FF224F86
\ No newline at end of file
diff --git a/Correlator/ViewModels/AlertControlDialogViewModel.cs b/Correlator/ViewModels/AlertControlDialogViewModel.cs
index 9f4abc2..106a17b 100644
--- a/Correlator/ViewModels/AlertControlDialogViewModel.cs
+++ b/Correlator/ViewModels/AlertControlDialogViewModel.cs
@@ -1,4 +1,5 @@
using System;
+using System.Windows.Media;
using Correlator.Util;
using Prism.Commands;
using Prism.Mvvm;
@@ -37,9 +38,9 @@
}
}
- private string _alertIconColor;
+ private SolidColorBrush _alertIconColor;
- public string AlertIconColor
+ public SolidColorBrush AlertIconColor
{
get => _alertIconColor;
private set
@@ -87,15 +88,15 @@
{
case AlertType.Question:
AlertIcon = "\ue68a";
- AlertIconColor = "RoyalBlue";
+ AlertIconColor = new SolidColorBrush(Color.FromRgb(34,79,134));
break;
case AlertType.Warning:
AlertIcon = "\ue701";
- AlertIconColor = "DarkOrange";
+ AlertIconColor = new SolidColorBrush(Colors.DarkOrange);
break;
case AlertType.Error:
AlertIcon = "\ue667";
- AlertIconColor = "Red";
+ AlertIconColor = new SolidColorBrush(Colors.Red);
break;
default:
throw new ArgumentOutOfRangeException();
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml
index d4e39dc..d377ac2 100644
--- a/Correlator/Dialog/SimplyAuditionDialog.xaml
+++ b/Correlator/Dialog/SimplyAuditionDialog.xaml
@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cvt="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:vm="clr-namespace:Correlator.ViewModels"
@@ -88,9 +87,9 @@
-
+
-
+
@@ -207,7 +205,6 @@
diff --git a/Correlator/Style/FunctionButtonStyle.xaml b/Correlator/Style/FunctionButtonStyle.xaml
index a7a99dd..269fed0 100644
--- a/Correlator/Style/FunctionButtonStyle.xaml
+++ b/Correlator/Style/FunctionButtonStyle.xaml
@@ -3,8 +3,8 @@
x:Key="FunctionButtonStyle"
BasedOn="{StaticResource ButtonBaseStyle}"
TargetType="Button">
-
-
+
+
diff --git a/Correlator/Style/RadioButtonStyle.xaml b/Correlator/Style/RadioButtonStyle.xaml
index 9eea622..e84438c 100644
--- a/Correlator/Style/RadioButtonStyle.xaml
+++ b/Correlator/Style/RadioButtonStyle.xaml
@@ -16,7 +16,7 @@
-
+
diff --git a/Correlator/Style/StaticBrushResource.xaml b/Correlator/Style/StaticBrushResource.xaml
new file mode 100644
index 0000000..3332ed9
--- /dev/null
+++ b/Correlator/Style/StaticBrushResource.xaml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/Correlator/Style/StaticColorResource.xaml b/Correlator/Style/StaticColorResource.xaml
index a370b40..0228898 100644
--- a/Correlator/Style/StaticColorResource.xaml
+++ b/Correlator/Style/StaticColorResource.xaml
@@ -1,4 +1,4 @@
-
-
+ #88000000
+ #FF224F86
\ No newline at end of file
diff --git a/Correlator/ViewModels/AlertControlDialogViewModel.cs b/Correlator/ViewModels/AlertControlDialogViewModel.cs
index 9f4abc2..106a17b 100644
--- a/Correlator/ViewModels/AlertControlDialogViewModel.cs
+++ b/Correlator/ViewModels/AlertControlDialogViewModel.cs
@@ -1,4 +1,5 @@
using System;
+using System.Windows.Media;
using Correlator.Util;
using Prism.Commands;
using Prism.Mvvm;
@@ -37,9 +38,9 @@
}
}
- private string _alertIconColor;
+ private SolidColorBrush _alertIconColor;
- public string AlertIconColor
+ public SolidColorBrush AlertIconColor
{
get => _alertIconColor;
private set
@@ -87,15 +88,15 @@
{
case AlertType.Question:
AlertIcon = "\ue68a";
- AlertIconColor = "RoyalBlue";
+ AlertIconColor = new SolidColorBrush(Color.FromRgb(34,79,134));
break;
case AlertType.Warning:
AlertIcon = "\ue701";
- AlertIconColor = "DarkOrange";
+ AlertIconColor = new SolidColorBrush(Colors.DarkOrange);
break;
case AlertType.Error:
AlertIcon = "\ue667";
- AlertIconColor = "Red";
+ AlertIconColor = new SolidColorBrush(Colors.Red);
break;
default:
throw new ArgumentOutOfRangeException();
diff --git a/Correlator/ViewModels/AlertMessageDialogViewModel.cs b/Correlator/ViewModels/AlertMessageDialogViewModel.cs
index 284214b..3da0c13 100644
--- a/Correlator/ViewModels/AlertMessageDialogViewModel.cs
+++ b/Correlator/ViewModels/AlertMessageDialogViewModel.cs
@@ -1,4 +1,5 @@
using System;
+using System.Windows.Media;
using Correlator.Util;
using Prism.Commands;
using Prism.Mvvm;
@@ -37,9 +38,9 @@
}
}
- private string _alertIconColor;
+ private SolidColorBrush _alertIconColor;
- public string AlertIconColor
+ public SolidColorBrush AlertIconColor
{
get => _alertIconColor;
private set
@@ -78,15 +79,15 @@
{
case AlertType.Question:
AlertIcon = "\ue68a";
- AlertIconColor = "RoyalBlue";
+ AlertIconColor = new SolidColorBrush(Color.FromRgb(34,79,134));
break;
case AlertType.Warning:
AlertIcon = "\ue701";
- AlertIconColor = "DarkOrange";
+ AlertIconColor = new SolidColorBrush(Colors.DarkOrange);
break;
case AlertType.Error:
AlertIcon = "\ue667";
- AlertIconColor = "Red";
+ AlertIconColor = new SolidColorBrush(Colors.Red);
break;
default:
throw new ArgumentOutOfRangeException();
diff --git a/Correlator/App.xaml b/Correlator/App.xaml
index 9efeee8..ec7965c 100644
--- a/Correlator/App.xaml
+++ b/Correlator/App.xaml
@@ -18,6 +18,7 @@
+
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index df30666..7d21804 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -341,6 +341,10 @@
MSBuild:Compile
+ MSBuild:Compile
+ Designer
+
+
Designer
MSBuild:Compile
diff --git a/Correlator/Dialog/AddSoundSpeedDialog.xaml b/Correlator/Dialog/AddSoundSpeedDialog.xaml
index 5439deb..c115cc6 100644
--- a/Correlator/Dialog/AddSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/AddSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertControlDialog.xaml b/Correlator/Dialog/AlertControlDialog.xaml
index 1a81bb0..cae115e 100644
--- a/Correlator/Dialog/AlertControlDialog.xaml
+++ b/Correlator/Dialog/AlertControlDialog.xaml
@@ -88,8 +88,7 @@
Margin="20"
Command="{Binding AlertDetermineCommand}"
Content="确定"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/AlertMessageDialog.xaml b/Correlator/Dialog/AlertMessageDialog.xaml
index 5d75932..88a046a 100644
--- a/Correlator/Dialog/AlertMessageDialog.xaml
+++ b/Correlator/Dialog/AlertMessageDialog.xaml
@@ -78,8 +78,7 @@
HorizontalAlignment="Right"
Command="{Binding CloseAlertCommand}"
Content="知道了"
- FontSize="16"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/ApplicationInfoDialog.xaml b/Correlator/Dialog/ApplicationInfoDialog.xaml
index 8af203e..aebf808 100644
--- a/Correlator/Dialog/ApplicationInfoDialog.xaml
+++ b/Correlator/Dialog/ApplicationInfoDialog.xaml
@@ -25,7 +25,7 @@
FontFamily="宋体"
FontSize="50"
FontWeight="Bold"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="相关仪" />
diff --git a/Correlator/Dialog/CheckResponseDialog.xaml b/Correlator/Dialog/CheckResponseDialog.xaml
index 38df797..288d3fd 100644
--- a/Correlator/Dialog/CheckResponseDialog.xaml
+++ b/Correlator/Dialog/CheckResponseDialog.xaml
@@ -40,7 +40,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -77,7 +77,6 @@
x:Name="ReCheckButton"
Width="120"
HorizontalAlignment="Right"
- hc:BorderElement.CornerRadius="22"
Content="检查"
FontSize="18"
IsEnabled="False"
@@ -111,7 +110,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
Style="{StaticResource FunctionButtonStyle}" />
@@ -169,7 +167,6 @@
Height="35"
Margin="0,10"
VerticalAlignment="Top"
- hc:BorderElement.CornerRadius="17.5"
Content="下一步"
IsEnabled="{Binding StepIndex, ElementName=RedSensorStepBar, Converter={StaticResource StateConverter}}"
Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/DetectNoiseDialog.xaml b/Correlator/Dialog/DetectNoiseDialog.xaml
index ac882b1..59844b0 100644
--- a/Correlator/Dialog/DetectNoiseDialog.xaml
+++ b/Correlator/Dialog/DetectNoiseDialog.xaml
@@ -122,7 +122,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding LeftNoiseValue, StringFormat={}{0:F2}}" />
@@ -162,7 +162,7 @@
HorizontalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="50"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RightNoiseValue, StringFormat={}{0:F2}}" />
@@ -180,7 +180,7 @@
diff --git a/Correlator/Dialog/EditSoundSpeedDialog.xaml b/Correlator/Dialog/EditSoundSpeedDialog.xaml
index 3bdcfbc..442cd41 100644
--- a/Correlator/Dialog/EditSoundSpeedDialog.xaml
+++ b/Correlator/Dialog/EditSoundSpeedDialog.xaml
@@ -143,7 +143,7 @@
Command="{Binding DetermineParamCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/ImportResponseDialog.xaml b/Correlator/Dialog/ImportResponseDialog.xaml
index 6f3274b..45f1154 100644
--- a/Correlator/Dialog/ImportResponseDialog.xaml
+++ b/Correlator/Dialog/ImportResponseDialog.xaml
@@ -36,7 +36,7 @@
ShadowDepth="0"
Color="Blue" />
-
+
@@ -130,12 +130,12 @@
+ Style="{StaticResource FunctionButtonStyle}" />
@@ -176,16 +176,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -225,16 +228,19 @@
+ Style="{StaticResource FunctionButtonStyle}" />
-
+
@@ -243,12 +249,12 @@
Grid.Row="3"
Width="200"
Height="35"
- Margin="0,10"
+ Margin="0,20"
Command="{Binding DetermineParamCommand}"
Content="完成"
FontSize="18"
IsEnabled="{Binding IsDetermineButtonEnabled}"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
\ No newline at end of file
diff --git a/Correlator/Dialog/NumericKeypadDialog.xaml b/Correlator/Dialog/NumericKeypadDialog.xaml
index b51c435..3dbbb3d 100644
--- a/Correlator/Dialog/NumericKeypadDialog.xaml
+++ b/Correlator/Dialog/NumericKeypadDialog.xaml
@@ -145,7 +145,7 @@
Command="{Binding DetermineCommand}"
Content="确定"
FontSize="18"
- Style="{StaticResource ButtonPrimary}" />
+ Style="{StaticResource FunctionButtonStyle}" />
diff --git a/Correlator/Dialog/SimplyAuditionDialog.xaml b/Correlator/Dialog/SimplyAuditionDialog.xaml
index d4e39dc..d377ac2 100644
--- a/Correlator/Dialog/SimplyAuditionDialog.xaml
+++ b/Correlator/Dialog/SimplyAuditionDialog.xaml
@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cvt="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:vm="clr-namespace:Correlator.ViewModels"
@@ -88,9 +87,9 @@
-
+
-
+
@@ -207,7 +205,6 @@
diff --git a/Correlator/Style/FunctionButtonStyle.xaml b/Correlator/Style/FunctionButtonStyle.xaml
index a7a99dd..269fed0 100644
--- a/Correlator/Style/FunctionButtonStyle.xaml
+++ b/Correlator/Style/FunctionButtonStyle.xaml
@@ -3,8 +3,8 @@
x:Key="FunctionButtonStyle"
BasedOn="{StaticResource ButtonBaseStyle}"
TargetType="Button">
-
-
+
+
diff --git a/Correlator/Style/RadioButtonStyle.xaml b/Correlator/Style/RadioButtonStyle.xaml
index 9eea622..e84438c 100644
--- a/Correlator/Style/RadioButtonStyle.xaml
+++ b/Correlator/Style/RadioButtonStyle.xaml
@@ -16,7 +16,7 @@
-
+
diff --git a/Correlator/Style/StaticBrushResource.xaml b/Correlator/Style/StaticBrushResource.xaml
new file mode 100644
index 0000000..3332ed9
--- /dev/null
+++ b/Correlator/Style/StaticBrushResource.xaml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/Correlator/Style/StaticColorResource.xaml b/Correlator/Style/StaticColorResource.xaml
index a370b40..0228898 100644
--- a/Correlator/Style/StaticColorResource.xaml
+++ b/Correlator/Style/StaticColorResource.xaml
@@ -1,4 +1,4 @@
-
-
+ #88000000
+ #FF224F86
\ No newline at end of file
diff --git a/Correlator/ViewModels/AlertControlDialogViewModel.cs b/Correlator/ViewModels/AlertControlDialogViewModel.cs
index 9f4abc2..106a17b 100644
--- a/Correlator/ViewModels/AlertControlDialogViewModel.cs
+++ b/Correlator/ViewModels/AlertControlDialogViewModel.cs
@@ -1,4 +1,5 @@
using System;
+using System.Windows.Media;
using Correlator.Util;
using Prism.Commands;
using Prism.Mvvm;
@@ -37,9 +38,9 @@
}
}
- private string _alertIconColor;
+ private SolidColorBrush _alertIconColor;
- public string AlertIconColor
+ public SolidColorBrush AlertIconColor
{
get => _alertIconColor;
private set
@@ -87,15 +88,15 @@
{
case AlertType.Question:
AlertIcon = "\ue68a";
- AlertIconColor = "RoyalBlue";
+ AlertIconColor = new SolidColorBrush(Color.FromRgb(34,79,134));
break;
case AlertType.Warning:
AlertIcon = "\ue701";
- AlertIconColor = "DarkOrange";
+ AlertIconColor = new SolidColorBrush(Colors.DarkOrange);
break;
case AlertType.Error:
AlertIcon = "\ue667";
- AlertIconColor = "Red";
+ AlertIconColor = new SolidColorBrush(Colors.Red);
break;
default:
throw new ArgumentOutOfRangeException();
diff --git a/Correlator/ViewModels/AlertMessageDialogViewModel.cs b/Correlator/ViewModels/AlertMessageDialogViewModel.cs
index 284214b..3da0c13 100644
--- a/Correlator/ViewModels/AlertMessageDialogViewModel.cs
+++ b/Correlator/ViewModels/AlertMessageDialogViewModel.cs
@@ -1,4 +1,5 @@
using System;
+using System.Windows.Media;
using Correlator.Util;
using Prism.Commands;
using Prism.Mvvm;
@@ -37,9 +38,9 @@
}
}
- private string _alertIconColor;
+ private SolidColorBrush _alertIconColor;
- public string AlertIconColor
+ public SolidColorBrush AlertIconColor
{
get => _alertIconColor;
private set
@@ -78,15 +79,15 @@
{
case AlertType.Question:
AlertIcon = "\ue68a";
- AlertIconColor = "RoyalBlue";
+ AlertIconColor = new SolidColorBrush(Color.FromRgb(34,79,134));
break;
case AlertType.Warning:
AlertIcon = "\ue701";
- AlertIconColor = "DarkOrange";
+ AlertIconColor = new SolidColorBrush(Colors.DarkOrange);
break;
case AlertType.Error:
AlertIcon = "\ue667";
- AlertIconColor = "Red";
+ AlertIconColor = new SolidColorBrush(Colors.Red);
break;
default:
throw new ArgumentOutOfRangeException();
diff --git a/Correlator/Views/MainWindow.xaml b/Correlator/Views/MainWindow.xaml
index b8e0ad0..6a5bcad 100644
--- a/Correlator/Views/MainWindow.xaml
+++ b/Correlator/Views/MainWindow.xaml
@@ -54,7 +54,7 @@
@@ -446,13 +446,13 @@
VerticalAlignment="Center"
FontFamily="/Correlator;component/Fonts/#iconfont"
FontSize="24"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="" />
@@ -460,12 +460,12 @@
Width="80"
Margin="45,0,0,0"
FontSize="18"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="干扰频段" />
+ Foreground="{StaticResource MainThemeBrush}">
@@ -479,12 +479,12 @@
Width="80"
Margin="45,0,0,0"
FontSize="18"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="信噪比" />
@@ -492,12 +492,12 @@
Width="80"
Margin="45,0,0,0"
FontSize="18"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="过滤器" />
@@ -532,12 +532,12 @@
+ Foreground="{StaticResource MainThemeBrush}">
@@ -557,16 +557,16 @@
@@ -607,7 +607,7 @@
Grid.Row="0"
Margin="10,0,0,0"
FontSize="28"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding RedTransmitterDistance, StringFormat=\{0\}m}" />
@@ -761,19 +761,19 @@
Height="40"
Command="{Binding OpenNumericKeypadCommand}"
FontFamily="/Correlator;component/Fonts/#iconfont"
- Foreground="{StaticResource MainThemeColor}">
+ Foreground="{StaticResource MainThemeBrush}">
@@ -787,12 +787,12 @@
VerticalAlignment="Center"
FontFamily="{StaticResource DigitalFont}"
FontSize="35"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="{Binding CorrelatorData.RightNoiseSumValue, StringFormat={}{0:F2}}" />
@@ -867,11 +867,11 @@
Margin="10,0"
FontFamily="/Correlator;component/Fonts/#iconfont"
FontSize="24"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="" />
@@ -893,11 +893,11 @@
Margin="10,0"
FontFamily="/Correlator;component/Fonts/#iconfont"
FontSize="24"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="" />
@@ -932,11 +932,11 @@
Margin="10,0"
FontFamily="/Correlator;component/Fonts/#iconfont"
FontSize="24"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="" />
@@ -984,11 +984,11 @@
Margin="10,0"
FontFamily="/Correlator;component/Fonts/#iconfont"
FontSize="24"
- Foreground="{StaticResource MainThemeColor}"
+ Foreground="{StaticResource MainThemeBrush}"
Text="" />
@@ -1133,7 +1133,7 @@
@@ -1162,7 +1162,7 @@