2017-09-24 18:32:50 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
2017-11-05 23:47:46 +00:00
|
|
|
|
using ShiftOS.Engine.Misc;
|
2017-09-24 18:32:50 +00:00
|
|
|
|
using ShiftOS.Engine.WindowManager;
|
2017-11-05 23:47:46 +00:00
|
|
|
|
using ShiftOS.Main.Properties;
|
|
|
|
|
using ShiftOS.Main.ShiftOS.Apps.ShifterStuff;
|
2017-09-24 18:32:50 +00:00
|
|
|
|
|
2017-11-05 23:47:46 +00:00
|
|
|
|
namespace ShiftOS.Main.ShiftOS.Apps
|
2017-09-24 18:32:50 +00:00
|
|
|
|
{
|
2017-11-05 23:47:46 +00:00
|
|
|
|
public partial class TestForm : Form
|
|
|
|
|
{
|
|
|
|
|
public TestForm()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2017-09-24 18:32:50 +00:00
|
|
|
|
|
2017-11-05 23:47:46 +00:00
|
|
|
|
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);
|
|
|
|
|
}
|
2017-09-25 02:06:41 +00:00
|
|
|
|
|
2017-11-05 23:47:46 +00:00
|
|
|
|
void button2_Click(object sender, EventArgs e)
|
|
|
|
|
=> ShiftWm.Init(new Shifter(), "Shifter", Resources.iconShifter.ToIcon());
|
|
|
|
|
}
|
|
|
|
|
}
|