mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-23 18:22:16 +00:00
24 lines
623 B
C#
24 lines
623 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
using ShiftOS.Engine.WindowManager;
|
|
|
|
namespace ShiftOS.Main
|
|
{
|
|
public partial class TestForm : Form
|
|
{
|
|
public ShiftWM shiftWM = new ShiftWM();
|
|
|
|
public TestForm()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void Button1_Click(object sender, EventArgs e)
|
|
{
|
|
ShiftDemo demo = new ShiftDemo();
|
|
demo.label1.Text = textBox2.Text;
|
|
shiftWM.Init(demo, textBox1.Text, null);
|
|
shiftWM.StartInfoboxSession(textBox1.Text, textBox2.Text, InfoboxTemplate.buttonType.OK);
|
|
}
|
|
}
|
|
}
|