aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Main/TestForm.cs
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-09-24 12:32:50 -0600
committerAShifter <[email protected]>2017-09-24 12:32:50 -0600
commit9107510c4985ceb781640163bbb82ab6de2fa35e (patch)
treec6a440b7ed182df8f8d1e5d0fdf55e28cf74055f /ShiftOS.Main/TestForm.cs
parent2992686ec723fa4c854b6de27007a284b484a92e (diff)
downloadshiftos-rewind-9107510c4985ceb781640163bbb82ab6de2fa35e.tar.gz
shiftos-rewind-9107510c4985ceb781640163bbb82ab6de2fa35e.tar.bz2
shiftos-rewind-9107510c4985ceb781640163bbb82ab6de2fa35e.zip
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.
Diffstat (limited to 'ShiftOS.Main/TestForm.cs')
-rw-r--r--ShiftOS.Main/TestForm.cs23
1 files changed, 23 insertions, 0 deletions
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);
+ }
+ }
+}