From bca879db94bc6395dbfa77628747080311fdb226 Mon Sep 17 00:00:00 2001 From: Richie Moch Date: Sun, 23 Dec 2018 19:15:07 -0600 Subject: started work on the pong, implemented "ShiftToolStrip". (note: pong is very buggy) --- ShiftOS.Main/Apps/TestForm.cs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ShiftOS.Main/Apps/TestForm.cs (limited to 'ShiftOS.Main/Apps/TestForm.cs') 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 -- cgit v1.2.3