diff options
| author | AShifter <[email protected]> | 2017-09-24 13:56:11 -0600 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-09-24 13:56:11 -0600 |
| commit | 0a552e395477d2bb4c90e12624d11b28545a4933 (patch) | |
| tree | 035533bf35faa4c1480adc8ef033fd8d9c65c8c5 /ShiftOS.Main/ShiftOS/Apps/TestForm.cs | |
| parent | 9107510c4985ceb781640163bbb82ab6de2fa35e (diff) | |
| download | shiftos-rewind-0a552e395477d2bb4c90e12624d11b28545a4933.tar.gz shiftos-rewind-0a552e395477d2bb4c90e12624d11b28545a4933.tar.bz2 shiftos-rewind-0a552e395477d2bb4c90e12624d11b28545a4933.zip | |
Update WM
It's pretty much done. Pair with DE, and serve hot.
Diffstat (limited to 'ShiftOS.Main/ShiftOS/Apps/TestForm.cs')
| -rw-r--r-- | ShiftOS.Main/ShiftOS/Apps/TestForm.cs | 23 |
1 files changed, 23 insertions, 0 deletions
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); + } + } +} |
