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 1/3] 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); From d71dc3c47a2b2b412a0885fc50405bad3c4d6c3c Mon Sep 17 00:00:00 2001 From: orapps44 <77468294+orapps44@users.noreply.github.com> Date: Thu, 4 Nov 2021 13:16:20 +0100 Subject: [PATCH 2/3] Fix MaterialMultiLineTextBox2 enabled property issue Fix MaterialMultiLineTextBox2 enabled property issue (#282) --- MaterialSkin/Controls/MaterialMultiLineTextBox2.cs | 4 ---- 1 file changed, 4 deletions(-) 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); From 4f472bd69c51cc9163a1114ecf46e137bf964bf6 Mon Sep 17 00:00:00 2001 From: orapps44 <77468294+orapps44@users.noreply.github.com> Date: Thu, 4 Nov 2021 13:19:03 +0100 Subject: [PATCH 3/3] Fix MaterialMaskedTextBox enabled property issue Fix MaterialMaskedTextBox enabled property issue (#282) --- MaterialSkin/Controls/MaterialMaskedTextBox.cs | 4 ---- 1 file changed, 4 deletions(-) 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);