2017-09-24 18:32:50 +00:00
|
|
|
|
using System;
|
2017-09-27 22:32:16 +00:00
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Linq;
|
2017-09-24 18:32:50 +00:00
|
|
|
|
using System.Windows.Forms;
|
2017-09-27 22:32:16 +00:00
|
|
|
|
using ShiftOS.Engine;
|
2017-09-24 18:32:50 +00:00
|
|
|
|
using ShiftOS.Engine.WindowManager;
|
2017-09-25 02:06:41 +00:00
|
|
|
|
using ShiftOS.Main.ShiftOS.Apps;
|
2017-09-24 18:32:50 +00:00
|
|
|
|
|
|
|
|
|
namespace ShiftOS.Main
|
|
|
|
|
{
|
|
|
|
|
public partial class TestForm : Form
|
|
|
|
|
{
|
|
|
|
|
public TestForm()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Button1_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2017-10-01 15:52:36 +00:00
|
|
|
|
ShiftDemo demo = new ShiftDemo();
|
|
|
|
|
ShiftWM.Init(demo, textBox1.Text, null);
|
2017-09-27 22:32:16 +00:00
|
|
|
|
ShiftWM.StartInfoboxSession(textBox1.Text, textBox2.Text, InfoboxTemplate.ButtonType.Ok);
|
2017-09-24 18:32:50 +00:00
|
|
|
|
}
|
2017-09-25 02:06:41 +00:00
|
|
|
|
|
2017-09-27 22:32:16 +00:00
|
|
|
|
private void button2_Click(object sender, EventArgs e)
|
|
|
|
|
=> ShiftWM.Init(new Shifter(), "Shifter", Properties.Resources.iconShifter.ToIcon());
|
2017-09-24 18:32:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|