2017-09-24 12:32:50 -06:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
2017-11-05 18:47:46 -05:00
|
|
|
|
using ShiftOS.Engine.Misc;
|
2017-09-24 12:32:50 -06:00
|
|
|
|
using ShiftOS.Engine.WindowManager;
|
2017-11-05 18:47:46 -05:00
|
|
|
|
using ShiftOS.Main.Properties;
|
|
|
|
|
using ShiftOS.Main.ShiftOS.Apps.ShifterStuff;
|
2017-09-24 12:32:50 -06:00
|
|
|
|
|
2017-11-05 18:47:46 -05:00
|
|
|
|
namespace ShiftOS.Main.ShiftOS.Apps
|
2017-09-24 12:32:50 -06:00
|
|
|
|
{
|
2017-11-05 18:47:46 -05:00
|
|
|
|
public partial class TestForm : Form
|
|
|
|
|
{
|
|
|
|
|
public TestForm()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2017-09-24 12:32:50 -06:00
|
|
|
|
|
2017-11-05 18:47:46 -05:00
|
|
|
|
void Button1_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
var demo = new ShiftDemo();
|
2017-11-11 08:53:55 -05:00
|
|
|
|
ShiftWM.Init(demo, textBox1.Text, null);
|
|
|
|
|
ShiftWM.StartInfoboxSession(textBox1.Text, textBox2.Text, InfoboxTemplate.ButtonType.Ok);
|
2017-11-05 18:47:46 -05:00
|
|
|
|
}
|
2017-09-24 21:06:41 -05:00
|
|
|
|
|
2017-11-05 18:47:46 -05:00
|
|
|
|
void button2_Click(object sender, EventArgs e)
|
2017-11-11 08:53:55 -05:00
|
|
|
|
=> ShiftWM.Init(new Shifter(), "Shifter", Resources.iconShifter);
|
2017-11-05 18:47:46 -05:00
|
|
|
|
}
|
|
|
|
|
}
|