aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/DesktopWidgets/TerminalWidget.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-22 19:24:08 -0400
committerMichael <[email protected]>2017-04-22 19:24:08 -0400
commit8455ea4991ece19d0a4e5f84f69a8fdb6a936ffd (patch)
tree189e984e5b399becf66c92d3d74a40d62eeade8f /ShiftOS.WinForms/DesktopWidgets/TerminalWidget.cs
parente65a1b5e93e8f533d44542354b150ac660cf7239 (diff)
downloadshiftos_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.cs26
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();
+ }
+ }
+}