diff options
| author | Richie Moch <[email protected]> | 2018-12-22 15:24:55 -0600 |
|---|---|---|
| committer | Richie Moch <[email protected]> | 2018-12-22 15:24:55 -0600 |
| commit | d94c79dbf5183230e5fd3342848408f776de60ea (patch) | |
| tree | e679a6ebd541e4c84ef39fdc2af78229eebea363 /ShiftOS.Main/MainGame/Apps/TestForm.cs | |
| parent | 9d9958e18bda9142cb118f13332f2649a530f27f (diff) | |
| download | shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.tar.gz shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.tar.bz2 shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.zip | |
Various changes, began working on the texture skinning.
Diffstat (limited to 'ShiftOS.Main/MainGame/Apps/TestForm.cs')
| -rw-r--r-- | ShiftOS.Main/MainGame/Apps/TestForm.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ShiftOS.Main/MainGame/Apps/TestForm.cs b/ShiftOS.Main/MainGame/Apps/TestForm.cs new file mode 100644 index 0000000..a0c12c0 --- /dev/null +++ b/ShiftOS.Main/MainGame/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 |
