Пример #1
0
        private void TextBoxHeight_TextChanged(object sender, TextChangedEventArgs e)
        {
            if (sender is TextBox textBox)
            {
                InputValidator.ValidateHeight(textBox);

                buttonCalculate.IsEnabled = InputValidator.AllInputIsValid();
            }
        }