diff options
| author | Michael <[email protected]> | 2017-04-22 19:24:08 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-22 19:24:08 -0400 |
| commit | 8455ea4991ece19d0a4e5f84f69a8fdb6a936ffd (patch) | |
| tree | 189e984e5b399becf66c92d3d74a40d62eeade8f /ShiftOS.WinForms/DesktopWidgets/TerminalWidget.cs | |
| parent | e65a1b5e93e8f533d44542354b150ac660cf7239 (diff) | |
| download | shiftos_thereturn-8455ea4991ece19d0a4e5f84f69a8fdb6a936ffd.tar.gz shiftos_thereturn-8455ea4991ece19d0a4e5f84f69a8fdb6a936ffd.tar.bz2 shiftos_thereturn-8455ea4991ece19d0a4e5f84f69a8fdb6a936ffd.zip | |
Really add a terminal widget.
Diffstat (limited to 'ShiftOS.WinForms/DesktopWidgets/TerminalWidget.cs')
| -rw-r--r-- | ShiftOS.WinForms/DesktopWidgets/TerminalWidget.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/DesktopWidgets/TerminalWidget.cs b/ShiftOS.WinForms/DesktopWidgets/TerminalWidget.cs new file mode 100644 index 0000000..1dcd08c --- /dev/null +++ b/ShiftOS.WinForms/DesktopWidgets/TerminalWidget.cs @@ -0,0 +1,26 @@ +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; + +namespace ShiftOS.WinForms.DesktopWidgets +{ + [DesktopWidget("Terminal Widget", "Run commands inside a miniature Terminal.")] + public partial class TerminalWidget : Applications.Terminal, IDesktopWidget + { + public TerminalWidget() : base() + { + this.Size = new Size(320, 200); + } + + public void Setup() + { + OnLoad(); + } + } +} |
