diff --git a/Correlator/Views/MainWindow.xaml b/Correlator/Views/MainWindow.xaml index 3ef0e80..611299e 100644 --- a/Correlator/Views/MainWindow.xaml +++ b/Correlator/Views/MainWindow.xaml @@ -976,7 +976,6 @@ Height="40" Margin="10,0" FontSize="16" - IsEnabled="{Binding ElementName=StartButton, Path=IsEnabled}" ItemsSource="{Binding PipeMaterialsArray}" SelectedItem="{Binding MaterialName}"> @@ -1018,7 +1017,6 @@ hc:InfoElement.Placeholder="单位:mm" input:InputMethod.IsInputMethodEnabled="False" FontSize="16" - IsEnabled="{Binding ElementName=StartButton, Path=IsEnabled}" MaxLength="3" ShowClearButton="True" Text="{Binding PipeDiameter}" /> @@ -1055,7 +1053,6 @@ hc:InfoElement.Placeholder="单位:m" input:InputMethod.IsInputMethodEnabled="False" FontSize="16" - IsEnabled="{Binding ElementName=StartButton, Path=IsEnabled}" MaxLength="3" ShowClearButton="True" Text="{Binding PipeLength}" /> @@ -1101,7 +1098,6 @@ Content="加速度计模式" GroupName="WorkModeGroup" IsChecked="True" - IsEnabled="{Binding ElementName=StartButton, Path=IsEnabled}" Style="{StaticResource RadioButtonStyle}" /> @@ -1160,7 +1155,6 @@ hc:InfoElement.Placeholder="单位:Hz" input:InputMethod.IsInputMethodEnabled="False" FontSize="16" - IsEnabled="{Binding ElementName=StartButton, Path=IsEnabled}" MaxLength="3" ShowClearButton="True" Text="{Binding LowFrequency}" /> @@ -1182,7 +1176,6 @@ hc:InfoElement.Placeholder="单位:Hz" input:InputMethod.IsInputMethodEnabled="False" FontSize="16" - IsEnabled="{Binding ElementName=StartButton, Path=IsEnabled}" MaxLength="4" ShowClearButton="True" Text="{Binding HighFrequency}" /> @@ -1251,7 +1244,6 @@ Content="快照" Style="{StaticResource FunctionButtonStyle}" />