From 0a552e395477d2bb4c90e12624d11b28545a4933 Mon Sep 17 00:00:00 2001 From: AShifter Date: Sun, 24 Sep 2017 13:56:11 -0600 Subject: Update WM It's pretty much done. Pair with DE, and serve hot. --- ShiftOS.Main/ShiftOS/Apps/TestForm.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ShiftOS.Main/ShiftOS/Apps/TestForm.cs (limited to 'ShiftOS.Main/ShiftOS/Apps/TestForm.cs') diff --git a/ShiftOS.Main/ShiftOS/Apps/TestForm.cs b/ShiftOS.Main/ShiftOS/Apps/TestForm.cs new file mode 100644 index 0000000..85be4a3 --- /dev/null +++ b/ShiftOS.Main/ShiftOS/Apps/TestForm.cs @@ -0,0 +1,23 @@ +using System; +using System.Windows.Forms; +using ShiftOS.Engine.WindowManager; + +namespace ShiftOS.Main +{ + public partial class TestForm : Form + { + public ShiftWM shiftWM = new ShiftWM(); + + public TestForm() + { + InitializeComponent(); + } + + private void Button1_Click(object sender, EventArgs e) + { + ShiftDemo demo = new ShiftDemo(); + demo.label1.Text = textBox2.Text; + shiftWM.Init(demo, textBox1.Text, null); + } + } +} -- cgit v1.2.3