Skip to content

Commit

Permalink
Merge pull request #283 from leocb/orapps44-testfield-enabled-propert…
Browse files Browse the repository at this point in the history
…y-fix

Fix textfields enabled property issue
  • Loading branch information
orapps44 authored Nov 4, 2021
2 parents 6880ae3 + 4f472bd commit 9b3d49c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions MaterialSkin/Controls/MaterialMaskedTextBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 0 additions & 4 deletions MaterialSkin/Controls/MaterialMultiLineTextBox2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 0 additions & 4 deletions MaterialSkin/Controls/MaterialTextBox2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b3d49c

Please sign in to comment.