diff options
| author | AShifter <[email protected]> | 2017-10-01 09:52:36 -0600 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-10-01 09:52:36 -0600 |
| commit | b45df71168d5fa3f817c45194e4019d15b3a2aa0 (patch) | |
| tree | 55e0f988107830ffb809acef6d5ac8c25722ef7b /ShiftOS.Main/ShiftOS/Apps/TestForm.cs | |
| parent | 46fe7eb7098dd31b186e13e228fede07c46ee064 (diff) | |
| download | shiftos-rewind-b45df71168d5fa3f817c45194e4019d15b3a2aa0.tar.gz shiftos-rewind-b45df71168d5fa3f817c45194e4019d15b3a2aa0.tar.bz2 shiftos-rewind-b45df71168d5fa3f817c45194e4019d15b3a2aa0.zip | |
Shifting is working
owow
Diffstat (limited to 'ShiftOS.Main/ShiftOS/Apps/TestForm.cs')
| -rw-r--r-- | ShiftOS.Main/ShiftOS/Apps/TestForm.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ShiftOS.Main/ShiftOS/Apps/TestForm.cs b/ShiftOS.Main/ShiftOS/Apps/TestForm.cs index 1fd3b18..389f8d1 100644 --- a/ShiftOS.Main/ShiftOS/Apps/TestForm.cs +++ b/ShiftOS.Main/ShiftOS/Apps/TestForm.cs @@ -17,12 +17,8 @@ namespace ShiftOS.Main private void Button1_Click(object sender, EventArgs e) { - ShiftDemo demo = new ShiftDemo {label1 = {Text = textBox2.Text}}; - - var item = typeof(SystemIcons).GetProperties() - .First(p => p.Name == comboBox1.SelectedItem as string); - - ShiftWM.Init(demo, textBox1.Text, (item.GetMethod.Invoke(null, new object[0]) as Icon)); + ShiftDemo demo = new ShiftDemo(); + ShiftWM.Init(demo, textBox1.Text, null); ShiftWM.StartInfoboxSession(textBox1.Text, textBox2.Text, InfoboxTemplate.ButtonType.Ok); } |
