diff options
| author | Richie Moch <[email protected]> | 2018-12-23 19:15:07 -0600 |
|---|---|---|
| committer | Richie Moch <[email protected]> | 2018-12-23 19:15:07 -0600 |
| commit | bca879db94bc6395dbfa77628747080311fdb226 (patch) | |
| tree | 24103811cd3df0957f2450bbe579e05d7dc7c4e6 /ShiftOS.Main/Apps/TestForm.cs | |
| parent | d94c79dbf5183230e5fd3342848408f776de60ea (diff) | |
| download | shiftos-rewind-bca879db94bc6395dbfa77628747080311fdb226.tar.gz shiftos-rewind-bca879db94bc6395dbfa77628747080311fdb226.tar.bz2 shiftos-rewind-bca879db94bc6395dbfa77628747080311fdb226.zip | |
started work on the pong, implemented "ShiftToolStrip". (note: pong is very buggy)
Diffstat (limited to 'ShiftOS.Main/Apps/TestForm.cs')
| -rw-r--r-- | ShiftOS.Main/Apps/TestForm.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ShiftOS.Main/Apps/TestForm.cs b/ShiftOS.Main/Apps/TestForm.cs new file mode 100644 index 0000000..a0c12c0 --- /dev/null +++ b/ShiftOS.Main/Apps/TestForm.cs @@ -0,0 +1,27 @@ +using System; +using System.Windows.Forms; +using ShiftOS.Engine.Misc; +using ShiftOS.Engine.WindowManager; +using ShiftOS.Main.Properties; +using ShiftOS.Main.ShiftOS.Apps.ShifterStuff; + +namespace ShiftOS.Main.ShiftOS.Apps +{ + public partial class TestForm : Form + { + public TestForm() + { + InitializeComponent(); + } + + void Button1_Click(object sender, EventArgs e) + { + var demo = new ShiftDemo(); + ShiftWM.Init(demo, textBox1.Text, null); + ShiftWM.StartInfoboxSession(textBox1.Text, textBox2.Text, InfoboxTemplate.ButtonType.Ok); + } + + void button2_Click(object sender, EventArgs e) + => ShiftWM.Init(new Shifter(), "Shifter", Resources.iconShifter); + } +}
\ No newline at end of file |
