diff --git a/MaterialSkin/Controls/MaterialMaskedTextBox.cs b/MaterialSkin/Controls/MaterialMaskedTextBox.cs index d52a5340..8d5f9964 100644 --- a/MaterialSkin/Controls/MaterialMaskedTextBox.cs +++ b/MaterialSkin/Controls/MaterialMaskedTextBox.cs @@ -1421,10 +1421,6 @@ public MaterialMaskedTextBox() _animationManager.StartNewAnimation(AnimationDirection.Out); UpdateRects(); }; - EnabledChanged += (sender, args) => - { - baseTextBox.Enabled = Enabled; - }; baseTextBox.TextChanged += new EventHandler(Redraw); baseTextBox.BackColorChanged += new EventHandler(Redraw); diff --git a/MaterialSkin/Controls/MaterialMultiLineTextBox2.cs b/MaterialSkin/Controls/MaterialMultiLineTextBox2.cs index 5283aa20..5c6ebda4 100644 --- a/MaterialSkin/Controls/MaterialMultiLineTextBox2.cs +++ b/MaterialSkin/Controls/MaterialMultiLineTextBox2.cs @@ -1149,10 +1149,6 @@ public MaterialMultiLineTextBox2() isFocused = false; _animationManager.StartNewAnimation(AnimationDirection.Out); }; - EnabledChanged += (sender, args) => - { - baseTextBox.Enabled = Enabled; - }; baseTextBox.TextChanged += new EventHandler(Redraw); baseTextBox.BackColorChanged += new EventHandler(Redraw); diff --git a/MaterialSkin/Controls/MaterialTextBox2.cs b/MaterialSkin/Controls/MaterialTextBox2.cs index 3b26b3ce..10dae317 100644 --- a/MaterialSkin/Controls/MaterialTextBox2.cs +++ b/MaterialSkin/Controls/MaterialTextBox2.cs @@ -1331,10 +1331,6 @@ public MaterialTextBox2() _animationManager.StartNewAnimation(AnimationDirection.Out); UpdateRects(); }; - EnabledChanged += (sender, args) => - { - baseTextBox.Enabled = Enabled; - }; baseTextBox.TextChanged += new EventHandler(Redraw); baseTextBox.BackColorChanged += new EventHandler(Redraw);