From 58ed6a37cfdacd56eef5c914a812f65b6163a118 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Fri, 10 Sep 2021 17:16:56 +0200 Subject: [PATCH] Updated Guide (markdown) --- Guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Guide.md b/Guide.md index 7b115bf..c4cc29c 100644 --- a/Guide.md +++ b/Guide.md @@ -61,12 +61,12 @@ namespace DesktopMagicPlugin { public class InputExamplePlugin : Plugin { - public override int UpdateInterval { get; set; } = 0; //Set the update interval to 0 so that the window is not updated automatically. + public override int UpdateInterval { get; set; } = 0; //Set the update interval to 0 so that the window will not be refreshed automatically. [Element("Text:")] //Mark the property as element with the specified description private TextBox textBox = new TextBox("abc"); //Create a text box with the specified default value. - public InputExamplePlugin() + public override void Start() //The "Start" metod is called once when the plugin is loaded. { textBox.OnValueChanged += TextBox_OnValueChanged; //Add an event handler to the "OnValueChanged" event. }