mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-23 10:12:16 +00:00
27 lines
No EOL
677 B
C#
27 lines
No EOL
677 B
C#
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.ToIcon());
|
|
}
|
|
} |