From 781134c9627c61f99588c27be0a9b759dc1db024 Mon Sep 17 00:00:00 2001 From: orapps44 <77468294+orapps44@users.noreply.github.com> Date: Thu, 4 Nov 2021 13:12:36 +0100 Subject: [PATCH] Fix enabled property issue Fix enabled property issue (#282) --- MaterialSkin/Controls/MaterialTextBox2.cs | 4 ---- 1 file changed, 4 deletions(-) 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);