diff options
Diffstat (limited to 'ShiftOS.WinForms/DesktopWidgets')
| -rw-r--r-- | ShiftOS.WinForms/DesktopWidgets/CommandRunner.Designer.cs | 37 | ||||
| -rw-r--r-- | ShiftOS.WinForms/DesktopWidgets/CommandRunner.cs | 37 |
2 files changed, 74 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/DesktopWidgets/CommandRunner.Designer.cs b/ShiftOS.WinForms/DesktopWidgets/CommandRunner.Designer.cs new file mode 100644 index 0000000..6569247 --- /dev/null +++ b/ShiftOS.WinForms/DesktopWidgets/CommandRunner.Designer.cs @@ -0,0 +1,37 @@ +namespace ShiftOS.WinForms.DesktopWidgets +{ + partial class CommandRunner + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + } + + #endregion + } +} diff --git a/ShiftOS.WinForms/DesktopWidgets/CommandRunner.cs b/ShiftOS.WinForms/DesktopWidgets/CommandRunner.cs new file mode 100644 index 0000000..29f20ed --- /dev/null +++ b/ShiftOS.WinForms/DesktopWidgets/CommandRunner.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using ShiftOS.Engine; +using ShiftOS.WinForms.Tools; + +namespace ShiftOS.WinForms.DesktopWidgets +{ + [DesktopWidget("Terminal Widget", "Run commands in a miniature Terminal.")] + public partial class CommandRunner : UserControl, IDesktopWidget + { + public CommandRunner() + { + InitializeComponent(); + } + + public void OnSkinLoad() + { + ControlManager.SetupControls(this); + } + + public void OnUpgrade() + { + + } + + public void Setup() + { + } + } +} |
