diff --git a/Cop_25/Controls/CustomListBox.cs b/Cop_25/Controls/CustomListBox.cs index b28c660..3da3c13 100644 --- a/Cop_25/Controls/CustomListBox.cs +++ b/Cop_25/Controls/CustomListBox.cs @@ -23,7 +23,7 @@ namespace Controls } /// - /// Строка макет + /// Макет /// private string _templateString; diff --git a/Cop_25/Controls/CustomTextBoxNumber.cs b/Cop_25/Controls/CustomTextBoxNumber.cs index 9cc99ec..9de52d5 100644 --- a/Cop_25/Controls/CustomTextBoxNumber.cs +++ b/Cop_25/Controls/CustomTextBoxNumber.cs @@ -66,10 +66,7 @@ namespace Controls { textBoxNumber.Text = value; } - else - { - throw new CustomNumberException(textBoxNumber.Text + " не соответствует шаблону!"); - } + } }