mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-23 10:12:16 +00:00
9107510c49
Added a proper, working WM. I also got rid of the old source as we could just make a new repo for that.
23 lines
518 B
C#
23 lines
518 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 ShiftDemo demo = new ShiftDemo();
|
|
|
|
public TestForm()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void Button1_Click(object sender, EventArgs e)
|
|
{
|
|
demo.label1.Text = textBox2.Text;
|
|
shiftWM.Init(demo, textBox1.Text);
|
|
}
|
|
}
|
|
}
|