diff options
| author | IBMPCDOS5 <[email protected]> | 2017-09-24 15:10:21 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-09-24 15:10:21 -0500 |
| commit | 554a97739a89345613e5ca6fcdb9022ef80e665e (patch) | |
| tree | 035533bf35faa4c1480adc8ef033fd8d9c65c8c5 /ShiftOS.Main/ShiftOS/Apps/TestForm.cs | |
| parent | 061ce54709db3157ae3366607420639d34942c7e (diff) | |
| parent | 0a552e395477d2bb4c90e12624d11b28545a4933 (diff) | |
| download | shiftos-rewind-554a97739a89345613e5ca6fcdb9022ef80e665e.tar.gz shiftos-rewind-554a97739a89345613e5ca6fcdb9022ef80e665e.tar.bz2 shiftos-rewind-554a97739a89345613e5ca6fcdb9022ef80e665e.zip | |
Merge pull request #5 from AShifter/master
Update WM
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); + } + } +} |
