Revert "Fix mistake"

This reverts commit e89b2981e7.
This commit is contained in:
Stone-Red-Code
2021-08-14 21:42:06 +02:00
parent e89b2981e7
commit 1e57ec1b6a
172 changed files with 2328 additions and 780 deletions
@@ -0,0 +1,35 @@
namespace DesktopMagicPluginAPI.Inputs
{
/// <summary>
/// Represents a text box control.
/// </summary>
public class TextBox : Element
{
private string _value;
/// <summary>
/// Gets or sets the text associated with this control.
/// </summary>
public string Value
{
get => _value;
set
{
if (_value != value)
{
_value = value;
ValueChanged();
}
}
}
/// <summary>
/// Initializes a new instance of the <see cref="TextBox"/> class with the provided <paramref name="value"/>.
/// </summary>
/// <param name="value"></param>
public TextBox(string value)
{
Value = value;
}
}
}