From 9107510c4985ceb781640163bbb82ab6de2fa35e Mon Sep 17 00:00:00 2001 From: AShifter Date: Sun, 24 Sep 2017 12:32:50 -0600 Subject: Add proper WM and Remove old source Added a proper, working WM. I also got rid of the old source as we could just make a new repo for that. --- ShiftOS.Main/TestForm.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ShiftOS.Main/TestForm.cs (limited to 'ShiftOS.Main/TestForm.cs') diff --git a/ShiftOS.Main/TestForm.cs b/ShiftOS.Main/TestForm.cs new file mode 100644 index 0000000..e1f926f --- /dev/null +++ b/ShiftOS.Main/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 ShiftDemo demo = new ShiftDemo(); + + public TestForm() + { + InitializeComponent(); + } + + private void Button1_Click(object sender, EventArgs e) + { + demo.label1.Text = textBox2.Text; + shiftWM.Init(demo, textBox1.Text); + } + } +} -- cgit v1.2.3