AreaComAdminWindow: Fix GstNrInput validation by removing CheckGstNr

This commit is contained in:
2024-03-05 23:06:34 +01:00
parent d6f1ce01fb
commit ea6621ee57
3 changed files with 1 additions and 14 deletions

View File

@ -184,7 +184,7 @@
<Label Content="Parzelle(n):" Margin="10,70,0,0" Grid.Column="0"/>
<TextBox x:Name="GstNrInput" Margin="0,70,10,0" Grid.Column="1" HorizontalAlignment="Stretch"
TextChanged="GstNrInput_TextChanged" LostFocus="GstNrInput_LostFocus"/>
TextChanged="TextBox_TextChanged"/>
<Label Content="Fläche:" Margin="10,100,0,0" Grid.Column="0"/>
<ctrl:UnitTextBox x:Name="AreaInput" Unit="m²" TextChanged="IntegerInput_TextChanged"

View File

@ -441,13 +441,5 @@ namespace Elwig.Windows {
private void FbNrInput_LostFocus(object sender, RoutedEventArgs evt) {
InputLostFocus((TextBox)sender, Validator.CheckFbNr);
}
private void GstNrInput_TextChanged(object sender, RoutedEventArgs evt) {
InputTextChanged((TextBox)sender, Validator.CheckGstNr);
}
private void GstNrInput_LostFocus(object sender, RoutedEventArgs evt) {
InputLostFocus((TextBox)sender, Validator.CheckGstNr);
}
}
}