BaseDataWindow: implement area commitment type list
This commit is contained in:
@ -49,6 +49,9 @@ namespace Elwig.Windows {
|
||||
SeasonPenaltyPerKgInput.Unit = $"{sym}/kg";
|
||||
SeasonPenaltyInput.Unit = sym;
|
||||
SeasonPenaltyNoneInput.Unit = sym;
|
||||
AreaCommitmentTypePenaltyPerKgInput.Unit = $"{sym}/kg";
|
||||
AreaCommitmentTypePenaltyInput.Unit = sym;
|
||||
AreaCommitmentTypePenaltyNoneInput.Unit = sym;
|
||||
} else {
|
||||
SeasonModifierList.ItemsSource = null;
|
||||
SeasonMaxKgPerHaInput.Text = "";
|
||||
@ -102,10 +105,9 @@ namespace Elwig.Windows {
|
||||
Season_Changed(sender, evt);
|
||||
}
|
||||
|
||||
private void SeasonMoneyInput_TextChanged(object sender, TextChangedEventArgs evt) {
|
||||
private void SeasonPenaltyInput_TextChanged(object sender, TextChangedEventArgs evt) {
|
||||
InputTextChanged((TextBox)sender, Validator.CheckDecimal((TextBox)sender, false, 4, 2));
|
||||
Season_Changed(sender, evt);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user