aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Main/ShiftOS/Apps/TestForm.cs
blob: 85be4a3b7b6a4e9d78112597be26693f63fa2332 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
        }
    }
}