From f5a78ea4169e1553204d908bfbc52ef7ca84b0e6 Mon Sep 17 00:00:00 2001 From: FloppyDiskDrive Date: Sun, 24 Sep 2017 16:55:03 -0500 Subject: Fully added the infobox --- ShiftOS.Main/ShiftOS/Apps/Shifter.cs | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 ShiftOS.Main/ShiftOS/Apps/Shifter.cs (limited to 'ShiftOS.Main/ShiftOS/Apps/Shifter.cs') diff --git a/ShiftOS.Main/ShiftOS/Apps/Shifter.cs b/ShiftOS.Main/ShiftOS/Apps/Shifter.cs new file mode 100644 index 0000000..ce80f2b --- /dev/null +++ b/ShiftOS.Main/ShiftOS/Apps/Shifter.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using ShiftOS.Engine.WindowManager; + +namespace ShiftOS.Main.ShiftOS.Apps +{ + public partial class Shifter : UserControl + { + public Shifter() + { + InitializeComponent(); + } + + private void button1_Click(object sender, EventArgs e) + { + ColorDialog cD = new ColorDialog(); + if (cD.ShowDialog() == DialogResult.OK) + { + ShiftWindow sw = new ShiftWindow(); + sw.top.BackColor = cD.Color; + } + } + } +} -- cgit v1.2.3