mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-05 15:56:15 +02:00
Plugin class name can now have any name.
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
namespace DesktopMagicPluginAPI.Inputs
|
||||
{
|
||||
/// <summary>
|
||||
/// The element base class
|
||||
/// The element base class.
|
||||
/// </summary>
|
||||
public abstract class Element
|
||||
{
|
||||
/// <summary>
|
||||
/// Occurs when the value has been changed
|
||||
/// Occurs when the value has been changed.
|
||||
/// </summary>
|
||||
public event Action OnValueChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Triggers the <see cref="OnValueChanged"/> event
|
||||
/// Triggers the <see cref="OnValueChanged"/> event.
|
||||
/// </summary>
|
||||
protected void ValueChanged()
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
private string _value;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the text associated with this control.
|
||||
/// Gets or sets the text associated with this <see cref="Label"/>.
|
||||
/// </summary>
|
||||
public string Value
|
||||
{
|
||||
@@ -31,8 +31,8 @@
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Label"/> class with the provided <paramref name="value"/>.
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <param name="bold"></param>
|
||||
/// <param name="value">The text associated with this <see cref="Label"/></param>
|
||||
/// <param name="bold">A value indicating whether the content of the <see cref="Label"/> is bold or not.</param>
|
||||
public Label(string value, bool bold = false)
|
||||
{
|
||||
Value = value;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
private string _value;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the text associated with this control.
|
||||
/// Gets or sets the text associated with this <see cref="TextBox"/>.
|
||||
/// </summary>
|
||||
public string Value
|
||||
{
|
||||
@@ -26,7 +26,7 @@
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TextBox"/> class with the provided <paramref name="value"/>.
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <param name="value">The text associated with this control.</param>
|
||||
public TextBox(string value)
|
||||
{
|
||||
Value = value;
|
||||
|
||||
Reference in New Issue
Block a user