From 79cf1871664ce50c1d4c266e31e25eaff8339a4c Mon Sep 17 00:00:00 2001 From: Alkaline Thunder Date: Fri, 4 Jan 2019 16:01:10 -0500 Subject: [PATCH] Day 7 and 8 --- ShiftOS/ShiftOS/Commands/Help.cs | 10 +- ShiftOS/ShiftOS/Desktop.Designer.cs | 1 + ShiftOS/ShiftOS/Desktop.cs | 29 +- ShiftOS/ShiftOS/Desktop.resx | 3 - ShiftOS/ShiftOS/FilesystemContext.cs | 14 + ShiftOS/ShiftOS/Main.usage.txt | 39 - .../ShiftOS/Programs/ColorPicker.Designer.cs | 3607 ++++++++++++++++ ShiftOS/ShiftOS/Programs/ColorPicker.cs | 199 + ShiftOS/ShiftOS/Programs/ColorPicker.resx | 120 + .../ShiftOS/Programs/FileSkimmer.Designer.cs | 120 +- ShiftOS/ShiftOS/Programs/FileSkimmer.cs | 262 +- ShiftOS/ShiftOS/Programs/FileSkimmer.resx | 2 +- .../Programs/GraphicPicker.Designer.cs | 271 ++ ShiftOS/ShiftOS/Programs/GraphicPicker.cs | 106 + ShiftOS/ShiftOS/Programs/GraphicPicker.resx | 120 + ShiftOS/ShiftOS/Programs/Infobox.Designer.cs | 196 + ShiftOS/ShiftOS/Programs/Infobox.cs | 102 + ShiftOS/ShiftOS/Programs/Infobox.resx | 120 + ShiftOS/ShiftOS/Programs/Shifter.Designer.cs | 3823 +++++++++++++++++ ShiftOS/ShiftOS/Programs/Shifter.cs | 1678 ++++++++ ShiftOS/ShiftOS/Programs/Shifter.resx | 151 + ShiftOS/ShiftOS/Programs/Terminal.cs | 17 +- ShiftOS/ShiftOS/Programs/TextPad.Designer.cs | 169 + ShiftOS/ShiftOS/Programs/TextPad.cs | 63 + ShiftOS/ShiftOS/Programs/TextPad.resx | 129 + .../ShiftOS/Properties/Resources.Designer.cs | 48 +- ShiftOS/ShiftOS/Properties/Resources.resx | 6 + .../ShiftOS/Resources/ColorPickerDefaults.txt | 419 ++ .../ShiftOS/Resources/ColorPickerLevels.txt | 17 + .../ShiftOS/Resources/UpgradeDatabase.json | 366 +- ShiftOS/ShiftOS/ShiftOS.csproj | 48 +- ShiftOS/ShiftOS/Skin.cs | 1 - ShiftOS/ShiftOS/SkinContext.cs | 112 +- ShiftOS/ShiftOS/SystemContext.cs | 137 + ShiftOS/ShiftOS/ToolStripSkinRenderer.cs | 30 +- ShiftOS/ShiftOS/Upgrade.cs | 7 +- ShiftOS/ShiftOS/Windowing/Window.cs | 2 +- 37 files changed, 12100 insertions(+), 444 deletions(-) delete mode 100644 ShiftOS/ShiftOS/Main.usage.txt create mode 100644 ShiftOS/ShiftOS/Programs/ColorPicker.Designer.cs create mode 100644 ShiftOS/ShiftOS/Programs/ColorPicker.cs create mode 100644 ShiftOS/ShiftOS/Programs/ColorPicker.resx create mode 100644 ShiftOS/ShiftOS/Programs/GraphicPicker.Designer.cs create mode 100644 ShiftOS/ShiftOS/Programs/GraphicPicker.cs create mode 100644 ShiftOS/ShiftOS/Programs/GraphicPicker.resx create mode 100644 ShiftOS/ShiftOS/Programs/Infobox.Designer.cs create mode 100644 ShiftOS/ShiftOS/Programs/Infobox.cs create mode 100644 ShiftOS/ShiftOS/Programs/Infobox.resx create mode 100644 ShiftOS/ShiftOS/Programs/Shifter.Designer.cs create mode 100644 ShiftOS/ShiftOS/Programs/Shifter.cs create mode 100644 ShiftOS/ShiftOS/Programs/Shifter.resx create mode 100644 ShiftOS/ShiftOS/Programs/TextPad.Designer.cs create mode 100644 ShiftOS/ShiftOS/Programs/TextPad.cs create mode 100644 ShiftOS/ShiftOS/Programs/TextPad.resx create mode 100644 ShiftOS/ShiftOS/Resources/ColorPickerDefaults.txt create mode 100644 ShiftOS/ShiftOS/Resources/ColorPickerLevels.txt diff --git a/ShiftOS/ShiftOS/Commands/Help.cs b/ShiftOS/ShiftOS/Commands/Help.cs index 46d0bf2..d981250 100644 --- a/ShiftOS/ShiftOS/Commands/Help.cs +++ b/ShiftOS/ShiftOS/Commands/Help.cs @@ -21,7 +21,10 @@ namespace ShiftOS.Commands InConsole.WriteLine(""); InConsole.WriteLine("Tips:"); InConsole.WriteLine(""); - InConsole.WriteLine(" - Not yet implemented."); + foreach (var tip in InConsole.CurrentSystem.GetUsefulTips().OrderBy(x=>x)) + { + InConsole.WriteLine($" - {tip}"); + } InConsole.WriteLine(""); InConsole.WriteLine("Terminal commands:"); InConsole.WriteLine(""); @@ -34,7 +37,10 @@ namespace ShiftOS.Commands InConsole.WriteLine(""); InConsole.WriteLine("Programs:"); InConsole.WriteLine(""); - InConsole.WriteLine(" - Not yet implemented."); + foreach(var program in InConsole.CurrentSystem.GetInstalledPrograms().OrderBy(x=>x)) + { + InConsole.WriteLine($" - {program}: {InConsole.CurrentSystem.GetProgramDescription(program)}"); + } InConsole.WriteLine(""); } } diff --git a/ShiftOS/ShiftOS/Desktop.Designer.cs b/ShiftOS/ShiftOS/Desktop.Designer.cs index 805e6c4..40fde1b 100644 --- a/ShiftOS/ShiftOS/Desktop.Designer.cs +++ b/ShiftOS/ShiftOS/Desktop.Designer.cs @@ -130,6 +130,7 @@ this.Controls.Add(this.DesktopPanel); this.ForeColor = System.Drawing.Color.White; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.KeyPreview = true; this.MainMenuStrip = this.AppLauncherStrip; this.Name = "Desktop"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; diff --git a/ShiftOS/ShiftOS/Desktop.cs b/ShiftOS/ShiftOS/Desktop.cs index 99dbf87..1bc38e5 100644 --- a/ShiftOS/ShiftOS/Desktop.cs +++ b/ShiftOS/ShiftOS/Desktop.cs @@ -189,6 +189,7 @@ namespace ShiftOS { menuItem.Font = new Font(appItemFontName, appItemFontSize, appItemFontStyle); } + menuItem.ForeColor = skin.GetSkinData().launcheritemcolour; } } @@ -197,16 +198,16 @@ namespace ShiftOS if (skin.HasImage("applauncher")) { AppLauncherMenu.Text = ""; - AppLauncherMenu.BackColor = Color.Transparent; - if(AppLauncherMenu.BackgroundImage != skin.GetImage("applauncher")) - AppLauncherMenu.BackgroundImage = skin.GetImage("applauncher"); - AppLauncherMenu.BackgroundImageLayout = skin.GetSkinData().applauncherlayout; + AppLauncherStrip.BackColor = Color.Transparent; + if(AppLauncherStrip.BackgroundImage != skin.GetImage("applauncher")) + AppLauncherStrip.BackgroundImage = skin.GetImage("applauncher"); + AppLauncherStrip.BackgroundImageLayout = skin.GetSkinData().applauncherlayout; } else { - AppLauncherMenu.BackColor = skin.GetSkinData().applauncherbackgroundcolour; - AppLauncherMenu.Text = skin.GetSkinData().applicationlaunchername; - AppLauncherMenu.BackgroundImage = null; + AppLauncherStrip.BackColor = skin.GetSkinData().applauncherbuttoncolour; + AppLauncherStrip.Text = skin.GetSkinData().applicationlaunchername; + AppLauncherStrip.BackgroundImage = null; } AppLauncherMenu.Height = skin.GetSkinData().applicationbuttonheight; @@ -265,10 +266,13 @@ namespace ShiftOS // TODO: Check if we actually have unity mode toggle and shutdown. - var separator = new ToolStripSeparator(); - AppLauncherMenu.DropDownItems.Add(separator); + if (CurrentSystem.HasShiftoriumUpgrade("alunitymode") || CurrentSystem.HasShiftoriumUpgrade("applaunchershutdown")) + { + var separator = new ToolStripSeparator(); + AppLauncherMenu.DropDownItems.Add(separator); + } - if (CurrentSystem.HasShiftoriumUpgrade("unitymodetoggle")) + if (CurrentSystem.HasShiftoriumUpgrade("alunitymode")) { var unityToggle = new ToolStripMenuItem("Toggle Unity Mode"); @@ -301,7 +305,10 @@ namespace ShiftOS } else if(e.KeyCode == Keys.S && e.Control) { - CurrentSystem.LaunchProgram("shiftorium"); + CurrentSystem.AskForColor("Desktop Panel color", CurrentSystem.GetSkinContext().GetSkinData().desktoppanelcolour, (color) => + { + CurrentSystem.GetSkinContext().GetSkinData().desktoppanelcolour = color; + }); } } diff --git a/ShiftOS/ShiftOS/Desktop.resx b/ShiftOS/ShiftOS/Desktop.resx index 704778f..22acd2d 100644 --- a/ShiftOS/ShiftOS/Desktop.resx +++ b/ShiftOS/ShiftOS/Desktop.resx @@ -120,9 +120,6 @@ 139, 17 - - 139, 17 - 17, 17 diff --git a/ShiftOS/ShiftOS/FilesystemContext.cs b/ShiftOS/ShiftOS/FilesystemContext.cs index fd2de02..571cda9 100644 --- a/ShiftOS/ShiftOS/FilesystemContext.cs +++ b/ShiftOS/ShiftOS/FilesystemContext.cs @@ -6,6 +6,7 @@ using System.IO; using System.Threading.Tasks; using System.Reflection; using System.Windows.Forms; +using System.Drawing; namespace ShiftOS { @@ -74,6 +75,19 @@ namespace ShiftOS return mapped; } + public Image LoadImage(string InPath) + { + Image ret = null; + if(FileExists(InPath)) + { + using (var stream = OpenRead(InPath)) + { + ret = new Bitmap(Bitmap.FromStream(stream)); + } + } + return ret; + } + public Stream Open(string InPath, FileMode InFileMode) { return File.Open(MapToEnvironmentPath(InPath), InFileMode); diff --git a/ShiftOS/ShiftOS/Main.usage.txt b/ShiftOS/ShiftOS/Main.usage.txt deleted file mode 100644 index dfa21ba..0000000 --- a/ShiftOS/ShiftOS/Main.usage.txt +++ /dev/null @@ -1,39 +0,0 @@ -Example usage for T4 Docopt.NET - -Usage: - prog command ARG [OPTIONALARG] [-o -s= --long=ARG --switch] - prog files FILE... - -Options: - -o Short switch. - -s= Short option with arg. - --long=ARG Long option with arg. - --switch Long switch. - -Explanation: - This is an example usage file that needs to be customized. - Every time you change this file, run the Custom Tool command - on T4DocoptNet.tt to re-generate the MainArgs class - (defined in T4DocoptNet.cs). - You can then use the MainArgs classed as follows: - - class Program - { - - static void DoStuff(string arg, bool flagO, string longValue) - { - // ... - } - - static void Main(string[] argv) - { - // Automatically exit(1) if invalid arguments - var args = new MainArgs(argv, exit: true); - if (args.CmdCommand) - { - Console.WriteLine("First command"); - DoStuff(args.ArgArg, args.OptO, args.OptLong); - } - } - } - diff --git a/ShiftOS/ShiftOS/Programs/ColorPicker.Designer.cs b/ShiftOS/ShiftOS/Programs/ColorPicker.Designer.cs new file mode 100644 index 0000000..a12c351 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/ColorPicker.Designer.cs @@ -0,0 +1,3607 @@ +namespace ShiftOS.Programs +{ + partial class ColorPicker + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.pnlbluecustomcolour = new System.Windows.Forms.Panel(); + this.pnlblue16 = new System.Windows.Forms.Panel(); + this.pnlblue14 = new System.Windows.Forms.Panel(); + this.pnlblue10 = new System.Windows.Forms.Panel(); + this.pnlblue8 = new System.Windows.Forms.Panel(); + this.pnlblue4 = new System.Windows.Forms.Panel(); + this.pnlpurple3 = new System.Windows.Forms.Panel(); + this.pnlpurplecolours = new System.Windows.Forms.Panel(); + this.pnlpurpleoptions = new System.Windows.Forms.Panel(); + this.Label8 = new System.Windows.Forms.Label(); + this.txtpurplesgreen = new System.Windows.Forms.TextBox(); + this.txtpurplesblue = new System.Windows.Forms.TextBox(); + this.Label10 = new System.Windows.Forms.Label(); + this.Label12 = new System.Windows.Forms.Label(); + this.txtpurplesred = new System.Windows.Forms.TextBox(); + this.pnlpurplecustomcolour = new System.Windows.Forms.Panel(); + this.pnlpurple16 = new System.Windows.Forms.Panel(); + this.pnlpurple12 = new System.Windows.Forms.Panel(); + this.pnlpurple14 = new System.Windows.Forms.Panel(); + this.pnlpurple10 = new System.Windows.Forms.Panel(); + this.pnlpurple8 = new System.Windows.Forms.Panel(); + this.pnlpurple4 = new System.Windows.Forms.Panel(); + this.pnlpurple6 = new System.Windows.Forms.Panel(); + this.pnlpurple15 = new System.Windows.Forms.Panel(); + this.pnlpurple2 = new System.Windows.Forms.Panel(); + this.pnlpurple13 = new System.Windows.Forms.Panel(); + this.pnlpurple11 = new System.Windows.Forms.Panel(); + this.pnlpurple7 = new System.Windows.Forms.Panel(); + this.pnlpurple9 = new System.Windows.Forms.Panel(); + this.pnlpurple5 = new System.Windows.Forms.Panel(); + this.pnlpurple1 = new System.Windows.Forms.Panel(); + this.lblpurplelevel = new System.Windows.Forms.Label(); + this.Label5 = new System.Windows.Forms.Label(); + this.pnlblueoptions = new System.Windows.Forms.Panel(); + this.Label6 = new System.Windows.Forms.Label(); + this.txtbluesred = new System.Windows.Forms.TextBox(); + this.txtbluesblue = new System.Windows.Forms.TextBox(); + this.Label4 = new System.Windows.Forms.Label(); + this.Label2 = new System.Windows.Forms.Label(); + this.txtbluesgreen = new System.Windows.Forms.TextBox(); + this.pnlblue12 = new System.Windows.Forms.Panel(); + this.pnlgreen14 = new System.Windows.Forms.Panel(); + this.pnlblue6 = new System.Windows.Forms.Panel(); + this.Label15 = new System.Windows.Forms.Label(); + this.txtgreensred = new System.Windows.Forms.TextBox(); + this.txtgreensgreen = new System.Windows.Forms.TextBox(); + this.pnlgreen12 = new System.Windows.Forms.Panel(); + this.Label18 = new System.Windows.Forms.Label(); + this.pnlgreen10 = new System.Windows.Forms.Panel(); + this.pnlgreen8 = new System.Windows.Forms.Panel(); + this.pnlgreen4 = new System.Windows.Forms.Panel(); + this.pnlgreen15 = new System.Windows.Forms.Panel(); + this.pnlgreen2 = new System.Windows.Forms.Panel(); + this.pnlgreen13 = new System.Windows.Forms.Panel(); + this.pnlgreen11 = new System.Windows.Forms.Panel(); + this.pnlgreen7 = new System.Windows.Forms.Panel(); + this.pnlgreen9 = new System.Windows.Forms.Panel(); + this.pnlgreen5 = new System.Windows.Forms.Panel(); + this.pnlgreen3 = new System.Windows.Forms.Panel(); + this.Label16 = new System.Windows.Forms.Label(); + this.pnlgreen6 = new System.Windows.Forms.Panel(); + this.pnlgreen1 = new System.Windows.Forms.Panel(); + this.pnlblue15 = new System.Windows.Forms.Panel(); + this.pnlblue2 = new System.Windows.Forms.Panel(); + this.pnlblue13 = new System.Windows.Forms.Panel(); + this.pnlblue11 = new System.Windows.Forms.Panel(); + this.pnlblue7 = new System.Windows.Forms.Panel(); + this.lblgreenlevel = new System.Windows.Forms.Label(); + this.pnlblue9 = new System.Windows.Forms.Panel(); + this.pnlblue3 = new System.Windows.Forms.Panel(); + this.pnlblue1 = new System.Windows.Forms.Panel(); + this.lblbluelevel = new System.Windows.Forms.Label(); + this.Label7 = new System.Windows.Forms.Label(); + this.pnlbluecolours = new System.Windows.Forms.Panel(); + this.pnlblue5 = new System.Windows.Forms.Panel(); + this.Label9 = new System.Windows.Forms.Label(); + this.txtanysblue = new System.Windows.Forms.TextBox(); + this.pnlanyoptions = new System.Windows.Forms.Panel(); + this.Label38 = new System.Windows.Forms.Label(); + this.txtanysgreen = new System.Windows.Forms.TextBox(); + this.txtanysred = new System.Windows.Forms.TextBox(); + this.Label39 = new System.Windows.Forms.Label(); + this.Label40 = new System.Windows.Forms.Label(); + this.pnlany16 = new System.Windows.Forms.Panel(); + this.pnlany12 = new System.Windows.Forms.Panel(); + this.pnlany14 = new System.Windows.Forms.Panel(); + this.pnlany10 = new System.Windows.Forms.Panel(); + this.pnlcolorconfirm = new System.Windows.Forms.Panel(); + this.lblnewcolourrgb = new System.Windows.Forms.Label(); + this.lblnewcolourname = new System.Windows.Forms.Label(); + this.Label26 = new System.Windows.Forms.Label(); + this.Label17 = new System.Windows.Forms.Label(); + this.lbloldcolourrgb = new System.Windows.Forms.Label(); + this.lbloldcolourname = new System.Windows.Forms.Label(); + this.Label14 = new System.Windows.Forms.Label(); + this.pnlnewcolour = new System.Windows.Forms.Panel(); + this.pnloldcolour = new System.Windows.Forms.Panel(); + this.lblobjecttocolour = new System.Windows.Forms.Label(); + this.pnlanycustomcolour = new System.Windows.Forms.Panel(); + this.pnlany8 = new System.Windows.Forms.Panel(); + this.lblcustomshadetut = new System.Windows.Forms.Label(); + this.txtcustomgrayshade = new System.Windows.Forms.TextBox(); + this.pnlgraycustomcolour = new System.Windows.Forms.Panel(); + this.pnlgray16 = new System.Windows.Forms.Panel(); + this.pnlgray12 = new System.Windows.Forms.Panel(); + this.pnlgray14 = new System.Windows.Forms.Panel(); + this.pnlgray10 = new System.Windows.Forms.Panel(); + this.pnlgray8 = new System.Windows.Forms.Panel(); + this.pnlgray4 = new System.Windows.Forms.Panel(); + this.pnlgray6 = new System.Windows.Forms.Panel(); + this.pnlgray15 = new System.Windows.Forms.Panel(); + this.pnlgray2 = new System.Windows.Forms.Panel(); + this.pnlgray13 = new System.Windows.Forms.Panel(); + this.pnlgray11 = new System.Windows.Forms.Panel(); + this.pnlgray7 = new System.Windows.Forms.Panel(); + this.pnlgray9 = new System.Windows.Forms.Panel(); + this.pnlgray5 = new System.Windows.Forms.Panel(); + this.pnlgray3 = new System.Windows.Forms.Panel(); + this.pnlgraycolours = new System.Windows.Forms.Panel(); + this.pnlgray1 = new System.Windows.Forms.Panel(); + this.lblgraylevel = new System.Windows.Forms.Label(); + this.Label3 = new System.Windows.Forms.Label(); + this.pnlanycolours = new System.Windows.Forms.Panel(); + this.pnlany4 = new System.Windows.Forms.Panel(); + this.pnlany6 = new System.Windows.Forms.Panel(); + this.pnlany15 = new System.Windows.Forms.Panel(); + this.pnlany2 = new System.Windows.Forms.Panel(); + this.pnlany13 = new System.Windows.Forms.Panel(); + this.pnlany11 = new System.Windows.Forms.Panel(); + this.pnlany7 = new System.Windows.Forms.Panel(); + this.pnlany9 = new System.Windows.Forms.Panel(); + this.pnlany5 = new System.Windows.Forms.Panel(); + this.pnlany3 = new System.Windows.Forms.Panel(); + this.pnlany1 = new System.Windows.Forms.Panel(); + this.lblanylevel = new System.Windows.Forms.Label(); + this.Label1 = new System.Windows.Forms.Label(); + this.txtgreensblue = new System.Windows.Forms.TextBox(); + this.Label32 = new System.Windows.Forms.Label(); + this.txtredsred = new System.Windows.Forms.TextBox(); + this.pnlredcustomcolour = new System.Windows.Forms.Panel(); + this.pnlred16 = new System.Windows.Forms.Panel(); + this.pnlred12 = new System.Windows.Forms.Panel(); + this.pnlred14 = new System.Windows.Forms.Panel(); + this.pnlred10 = new System.Windows.Forms.Panel(); + this.pnlred8 = new System.Windows.Forms.Panel(); + this.pnlred6 = new System.Windows.Forms.Panel(); + this.pnlred15 = new System.Windows.Forms.Panel(); + this.pnlred2 = new System.Windows.Forms.Panel(); + this.pnlred13 = new System.Windows.Forms.Panel(); + this.pnlred11 = new System.Windows.Forms.Panel(); + this.pnlred7 = new System.Windows.Forms.Panel(); + this.pnlred9 = new System.Windows.Forms.Panel(); + this.txtredsblue = new System.Windows.Forms.TextBox(); + this.pnlred4 = new System.Windows.Forms.Panel(); + this.pnlred5 = new System.Windows.Forms.Panel(); + this.pnlbrowncustomcolour = new System.Windows.Forms.Panel(); + this.pnlbrown16 = new System.Windows.Forms.Panel(); + this.pnlbrown12 = new System.Windows.Forms.Panel(); + this.pnlbrown14 = new System.Windows.Forms.Panel(); + this.pnlbrown8 = new System.Windows.Forms.Panel(); + this.Label29 = new System.Windows.Forms.Label(); + this.txtbrownsblue = new System.Windows.Forms.TextBox(); + this.txtbrownsred = new System.Windows.Forms.TextBox(); + this.Label30 = new System.Windows.Forms.Label(); + this.Label31 = new System.Windows.Forms.Label(); + this.txtbrownsgreen = new System.Windows.Forms.TextBox(); + this.pnlbrownoptions = new System.Windows.Forms.Panel(); + this.pnlbrowncolours = new System.Windows.Forms.Panel(); + this.pnlbrown10 = new System.Windows.Forms.Panel(); + this.pnlbrown4 = new System.Windows.Forms.Panel(); + this.pnlbrown6 = new System.Windows.Forms.Panel(); + this.pnlbrown15 = new System.Windows.Forms.Panel(); + this.pnlbrown2 = new System.Windows.Forms.Panel(); + this.pnlbrown13 = new System.Windows.Forms.Panel(); + this.pnlbrown11 = new System.Windows.Forms.Panel(); + this.pnlbrown7 = new System.Windows.Forms.Panel(); + this.pnlbrown9 = new System.Windows.Forms.Panel(); + this.pnlbrown5 = new System.Windows.Forms.Panel(); + this.pnlbrown3 = new System.Windows.Forms.Panel(); + this.pnlbrown1 = new System.Windows.Forms.Panel(); + this.lblbrownlevel = new System.Windows.Forms.Label(); + this.Label19 = new System.Windows.Forms.Label(); + this.pnlred3 = new System.Windows.Forms.Panel(); + this.pnlred1 = new System.Windows.Forms.Panel(); + this.lblredlevel = new System.Windows.Forms.Label(); + this.Label21 = new System.Windows.Forms.Label(); + this.Label33 = new System.Windows.Forms.Label(); + this.pgcontents = new System.Windows.Forms.Panel(); + this.pnlcolorgroups = new System.Windows.Forms.Panel(); + this.pnlpinkcolours = new System.Windows.Forms.Panel(); + this.pnlpinkoptions = new System.Windows.Forms.Panel(); + this.Label35 = new System.Windows.Forms.Label(); + this.txtpinksgreen = new System.Windows.Forms.TextBox(); + this.txtpinksred = new System.Windows.Forms.TextBox(); + this.Label36 = new System.Windows.Forms.Label(); + this.Label37 = new System.Windows.Forms.Label(); + this.txtpinksblue = new System.Windows.Forms.TextBox(); + this.pnlpinkcustomcolour = new System.Windows.Forms.Panel(); + this.pnlpink16 = new System.Windows.Forms.Panel(); + this.pnlpink12 = new System.Windows.Forms.Panel(); + this.pnlpink14 = new System.Windows.Forms.Panel(); + this.pnlpink10 = new System.Windows.Forms.Panel(); + this.pnlpink8 = new System.Windows.Forms.Panel(); + this.pnlpink4 = new System.Windows.Forms.Panel(); + this.pnlpink6 = new System.Windows.Forms.Panel(); + this.pnlpink15 = new System.Windows.Forms.Panel(); + this.pnlpink2 = new System.Windows.Forms.Panel(); + this.pnlpink13 = new System.Windows.Forms.Panel(); + this.pnlpink11 = new System.Windows.Forms.Panel(); + this.pnlpink7 = new System.Windows.Forms.Panel(); + this.pnlpink9 = new System.Windows.Forms.Panel(); + this.pnlpink5 = new System.Windows.Forms.Panel(); + this.pnlpink3 = new System.Windows.Forms.Panel(); + this.pnlpink1 = new System.Windows.Forms.Panel(); + this.lblpinklevel = new System.Windows.Forms.Label(); + this.Label23 = new System.Windows.Forms.Label(); + this.pnlredcolours = new System.Windows.Forms.Panel(); + this.pnlredoptions = new System.Windows.Forms.Panel(); + this.Label34 = new System.Windows.Forms.Label(); + this.txtredsgreen = new System.Windows.Forms.TextBox(); + this.pnlorangecolours = new System.Windows.Forms.Panel(); + this.pnlorangeoptions = new System.Windows.Forms.Panel(); + this.Label25 = new System.Windows.Forms.Label(); + this.txtorangesblue = new System.Windows.Forms.TextBox(); + this.txtorangesred = new System.Windows.Forms.TextBox(); + this.Label27 = new System.Windows.Forms.Label(); + this.Label28 = new System.Windows.Forms.Label(); + this.txtorangesgreen = new System.Windows.Forms.TextBox(); + this.pnlorangecustomcolour = new System.Windows.Forms.Panel(); + this.pnlorange16 = new System.Windows.Forms.Panel(); + this.pnlorange12 = new System.Windows.Forms.Panel(); + this.pnlorange14 = new System.Windows.Forms.Panel(); + this.pnlorange10 = new System.Windows.Forms.Panel(); + this.pnlorange8 = new System.Windows.Forms.Panel(); + this.pnlorange4 = new System.Windows.Forms.Panel(); + this.pnlorange6 = new System.Windows.Forms.Panel(); + this.pnlorange15 = new System.Windows.Forms.Panel(); + this.pnlorange2 = new System.Windows.Forms.Panel(); + this.pnlorange13 = new System.Windows.Forms.Panel(); + this.pnlorange11 = new System.Windows.Forms.Panel(); + this.pnlorange7 = new System.Windows.Forms.Panel(); + this.pnlorange9 = new System.Windows.Forms.Panel(); + this.pnlorange5 = new System.Windows.Forms.Panel(); + this.pnlorange3 = new System.Windows.Forms.Panel(); + this.pnlorange1 = new System.Windows.Forms.Panel(); + this.lblorangelevel = new System.Windows.Forms.Label(); + this.Label13 = new System.Windows.Forms.Label(); + this.pnlyellowcolours = new System.Windows.Forms.Panel(); + this.pnlyellowoptions = new System.Windows.Forms.Panel(); + this.Label20 = new System.Windows.Forms.Label(); + this.txtyellowsblue = new System.Windows.Forms.TextBox(); + this.txtyellowsred = new System.Windows.Forms.TextBox(); + this.Label22 = new System.Windows.Forms.Label(); + this.Label24 = new System.Windows.Forms.Label(); + this.txtyellowsgreen = new System.Windows.Forms.TextBox(); + this.pnlyellowcustomcolour = new System.Windows.Forms.Panel(); + this.pnlyellow16 = new System.Windows.Forms.Panel(); + this.pnlyellow12 = new System.Windows.Forms.Panel(); + this.pnlyellow14 = new System.Windows.Forms.Panel(); + this.pnlyellow10 = new System.Windows.Forms.Panel(); + this.pnlyellow8 = new System.Windows.Forms.Panel(); + this.pnlyellow4 = new System.Windows.Forms.Panel(); + this.pnlyellow6 = new System.Windows.Forms.Panel(); + this.pnlyellow15 = new System.Windows.Forms.Panel(); + this.pnlyellow2 = new System.Windows.Forms.Panel(); + this.pnlyellow13 = new System.Windows.Forms.Panel(); + this.pnlyellow11 = new System.Windows.Forms.Panel(); + this.pnlyellow7 = new System.Windows.Forms.Panel(); + this.pnlyellow9 = new System.Windows.Forms.Panel(); + this.pnlyellow5 = new System.Windows.Forms.Panel(); + this.pnlyellow3 = new System.Windows.Forms.Panel(); + this.pnlyellow1 = new System.Windows.Forms.Panel(); + this.lblyellowlevel = new System.Windows.Forms.Label(); + this.Label11 = new System.Windows.Forms.Label(); + this.pnlgreencolours = new System.Windows.Forms.Panel(); + this.pnlgreenoptions = new System.Windows.Forms.Panel(); + this.pnlgreencustomcolour = new System.Windows.Forms.Panel(); + this.pnlgreen16 = new System.Windows.Forms.Panel(); + this.pnlpurplecolours.SuspendLayout(); + this.pnlpurpleoptions.SuspendLayout(); + this.pnlblueoptions.SuspendLayout(); + this.pnlbluecolours.SuspendLayout(); + this.pnlanyoptions.SuspendLayout(); + this.pnlcolorconfirm.SuspendLayout(); + this.pnlgraycolours.SuspendLayout(); + this.pnlanycolours.SuspendLayout(); + this.pnlbrownoptions.SuspendLayout(); + this.pnlbrowncolours.SuspendLayout(); + this.pgcontents.SuspendLayout(); + this.pnlcolorgroups.SuspendLayout(); + this.pnlpinkcolours.SuspendLayout(); + this.pnlpinkoptions.SuspendLayout(); + this.pnlredcolours.SuspendLayout(); + this.pnlredoptions.SuspendLayout(); + this.pnlorangecolours.SuspendLayout(); + this.pnlorangeoptions.SuspendLayout(); + this.pnlyellowcolours.SuspendLayout(); + this.pnlyellowoptions.SuspendLayout(); + this.pnlgreencolours.SuspendLayout(); + this.pnlgreenoptions.SuspendLayout(); + this.SuspendLayout(); + // + // pnlbluecustomcolour + // + this.pnlbluecustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbluecustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlbluecustomcolour.Name = "pnlbluecustomcolour"; + this.pnlbluecustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlbluecustomcolour.TabIndex = 18; + this.pnlbluecustomcolour.Visible = false; + // + // pnlblue16 + // + this.pnlblue16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue16.Location = new System.Drawing.Point(259, 25); + this.pnlblue16.Name = "pnlblue16"; + this.pnlblue16.Size = new System.Drawing.Size(20, 13); + this.pnlblue16.TabIndex = 17; + this.pnlblue16.Visible = false; + // + // pnlblue14 + // + this.pnlblue14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue14.Location = new System.Drawing.Point(207, 25); + this.pnlblue14.Name = "pnlblue14"; + this.pnlblue14.Size = new System.Drawing.Size(20, 13); + this.pnlblue14.TabIndex = 13; + this.pnlblue14.Visible = false; + // + // pnlblue10 + // + this.pnlblue10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue10.Location = new System.Drawing.Point(103, 25); + this.pnlblue10.Name = "pnlblue10"; + this.pnlblue10.Size = new System.Drawing.Size(20, 13); + this.pnlblue10.TabIndex = 5; + this.pnlblue10.Visible = false; + // + // pnlblue8 + // + this.pnlblue8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue8.Location = new System.Drawing.Point(259, 8); + this.pnlblue8.Name = "pnlblue8"; + this.pnlblue8.Size = new System.Drawing.Size(20, 13); + this.pnlblue8.TabIndex = 16; + this.pnlblue8.Visible = false; + // + // pnlblue4 + // + this.pnlblue4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue4.Location = new System.Drawing.Point(155, 8); + this.pnlblue4.Name = "pnlblue4"; + this.pnlblue4.Size = new System.Drawing.Size(20, 13); + this.pnlblue4.TabIndex = 8; + this.pnlblue4.Visible = false; + // + // pnlpurple3 + // + this.pnlpurple3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple3.Location = new System.Drawing.Point(129, 8); + this.pnlpurple3.Name = "pnlpurple3"; + this.pnlpurple3.Size = new System.Drawing.Size(20, 13); + this.pnlpurple3.TabIndex = 6; + this.pnlpurple3.Visible = false; + // + // pnlpurplecolours + // + this.pnlpurplecolours.BackColor = System.Drawing.Color.White; + this.pnlpurplecolours.Controls.Add(this.pnlpurpleoptions); + this.pnlpurplecolours.Controls.Add(this.pnlpurplecustomcolour); + this.pnlpurplecolours.Controls.Add(this.pnlpurple16); + this.pnlpurplecolours.Controls.Add(this.pnlpurple12); + this.pnlpurplecolours.Controls.Add(this.pnlpurple14); + this.pnlpurplecolours.Controls.Add(this.pnlpurple10); + this.pnlpurplecolours.Controls.Add(this.pnlpurple8); + this.pnlpurplecolours.Controls.Add(this.pnlpurple4); + this.pnlpurplecolours.Controls.Add(this.pnlpurple6); + this.pnlpurplecolours.Controls.Add(this.pnlpurple15); + this.pnlpurplecolours.Controls.Add(this.pnlpurple2); + this.pnlpurplecolours.Controls.Add(this.pnlpurple13); + this.pnlpurplecolours.Controls.Add(this.pnlpurple11); + this.pnlpurplecolours.Controls.Add(this.pnlpurple7); + this.pnlpurplecolours.Controls.Add(this.pnlpurple9); + this.pnlpurplecolours.Controls.Add(this.pnlpurple5); + this.pnlpurplecolours.Controls.Add(this.pnlpurple3); + this.pnlpurplecolours.Controls.Add(this.pnlpurple1); + this.pnlpurplecolours.Controls.Add(this.lblpurplelevel); + this.pnlpurplecolours.Controls.Add(this.Label5); + this.pnlpurplecolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlpurplecolours.Location = new System.Drawing.Point(0, 92); + this.pnlpurplecolours.Name = "pnlpurplecolours"; + this.pnlpurplecolours.Size = new System.Drawing.Size(443, 46); + this.pnlpurplecolours.TabIndex = 3; + this.pnlpurplecolours.Visible = false; + // + // pnlpurpleoptions + // + this.pnlpurpleoptions.Controls.Add(this.Label8); + this.pnlpurpleoptions.Controls.Add(this.txtpurplesgreen); + this.pnlpurpleoptions.Controls.Add(this.txtpurplesblue); + this.pnlpurpleoptions.Controls.Add(this.Label10); + this.pnlpurpleoptions.Controls.Add(this.Label12); + this.pnlpurpleoptions.Controls.Add(this.txtpurplesred); + this.pnlpurpleoptions.Location = new System.Drawing.Point(282, 3); + this.pnlpurpleoptions.Name = "pnlpurpleoptions"; + this.pnlpurpleoptions.Size = new System.Drawing.Size(120, 40); + this.pnlpurpleoptions.TabIndex = 28; + this.pnlpurpleoptions.Visible = false; + // + // Label8 + // + this.Label8.AutoSize = true; + this.Label8.BackColor = System.Drawing.Color.Transparent; + this.Label8.Location = new System.Drawing.Point(56, 24); + this.Label8.Name = "Label8"; + this.Label8.Size = new System.Drawing.Size(39, 13); + this.Label8.TabIndex = 26; + this.Label8.Text = "Green:"; + // + // txtpurplesgreen + // + this.txtpurplesgreen.BackColor = System.Drawing.Color.White; + this.txtpurplesgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpurplesgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpurplesgreen.Location = new System.Drawing.Point(95, 22); + this.txtpurplesgreen.Multiline = true; + this.txtpurplesgreen.Name = "txtpurplesgreen"; + this.txtpurplesgreen.Size = new System.Drawing.Size(23, 17); + this.txtpurplesgreen.TabIndex = 25; + this.txtpurplesgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // txtpurplesblue + // + this.txtpurplesblue.BackColor = System.Drawing.Color.White; + this.txtpurplesblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpurplesblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpurplesblue.Location = new System.Drawing.Point(65, 2); + this.txtpurplesblue.Multiline = true; + this.txtpurplesblue.Name = "txtpurplesblue"; + this.txtpurplesblue.Size = new System.Drawing.Size(23, 17); + this.txtpurplesblue.TabIndex = 21; + this.txtpurplesblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // Label10 + // + this.Label10.AutoSize = true; + this.Label10.BackColor = System.Drawing.Color.Transparent; + this.Label10.Location = new System.Drawing.Point(2, 23); + this.Label10.Name = "Label10"; + this.Label10.Size = new System.Drawing.Size(30, 13); + this.Label10.TabIndex = 24; + this.Label10.Text = "Red:"; + // + // Label12 + // + this.Label12.AutoSize = true; + this.Label12.BackColor = System.Drawing.Color.Transparent; + this.Label12.Location = new System.Drawing.Point(33, 4); + this.Label12.Name = "Label12"; + this.Label12.Size = new System.Drawing.Size(31, 13); + this.Label12.TabIndex = 22; + this.Label12.Text = "Blue:"; + // + // txtpurplesred + // + this.txtpurplesred.BackColor = System.Drawing.Color.White; + this.txtpurplesred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpurplesred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpurplesred.Location = new System.Drawing.Point(32, 22); + this.txtpurplesred.Multiline = true; + this.txtpurplesred.Name = "txtpurplesred"; + this.txtpurplesred.Size = new System.Drawing.Size(23, 17); + this.txtpurplesred.TabIndex = 23; + this.txtpurplesred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlpurplecustomcolour + // + this.pnlpurplecustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurplecustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlpurplecustomcolour.Name = "pnlpurplecustomcolour"; + this.pnlpurplecustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlpurplecustomcolour.TabIndex = 18; + this.pnlpurplecustomcolour.Visible = false; + // + // pnlpurple16 + // + this.pnlpurple16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple16.Location = new System.Drawing.Point(259, 25); + this.pnlpurple16.Name = "pnlpurple16"; + this.pnlpurple16.Size = new System.Drawing.Size(20, 13); + this.pnlpurple16.TabIndex = 17; + this.pnlpurple16.Visible = false; + // + // pnlpurple12 + // + this.pnlpurple12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple12.Location = new System.Drawing.Point(155, 25); + this.pnlpurple12.Name = "pnlpurple12"; + this.pnlpurple12.Size = new System.Drawing.Size(20, 13); + this.pnlpurple12.TabIndex = 9; + this.pnlpurple12.Visible = false; + // + // pnlpurple14 + // + this.pnlpurple14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple14.Location = new System.Drawing.Point(207, 25); + this.pnlpurple14.Name = "pnlpurple14"; + this.pnlpurple14.Size = new System.Drawing.Size(20, 13); + this.pnlpurple14.TabIndex = 13; + this.pnlpurple14.Visible = false; + // + // pnlpurple10 + // + this.pnlpurple10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple10.Location = new System.Drawing.Point(103, 25); + this.pnlpurple10.Name = "pnlpurple10"; + this.pnlpurple10.Size = new System.Drawing.Size(20, 13); + this.pnlpurple10.TabIndex = 5; + this.pnlpurple10.Visible = false; + // + // pnlpurple8 + // + this.pnlpurple8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple8.Location = new System.Drawing.Point(259, 8); + this.pnlpurple8.Name = "pnlpurple8"; + this.pnlpurple8.Size = new System.Drawing.Size(20, 13); + this.pnlpurple8.TabIndex = 16; + this.pnlpurple8.Visible = false; + // + // pnlpurple4 + // + this.pnlpurple4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple4.Location = new System.Drawing.Point(155, 8); + this.pnlpurple4.Name = "pnlpurple4"; + this.pnlpurple4.Size = new System.Drawing.Size(20, 13); + this.pnlpurple4.TabIndex = 8; + this.pnlpurple4.Visible = false; + // + // pnlpurple6 + // + this.pnlpurple6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple6.Location = new System.Drawing.Point(207, 8); + this.pnlpurple6.Name = "pnlpurple6"; + this.pnlpurple6.Size = new System.Drawing.Size(20, 13); + this.pnlpurple6.TabIndex = 12; + this.pnlpurple6.Visible = false; + // + // pnlpurple15 + // + this.pnlpurple15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple15.Location = new System.Drawing.Point(233, 25); + this.pnlpurple15.Name = "pnlpurple15"; + this.pnlpurple15.Size = new System.Drawing.Size(20, 13); + this.pnlpurple15.TabIndex = 15; + this.pnlpurple15.Visible = false; + // + // pnlpurple2 + // + this.pnlpurple2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple2.Location = new System.Drawing.Point(103, 8); + this.pnlpurple2.Name = "pnlpurple2"; + this.pnlpurple2.Size = new System.Drawing.Size(20, 13); + this.pnlpurple2.TabIndex = 4; + this.pnlpurple2.Visible = false; + // + // pnlpurple13 + // + this.pnlpurple13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple13.Location = new System.Drawing.Point(181, 25); + this.pnlpurple13.Name = "pnlpurple13"; + this.pnlpurple13.Size = new System.Drawing.Size(20, 13); + this.pnlpurple13.TabIndex = 11; + this.pnlpurple13.Visible = false; + // + // pnlpurple11 + // + this.pnlpurple11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple11.Location = new System.Drawing.Point(129, 25); + this.pnlpurple11.Name = "pnlpurple11"; + this.pnlpurple11.Size = new System.Drawing.Size(20, 13); + this.pnlpurple11.TabIndex = 7; + this.pnlpurple11.Visible = false; + // + // pnlpurple7 + // + this.pnlpurple7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple7.Location = new System.Drawing.Point(233, 8); + this.pnlpurple7.Name = "pnlpurple7"; + this.pnlpurple7.Size = new System.Drawing.Size(20, 13); + this.pnlpurple7.TabIndex = 14; + this.pnlpurple7.Visible = false; + // + // pnlpurple9 + // + this.pnlpurple9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple9.Location = new System.Drawing.Point(77, 25); + this.pnlpurple9.Name = "pnlpurple9"; + this.pnlpurple9.Size = new System.Drawing.Size(20, 13); + this.pnlpurple9.TabIndex = 3; + this.pnlpurple9.Visible = false; + // + // pnlpurple5 + // + this.pnlpurple5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple5.Location = new System.Drawing.Point(181, 8); + this.pnlpurple5.Name = "pnlpurple5"; + this.pnlpurple5.Size = new System.Drawing.Size(20, 13); + this.pnlpurple5.TabIndex = 10; + this.pnlpurple5.Visible = false; + // + // pnlpurple1 + // + this.pnlpurple1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpurple1.Location = new System.Drawing.Point(77, 8); + this.pnlpurple1.Name = "pnlpurple1"; + this.pnlpurple1.Size = new System.Drawing.Size(20, 13); + this.pnlpurple1.TabIndex = 2; + this.pnlpurple1.Tag = "1"; + this.pnlpurple1.Visible = false; + // + // lblpurplelevel + // + this.lblpurplelevel.AutoSize = true; + this.lblpurplelevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblpurplelevel.Location = new System.Drawing.Point(5, 25); + this.lblpurplelevel.Name = "lblpurplelevel"; + this.lblpurplelevel.Size = new System.Drawing.Size(49, 15); + this.lblpurplelevel.TabIndex = 1; + this.lblpurplelevel.Text = "Level: 4"; + // + // Label5 + // + this.Label5.AutoSize = true; + this.Label5.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label5.Location = new System.Drawing.Point(3, 2); + this.Label5.Name = "Label5"; + this.Label5.Size = new System.Drawing.Size(67, 22); + this.Label5.TabIndex = 0; + this.Label5.Text = "Purple"; + // + // pnlblueoptions + // + this.pnlblueoptions.Controls.Add(this.Label6); + this.pnlblueoptions.Controls.Add(this.txtbluesred); + this.pnlblueoptions.Controls.Add(this.txtbluesblue); + this.pnlblueoptions.Controls.Add(this.Label4); + this.pnlblueoptions.Controls.Add(this.Label2); + this.pnlblueoptions.Controls.Add(this.txtbluesgreen); + this.pnlblueoptions.Location = new System.Drawing.Point(282, 3); + this.pnlblueoptions.Name = "pnlblueoptions"; + this.pnlblueoptions.Size = new System.Drawing.Size(120, 40); + this.pnlblueoptions.TabIndex = 27; + this.pnlblueoptions.Visible = false; + // + // Label6 + // + this.Label6.AutoSize = true; + this.Label6.BackColor = System.Drawing.Color.Transparent; + this.Label6.Location = new System.Drawing.Point(65, 24); + this.Label6.Name = "Label6"; + this.Label6.Size = new System.Drawing.Size(30, 13); + this.Label6.TabIndex = 26; + this.Label6.Text = "Red:"; + // + // txtbluesred + // + this.txtbluesred.BackColor = System.Drawing.Color.White; + this.txtbluesred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtbluesred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtbluesred.Location = new System.Drawing.Point(95, 22); + this.txtbluesred.Multiline = true; + this.txtbluesred.Name = "txtbluesred"; + this.txtbluesred.Size = new System.Drawing.Size(23, 17); + this.txtbluesred.TabIndex = 25; + this.txtbluesred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // txtbluesblue + // + this.txtbluesblue.BackColor = System.Drawing.Color.White; + this.txtbluesblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtbluesblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtbluesblue.Location = new System.Drawing.Point(65, 2); + this.txtbluesblue.Multiline = true; + this.txtbluesblue.Name = "txtbluesblue"; + this.txtbluesblue.Size = new System.Drawing.Size(23, 17); + this.txtbluesblue.TabIndex = 21; + this.txtbluesblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // Label4 + // + this.Label4.AutoSize = true; + this.Label4.BackColor = System.Drawing.Color.Transparent; + this.Label4.Location = new System.Drawing.Point(2, 23); + this.Label4.Name = "Label4"; + this.Label4.Size = new System.Drawing.Size(39, 13); + this.Label4.TabIndex = 24; + this.Label4.Text = "Green:"; + // + // Label2 + // + this.Label2.AutoSize = true; + this.Label2.BackColor = System.Drawing.Color.Transparent; + this.Label2.Location = new System.Drawing.Point(33, 4); + this.Label2.Name = "Label2"; + this.Label2.Size = new System.Drawing.Size(31, 13); + this.Label2.TabIndex = 22; + this.Label2.Text = "Blue:"; + // + // txtbluesgreen + // + this.txtbluesgreen.BackColor = System.Drawing.Color.White; + this.txtbluesgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtbluesgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtbluesgreen.Location = new System.Drawing.Point(41, 22); + this.txtbluesgreen.Multiline = true; + this.txtbluesgreen.Name = "txtbluesgreen"; + this.txtbluesgreen.Size = new System.Drawing.Size(23, 17); + this.txtbluesgreen.TabIndex = 23; + this.txtbluesgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlblue12 + // + this.pnlblue12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue12.Location = new System.Drawing.Point(155, 25); + this.pnlblue12.Name = "pnlblue12"; + this.pnlblue12.Size = new System.Drawing.Size(20, 13); + this.pnlblue12.TabIndex = 9; + this.pnlblue12.Visible = false; + // + // pnlgreen14 + // + this.pnlgreen14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen14.Location = new System.Drawing.Point(207, 25); + this.pnlgreen14.Name = "pnlgreen14"; + this.pnlgreen14.Size = new System.Drawing.Size(20, 13); + this.pnlgreen14.TabIndex = 13; + this.pnlgreen14.Visible = false; + // + // pnlblue6 + // + this.pnlblue6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue6.Location = new System.Drawing.Point(207, 8); + this.pnlblue6.Name = "pnlblue6"; + this.pnlblue6.Size = new System.Drawing.Size(20, 13); + this.pnlblue6.TabIndex = 12; + this.pnlblue6.Visible = false; + // + // Label15 + // + this.Label15.AutoSize = true; + this.Label15.BackColor = System.Drawing.Color.Transparent; + this.Label15.Location = new System.Drawing.Point(62, 24); + this.Label15.Name = "Label15"; + this.Label15.Size = new System.Drawing.Size(30, 13); + this.Label15.TabIndex = 26; + this.Label15.Text = "Red:"; + // + // txtgreensred + // + this.txtgreensred.BackColor = System.Drawing.Color.White; + this.txtgreensred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtgreensred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtgreensred.Location = new System.Drawing.Point(92, 22); + this.txtgreensred.Multiline = true; + this.txtgreensred.Name = "txtgreensred"; + this.txtgreensred.Size = new System.Drawing.Size(23, 17); + this.txtgreensred.TabIndex = 25; + this.txtgreensred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // txtgreensgreen + // + this.txtgreensgreen.BackColor = System.Drawing.Color.White; + this.txtgreensgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtgreensgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtgreensgreen.Location = new System.Drawing.Point(66, 2); + this.txtgreensgreen.Multiline = true; + this.txtgreensgreen.Name = "txtgreensgreen"; + this.txtgreensgreen.Size = new System.Drawing.Size(23, 17); + this.txtgreensgreen.TabIndex = 21; + this.txtgreensgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlgreen12 + // + this.pnlgreen12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen12.Location = new System.Drawing.Point(155, 25); + this.pnlgreen12.Name = "pnlgreen12"; + this.pnlgreen12.Size = new System.Drawing.Size(20, 13); + this.pnlgreen12.TabIndex = 9; + this.pnlgreen12.Visible = false; + // + // Label18 + // + this.Label18.AutoSize = true; + this.Label18.BackColor = System.Drawing.Color.Transparent; + this.Label18.Location = new System.Drawing.Point(28, 4); + this.Label18.Name = "Label18"; + this.Label18.Size = new System.Drawing.Size(39, 13); + this.Label18.TabIndex = 22; + this.Label18.Text = "Green:"; + // + // pnlgreen10 + // + this.pnlgreen10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen10.Location = new System.Drawing.Point(103, 25); + this.pnlgreen10.Name = "pnlgreen10"; + this.pnlgreen10.Size = new System.Drawing.Size(20, 13); + this.pnlgreen10.TabIndex = 5; + this.pnlgreen10.Visible = false; + // + // pnlgreen8 + // + this.pnlgreen8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen8.Location = new System.Drawing.Point(259, 8); + this.pnlgreen8.Name = "pnlgreen8"; + this.pnlgreen8.Size = new System.Drawing.Size(20, 13); + this.pnlgreen8.TabIndex = 16; + this.pnlgreen8.Visible = false; + // + // pnlgreen4 + // + this.pnlgreen4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen4.Location = new System.Drawing.Point(155, 8); + this.pnlgreen4.Name = "pnlgreen4"; + this.pnlgreen4.Size = new System.Drawing.Size(20, 13); + this.pnlgreen4.TabIndex = 8; + this.pnlgreen4.Visible = false; + // + // pnlgreen15 + // + this.pnlgreen15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen15.Location = new System.Drawing.Point(233, 25); + this.pnlgreen15.Name = "pnlgreen15"; + this.pnlgreen15.Size = new System.Drawing.Size(20, 13); + this.pnlgreen15.TabIndex = 15; + this.pnlgreen15.Visible = false; + // + // pnlgreen2 + // + this.pnlgreen2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen2.Location = new System.Drawing.Point(103, 8); + this.pnlgreen2.Name = "pnlgreen2"; + this.pnlgreen2.Size = new System.Drawing.Size(20, 13); + this.pnlgreen2.TabIndex = 4; + this.pnlgreen2.Visible = false; + // + // pnlgreen13 + // + this.pnlgreen13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen13.Location = new System.Drawing.Point(181, 25); + this.pnlgreen13.Name = "pnlgreen13"; + this.pnlgreen13.Size = new System.Drawing.Size(20, 13); + this.pnlgreen13.TabIndex = 11; + this.pnlgreen13.Visible = false; + // + // pnlgreen11 + // + this.pnlgreen11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen11.Location = new System.Drawing.Point(129, 25); + this.pnlgreen11.Name = "pnlgreen11"; + this.pnlgreen11.Size = new System.Drawing.Size(20, 13); + this.pnlgreen11.TabIndex = 7; + this.pnlgreen11.Visible = false; + // + // pnlgreen7 + // + this.pnlgreen7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen7.Location = new System.Drawing.Point(233, 8); + this.pnlgreen7.Name = "pnlgreen7"; + this.pnlgreen7.Size = new System.Drawing.Size(20, 13); + this.pnlgreen7.TabIndex = 14; + this.pnlgreen7.Visible = false; + // + // pnlgreen9 + // + this.pnlgreen9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen9.Location = new System.Drawing.Point(77, 25); + this.pnlgreen9.Name = "pnlgreen9"; + this.pnlgreen9.Size = new System.Drawing.Size(20, 13); + this.pnlgreen9.TabIndex = 3; + this.pnlgreen9.Visible = false; + // + // pnlgreen5 + // + this.pnlgreen5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen5.Location = new System.Drawing.Point(181, 8); + this.pnlgreen5.Name = "pnlgreen5"; + this.pnlgreen5.Size = new System.Drawing.Size(20, 13); + this.pnlgreen5.TabIndex = 10; + this.pnlgreen5.Visible = false; + // + // pnlgreen3 + // + this.pnlgreen3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen3.Location = new System.Drawing.Point(129, 8); + this.pnlgreen3.Name = "pnlgreen3"; + this.pnlgreen3.Size = new System.Drawing.Size(20, 13); + this.pnlgreen3.TabIndex = 6; + this.pnlgreen3.Visible = false; + // + // Label16 + // + this.Label16.AutoSize = true; + this.Label16.BackColor = System.Drawing.Color.Transparent; + this.Label16.Location = new System.Drawing.Point(2, 23); + this.Label16.Name = "Label16"; + this.Label16.Size = new System.Drawing.Size(31, 13); + this.Label16.TabIndex = 24; + this.Label16.Text = "Blue:"; + // + // pnlgreen6 + // + this.pnlgreen6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen6.Location = new System.Drawing.Point(207, 8); + this.pnlgreen6.Name = "pnlgreen6"; + this.pnlgreen6.Size = new System.Drawing.Size(20, 13); + this.pnlgreen6.TabIndex = 12; + this.pnlgreen6.Visible = false; + // + // pnlgreen1 + // + this.pnlgreen1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen1.Location = new System.Drawing.Point(77, 8); + this.pnlgreen1.Name = "pnlgreen1"; + this.pnlgreen1.Size = new System.Drawing.Size(20, 13); + this.pnlgreen1.TabIndex = 2; + this.pnlgreen1.Tag = "1"; + this.pnlgreen1.Visible = false; + // + // pnlblue15 + // + this.pnlblue15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue15.Location = new System.Drawing.Point(233, 25); + this.pnlblue15.Name = "pnlblue15"; + this.pnlblue15.Size = new System.Drawing.Size(20, 13); + this.pnlblue15.TabIndex = 15; + this.pnlblue15.Visible = false; + // + // pnlblue2 + // + this.pnlblue2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue2.Location = new System.Drawing.Point(103, 8); + this.pnlblue2.Name = "pnlblue2"; + this.pnlblue2.Size = new System.Drawing.Size(20, 13); + this.pnlblue2.TabIndex = 4; + this.pnlblue2.Visible = false; + // + // pnlblue13 + // + this.pnlblue13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue13.Location = new System.Drawing.Point(181, 25); + this.pnlblue13.Name = "pnlblue13"; + this.pnlblue13.Size = new System.Drawing.Size(20, 13); + this.pnlblue13.TabIndex = 11; + this.pnlblue13.Visible = false; + // + // pnlblue11 + // + this.pnlblue11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue11.Location = new System.Drawing.Point(129, 25); + this.pnlblue11.Name = "pnlblue11"; + this.pnlblue11.Size = new System.Drawing.Size(20, 13); + this.pnlblue11.TabIndex = 7; + this.pnlblue11.Visible = false; + // + // pnlblue7 + // + this.pnlblue7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue7.Location = new System.Drawing.Point(233, 8); + this.pnlblue7.Name = "pnlblue7"; + this.pnlblue7.Size = new System.Drawing.Size(20, 13); + this.pnlblue7.TabIndex = 14; + this.pnlblue7.Visible = false; + // + // lblgreenlevel + // + this.lblgreenlevel.AutoSize = true; + this.lblgreenlevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblgreenlevel.Location = new System.Drawing.Point(5, 25); + this.lblgreenlevel.Name = "lblgreenlevel"; + this.lblgreenlevel.Size = new System.Drawing.Size(49, 15); + this.lblgreenlevel.TabIndex = 1; + this.lblgreenlevel.Text = "Level: 4"; + // + // pnlblue9 + // + this.pnlblue9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue9.Location = new System.Drawing.Point(77, 25); + this.pnlblue9.Name = "pnlblue9"; + this.pnlblue9.Size = new System.Drawing.Size(20, 13); + this.pnlblue9.TabIndex = 3; + this.pnlblue9.Visible = false; + // + // pnlblue3 + // + this.pnlblue3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue3.Location = new System.Drawing.Point(129, 8); + this.pnlblue3.Name = "pnlblue3"; + this.pnlblue3.Size = new System.Drawing.Size(20, 13); + this.pnlblue3.TabIndex = 6; + this.pnlblue3.Visible = false; + // + // pnlblue1 + // + this.pnlblue1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue1.Location = new System.Drawing.Point(77, 8); + this.pnlblue1.Name = "pnlblue1"; + this.pnlblue1.Size = new System.Drawing.Size(20, 13); + this.pnlblue1.TabIndex = 2; + this.pnlblue1.Tag = "1"; + this.pnlblue1.Visible = false; + // + // lblbluelevel + // + this.lblbluelevel.AutoSize = true; + this.lblbluelevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblbluelevel.Location = new System.Drawing.Point(5, 25); + this.lblbluelevel.Name = "lblbluelevel"; + this.lblbluelevel.Size = new System.Drawing.Size(49, 15); + this.lblbluelevel.TabIndex = 1; + this.lblbluelevel.Text = "Level: 4"; + // + // Label7 + // + this.Label7.AutoSize = true; + this.Label7.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label7.Location = new System.Drawing.Point(3, 2); + this.Label7.Name = "Label7"; + this.Label7.Size = new System.Drawing.Size(48, 22); + this.Label7.TabIndex = 0; + this.Label7.Text = "Blue"; + // + // pnlbluecolours + // + this.pnlbluecolours.BackColor = System.Drawing.Color.White; + this.pnlbluecolours.Controls.Add(this.pnlblueoptions); + this.pnlbluecolours.Controls.Add(this.pnlbluecustomcolour); + this.pnlbluecolours.Controls.Add(this.pnlblue16); + this.pnlbluecolours.Controls.Add(this.pnlblue12); + this.pnlbluecolours.Controls.Add(this.pnlblue14); + this.pnlbluecolours.Controls.Add(this.pnlblue10); + this.pnlbluecolours.Controls.Add(this.pnlblue8); + this.pnlbluecolours.Controls.Add(this.pnlblue4); + this.pnlbluecolours.Controls.Add(this.pnlblue6); + this.pnlbluecolours.Controls.Add(this.pnlblue15); + this.pnlbluecolours.Controls.Add(this.pnlblue2); + this.pnlbluecolours.Controls.Add(this.pnlblue13); + this.pnlbluecolours.Controls.Add(this.pnlblue11); + this.pnlbluecolours.Controls.Add(this.pnlblue7); + this.pnlbluecolours.Controls.Add(this.pnlblue9); + this.pnlbluecolours.Controls.Add(this.pnlblue5); + this.pnlbluecolours.Controls.Add(this.pnlblue3); + this.pnlbluecolours.Controls.Add(this.pnlblue1); + this.pnlbluecolours.Controls.Add(this.lblbluelevel); + this.pnlbluecolours.Controls.Add(this.Label7); + this.pnlbluecolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlbluecolours.Location = new System.Drawing.Point(0, 138); + this.pnlbluecolours.Name = "pnlbluecolours"; + this.pnlbluecolours.Size = new System.Drawing.Size(443, 46); + this.pnlbluecolours.TabIndex = 4; + this.pnlbluecolours.Visible = false; + // + // pnlblue5 + // + this.pnlblue5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlblue5.Location = new System.Drawing.Point(181, 8); + this.pnlblue5.Name = "pnlblue5"; + this.pnlblue5.Size = new System.Drawing.Size(20, 13); + this.pnlblue5.TabIndex = 10; + this.pnlblue5.Visible = false; + // + // Label9 + // + this.Label9.AutoSize = true; + this.Label9.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label9.Location = new System.Drawing.Point(3, 2); + this.Label9.Name = "Label9"; + this.Label9.Size = new System.Drawing.Size(60, 22); + this.Label9.TabIndex = 0; + this.Label9.Text = "Green"; + // + // txtanysblue + // + this.txtanysblue.BackColor = System.Drawing.Color.White; + this.txtanysblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtanysblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtanysblue.Location = new System.Drawing.Point(32, 22); + this.txtanysblue.Multiline = true; + this.txtanysblue.Name = "txtanysblue"; + this.txtanysblue.Size = new System.Drawing.Size(23, 17); + this.txtanysblue.TabIndex = 23; + this.txtanysblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlanyoptions + // + this.pnlanyoptions.Controls.Add(this.Label38); + this.pnlanyoptions.Controls.Add(this.txtanysgreen); + this.pnlanyoptions.Controls.Add(this.txtanysred); + this.pnlanyoptions.Controls.Add(this.Label39); + this.pnlanyoptions.Controls.Add(this.Label40); + this.pnlanyoptions.Controls.Add(this.txtanysblue); + this.pnlanyoptions.Location = new System.Drawing.Point(282, 3); + this.pnlanyoptions.Name = "pnlanyoptions"; + this.pnlanyoptions.Size = new System.Drawing.Size(120, 40); + this.pnlanyoptions.TabIndex = 34; + this.pnlanyoptions.Visible = false; + // + // Label38 + // + this.Label38.AutoSize = true; + this.Label38.BackColor = System.Drawing.Color.Transparent; + this.Label38.Location = new System.Drawing.Point(56, 24); + this.Label38.Name = "Label38"; + this.Label38.Size = new System.Drawing.Size(39, 13); + this.Label38.TabIndex = 26; + this.Label38.Text = "Green:"; + // + // txtanysgreen + // + this.txtanysgreen.BackColor = System.Drawing.Color.White; + this.txtanysgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtanysgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtanysgreen.Location = new System.Drawing.Point(95, 22); + this.txtanysgreen.Multiline = true; + this.txtanysgreen.Name = "txtanysgreen"; + this.txtanysgreen.Size = new System.Drawing.Size(23, 17); + this.txtanysgreen.TabIndex = 25; + this.txtanysgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // txtanysred + // + this.txtanysred.BackColor = System.Drawing.Color.White; + this.txtanysred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtanysred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtanysred.Location = new System.Drawing.Point(62, 2); + this.txtanysred.Multiline = true; + this.txtanysred.Name = "txtanysred"; + this.txtanysred.Size = new System.Drawing.Size(23, 17); + this.txtanysred.TabIndex = 21; + this.txtanysred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // Label39 + // + this.Label39.AutoSize = true; + this.Label39.BackColor = System.Drawing.Color.Transparent; + this.Label39.Location = new System.Drawing.Point(1, 23); + this.Label39.Name = "Label39"; + this.Label39.Size = new System.Drawing.Size(31, 13); + this.Label39.TabIndex = 24; + this.Label39.Text = "Blue:"; + // + // Label40 + // + this.Label40.AutoSize = true; + this.Label40.BackColor = System.Drawing.Color.Transparent; + this.Label40.Location = new System.Drawing.Point(31, 4); + this.Label40.Name = "Label40"; + this.Label40.Size = new System.Drawing.Size(30, 13); + this.Label40.TabIndex = 22; + this.Label40.Text = "Red:"; + // + // pnlany16 + // + this.pnlany16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany16.Location = new System.Drawing.Point(259, 25); + this.pnlany16.Name = "pnlany16"; + this.pnlany16.Size = new System.Drawing.Size(20, 13); + this.pnlany16.TabIndex = 17; + this.pnlany16.Visible = false; + // + // pnlany12 + // + this.pnlany12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany12.Location = new System.Drawing.Point(155, 25); + this.pnlany12.Name = "pnlany12"; + this.pnlany12.Size = new System.Drawing.Size(20, 13); + this.pnlany12.TabIndex = 9; + this.pnlany12.Visible = false; + // + // pnlany14 + // + this.pnlany14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany14.Location = new System.Drawing.Point(207, 25); + this.pnlany14.Name = "pnlany14"; + this.pnlany14.Size = new System.Drawing.Size(20, 13); + this.pnlany14.TabIndex = 13; + this.pnlany14.Visible = false; + // + // pnlany10 + // + this.pnlany10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany10.Location = new System.Drawing.Point(103, 25); + this.pnlany10.Name = "pnlany10"; + this.pnlany10.Size = new System.Drawing.Size(20, 13); + this.pnlany10.TabIndex = 5; + this.pnlany10.Visible = false; + // + // pnlcolorconfirm + // + this.pnlcolorconfirm.BackColor = System.Drawing.Color.White; + this.pnlcolorconfirm.Controls.Add(this.lblnewcolourrgb); + this.pnlcolorconfirm.Controls.Add(this.lblnewcolourname); + this.pnlcolorconfirm.Controls.Add(this.Label26); + this.pnlcolorconfirm.Controls.Add(this.Label17); + this.pnlcolorconfirm.Controls.Add(this.lbloldcolourrgb); + this.pnlcolorconfirm.Controls.Add(this.lbloldcolourname); + this.pnlcolorconfirm.Controls.Add(this.Label14); + this.pnlcolorconfirm.Controls.Add(this.pnlnewcolour); + this.pnlcolorconfirm.Controls.Add(this.pnloldcolour); + this.pnlcolorconfirm.Controls.Add(this.lblobjecttocolour); + this.pnlcolorconfirm.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlcolorconfirm.Location = new System.Drawing.Point(0, 0); + this.pnlcolorconfirm.Name = "pnlcolorconfirm"; + this.pnlcolorconfirm.Size = new System.Drawing.Size(443, 107); + this.pnlcolorconfirm.TabIndex = 0; + // + // lblnewcolourrgb + // + this.lblnewcolourrgb.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblnewcolourrgb.Location = new System.Drawing.Point(298, 66); + this.lblnewcolourrgb.Name = "lblnewcolourrgb"; + this.lblnewcolourrgb.Size = new System.Drawing.Size(147, 18); + this.lblnewcolourrgb.TabIndex = 10; + this.lblnewcolourrgb.Text = "RGB: 234, 341, 111"; + // + // lblnewcolourname + // + this.lblnewcolourname.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblnewcolourname.Location = new System.Drawing.Point(298, 49); + this.lblnewcolourname.Name = "lblnewcolourname"; + this.lblnewcolourname.Size = new System.Drawing.Size(145, 18); + this.lblnewcolourname.TabIndex = 9; + this.lblnewcolourname.Text = "Name: Whitesmoke"; + // + // Label26 + // + this.Label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label26.Location = new System.Drawing.Point(298, 32); + this.Label26.Name = "Label26"; + this.Label26.Size = new System.Drawing.Size(145, 18); + this.Label26.TabIndex = 8; + this.Label26.Text = "New Colour"; + // + // Label17 + // + this.Label17.AutoSize = true; + this.Label17.Location = new System.Drawing.Point(7, 87); + this.Label17.Name = "Label17"; + this.Label17.Size = new System.Drawing.Size(426, 13); + this.Label17.TabIndex = 7; + this.Label17.Text = "Click the new colour above to confirm your colour choice or click the old colour " + + "to cancel"; + // + // lbloldcolourrgb + // + this.lbloldcolourrgb.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbloldcolourrgb.Location = new System.Drawing.Point(-2, 66); + this.lbloldcolourrgb.Name = "lbloldcolourrgb"; + this.lbloldcolourrgb.Size = new System.Drawing.Size(151, 18); + this.lbloldcolourrgb.TabIndex = 6; + this.lbloldcolourrgb.Text = "50, 60, 20 :RGB"; + this.lbloldcolourrgb.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // lbloldcolourname + // + this.lbloldcolourname.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbloldcolourname.Location = new System.Drawing.Point(-2, 49); + this.lbloldcolourname.Name = "lbloldcolourname"; + this.lbloldcolourname.Size = new System.Drawing.Size(151, 18); + this.lbloldcolourname.TabIndex = 5; + this.lbloldcolourname.Text = "Red :Name"; + this.lbloldcolourname.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // Label14 + // + this.Label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label14.Location = new System.Drawing.Point(-2, 32); + this.Label14.Name = "Label14"; + this.Label14.Size = new System.Drawing.Size(151, 18); + this.Label14.TabIndex = 4; + this.Label14.Text = "Old Color"; + this.Label14.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // pnlnewcolour + // + this.pnlnewcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlnewcolour.Location = new System.Drawing.Point(227, 32); + this.pnlnewcolour.Name = "pnlnewcolour"; + this.pnlnewcolour.Size = new System.Drawing.Size(67, 52); + this.pnlnewcolour.TabIndex = 3; + this.pnlnewcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlnewcolour_MouseClick); + // + // pnloldcolour + // + this.pnloldcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnloldcolour.Location = new System.Drawing.Point(153, 32); + this.pnloldcolour.Name = "pnloldcolour"; + this.pnloldcolour.Size = new System.Drawing.Size(67, 52); + this.pnloldcolour.TabIndex = 2; + this.pnloldcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnloldcolour_MouseClick); + // + // lblobjecttocolour + // + this.lblobjecttocolour.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblobjecttocolour.Location = new System.Drawing.Point(10, 5); + this.lblobjecttocolour.Name = "lblobjecttocolour"; + this.lblobjecttocolour.Size = new System.Drawing.Size(423, 23); + this.lblobjecttocolour.TabIndex = 1; + this.lblobjecttocolour.Text = "Close Button Colour"; + this.lblobjecttocolour.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // pnlanycustomcolour + // + this.pnlanycustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlanycustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlanycustomcolour.Name = "pnlanycustomcolour"; + this.pnlanycustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlanycustomcolour.TabIndex = 17; + this.pnlanycustomcolour.Visible = false; + // + // pnlany8 + // + this.pnlany8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany8.Location = new System.Drawing.Point(259, 8); + this.pnlany8.Name = "pnlany8"; + this.pnlany8.Size = new System.Drawing.Size(20, 13); + this.pnlany8.TabIndex = 16; + this.pnlany8.Visible = false; + // + // lblcustomshadetut + // + this.lblcustomshadetut.AutoSize = true; + this.lblcustomshadetut.BackColor = System.Drawing.Color.Transparent; + this.lblcustomshadetut.Location = new System.Drawing.Point(290, 5); + this.lblcustomshadetut.Name = "lblcustomshadetut"; + this.lblcustomshadetut.Size = new System.Drawing.Size(102, 13); + this.lblcustomshadetut.TabIndex = 20; + this.lblcustomshadetut.Text = "Enter Shade (0-255)"; + this.lblcustomshadetut.Visible = false; + // + // txtcustomgrayshade + // + this.txtcustomgrayshade.BackColor = System.Drawing.Color.White; + this.txtcustomgrayshade.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtcustomgrayshade.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtcustomgrayshade.Location = new System.Drawing.Point(317, 20); + this.txtcustomgrayshade.Multiline = true; + this.txtcustomgrayshade.Name = "txtcustomgrayshade"; + this.txtcustomgrayshade.Size = new System.Drawing.Size(45, 17); + this.txtcustomgrayshade.TabIndex = 19; + this.txtcustomgrayshade.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.txtcustomgrayshade.Visible = false; + // + // pnlgraycustomcolour + // + this.pnlgraycustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgraycustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlgraycustomcolour.Name = "pnlgraycustomcolour"; + this.pnlgraycustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlgraycustomcolour.TabIndex = 18; + this.pnlgraycustomcolour.Visible = false; + // + // pnlgray16 + // + this.pnlgray16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray16.Location = new System.Drawing.Point(259, 25); + this.pnlgray16.Name = "pnlgray16"; + this.pnlgray16.Size = new System.Drawing.Size(20, 13); + this.pnlgray16.TabIndex = 17; + this.pnlgray16.Visible = false; + // + // pnlgray12 + // + this.pnlgray12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray12.Location = new System.Drawing.Point(155, 25); + this.pnlgray12.Name = "pnlgray12"; + this.pnlgray12.Size = new System.Drawing.Size(20, 13); + this.pnlgray12.TabIndex = 9; + this.pnlgray12.Visible = false; + // + // pnlgray14 + // + this.pnlgray14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray14.Location = new System.Drawing.Point(207, 25); + this.pnlgray14.Name = "pnlgray14"; + this.pnlgray14.Size = new System.Drawing.Size(20, 13); + this.pnlgray14.TabIndex = 13; + this.pnlgray14.Visible = false; + // + // pnlgray10 + // + this.pnlgray10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray10.Location = new System.Drawing.Point(103, 25); + this.pnlgray10.Name = "pnlgray10"; + this.pnlgray10.Size = new System.Drawing.Size(20, 13); + this.pnlgray10.TabIndex = 5; + this.pnlgray10.Visible = false; + // + // pnlgray8 + // + this.pnlgray8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray8.Location = new System.Drawing.Point(259, 8); + this.pnlgray8.Name = "pnlgray8"; + this.pnlgray8.Size = new System.Drawing.Size(20, 13); + this.pnlgray8.TabIndex = 16; + this.pnlgray8.Visible = false; + // + // pnlgray4 + // + this.pnlgray4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray4.Location = new System.Drawing.Point(155, 8); + this.pnlgray4.Name = "pnlgray4"; + this.pnlgray4.Size = new System.Drawing.Size(20, 13); + this.pnlgray4.TabIndex = 8; + this.pnlgray4.Visible = false; + // + // pnlgray6 + // + this.pnlgray6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray6.Location = new System.Drawing.Point(207, 8); + this.pnlgray6.Name = "pnlgray6"; + this.pnlgray6.Size = new System.Drawing.Size(20, 13); + this.pnlgray6.TabIndex = 12; + this.pnlgray6.Visible = false; + // + // pnlgray15 + // + this.pnlgray15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray15.Location = new System.Drawing.Point(233, 25); + this.pnlgray15.Name = "pnlgray15"; + this.pnlgray15.Size = new System.Drawing.Size(20, 13); + this.pnlgray15.TabIndex = 15; + this.pnlgray15.Visible = false; + // + // pnlgray2 + // + this.pnlgray2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray2.Location = new System.Drawing.Point(103, 8); + this.pnlgray2.Name = "pnlgray2"; + this.pnlgray2.Size = new System.Drawing.Size(20, 13); + this.pnlgray2.TabIndex = 4; + this.pnlgray2.Visible = false; + // + // pnlgray13 + // + this.pnlgray13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray13.Location = new System.Drawing.Point(181, 25); + this.pnlgray13.Name = "pnlgray13"; + this.pnlgray13.Size = new System.Drawing.Size(20, 13); + this.pnlgray13.TabIndex = 11; + this.pnlgray13.Visible = false; + // + // pnlgray11 + // + this.pnlgray11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray11.Location = new System.Drawing.Point(129, 25); + this.pnlgray11.Name = "pnlgray11"; + this.pnlgray11.Size = new System.Drawing.Size(20, 13); + this.pnlgray11.TabIndex = 7; + this.pnlgray11.Visible = false; + // + // pnlgray7 + // + this.pnlgray7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray7.Location = new System.Drawing.Point(233, 8); + this.pnlgray7.Name = "pnlgray7"; + this.pnlgray7.Size = new System.Drawing.Size(20, 13); + this.pnlgray7.TabIndex = 14; + this.pnlgray7.Visible = false; + // + // pnlgray9 + // + this.pnlgray9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray9.Location = new System.Drawing.Point(77, 25); + this.pnlgray9.Name = "pnlgray9"; + this.pnlgray9.Size = new System.Drawing.Size(20, 13); + this.pnlgray9.TabIndex = 3; + this.pnlgray9.Visible = false; + // + // pnlgray5 + // + this.pnlgray5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray5.Location = new System.Drawing.Point(181, 8); + this.pnlgray5.Name = "pnlgray5"; + this.pnlgray5.Size = new System.Drawing.Size(20, 13); + this.pnlgray5.TabIndex = 10; + this.pnlgray5.Visible = false; + // + // pnlgray3 + // + this.pnlgray3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray3.Location = new System.Drawing.Point(129, 8); + this.pnlgray3.Name = "pnlgray3"; + this.pnlgray3.Size = new System.Drawing.Size(20, 13); + this.pnlgray3.TabIndex = 6; + this.pnlgray3.Visible = false; + // + // pnlgraycolours + // + this.pnlgraycolours.BackColor = System.Drawing.Color.White; + this.pnlgraycolours.Controls.Add(this.lblcustomshadetut); + this.pnlgraycolours.Controls.Add(this.txtcustomgrayshade); + this.pnlgraycolours.Controls.Add(this.pnlgraycustomcolour); + this.pnlgraycolours.Controls.Add(this.pnlgray16); + this.pnlgraycolours.Controls.Add(this.pnlgray12); + this.pnlgraycolours.Controls.Add(this.pnlgray14); + this.pnlgraycolours.Controls.Add(this.pnlgray10); + this.pnlgraycolours.Controls.Add(this.pnlgray8); + this.pnlgraycolours.Controls.Add(this.pnlgray4); + this.pnlgraycolours.Controls.Add(this.pnlgray6); + this.pnlgraycolours.Controls.Add(this.pnlgray15); + this.pnlgraycolours.Controls.Add(this.pnlgray2); + this.pnlgraycolours.Controls.Add(this.pnlgray13); + this.pnlgraycolours.Controls.Add(this.pnlgray11); + this.pnlgraycolours.Controls.Add(this.pnlgray7); + this.pnlgraycolours.Controls.Add(this.pnlgray9); + this.pnlgraycolours.Controls.Add(this.pnlgray5); + this.pnlgraycolours.Controls.Add(this.pnlgray3); + this.pnlgraycolours.Controls.Add(this.pnlgray1); + this.pnlgraycolours.Controls.Add(this.lblgraylevel); + this.pnlgraycolours.Controls.Add(this.Label3); + this.pnlgraycolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlgraycolours.Location = new System.Drawing.Point(0, 46); + this.pnlgraycolours.Name = "pnlgraycolours"; + this.pnlgraycolours.Size = new System.Drawing.Size(443, 46); + this.pnlgraycolours.TabIndex = 2; + this.pnlgraycolours.Visible = false; + // + // pnlgray1 + // + this.pnlgray1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgray1.Location = new System.Drawing.Point(77, 8); + this.pnlgray1.Name = "pnlgray1"; + this.pnlgray1.Size = new System.Drawing.Size(20, 13); + this.pnlgray1.TabIndex = 2; + this.pnlgray1.Tag = "1"; + this.pnlgray1.Visible = false; + // + // lblgraylevel + // + this.lblgraylevel.AutoSize = true; + this.lblgraylevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblgraylevel.Location = new System.Drawing.Point(5, 25); + this.lblgraylevel.Name = "lblgraylevel"; + this.lblgraylevel.Size = new System.Drawing.Size(49, 15); + this.lblgraylevel.TabIndex = 1; + this.lblgraylevel.Text = "Level: 4"; + // + // Label3 + // + this.Label3.AutoSize = true; + this.Label3.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label3.Location = new System.Drawing.Point(3, 2); + this.Label3.Name = "Label3"; + this.Label3.Size = new System.Drawing.Size(52, 22); + this.Label3.TabIndex = 0; + this.Label3.Text = "Gray"; + // + // pnlanycolours + // + this.pnlanycolours.BackColor = System.Drawing.Color.White; + this.pnlanycolours.Controls.Add(this.pnlanyoptions); + this.pnlanycolours.Controls.Add(this.pnlanycustomcolour); + this.pnlanycolours.Controls.Add(this.pnlany16); + this.pnlanycolours.Controls.Add(this.pnlany12); + this.pnlanycolours.Controls.Add(this.pnlany14); + this.pnlanycolours.Controls.Add(this.pnlany10); + this.pnlanycolours.Controls.Add(this.pnlany8); + this.pnlanycolours.Controls.Add(this.pnlany4); + this.pnlanycolours.Controls.Add(this.pnlany6); + this.pnlanycolours.Controls.Add(this.pnlany15); + this.pnlanycolours.Controls.Add(this.pnlany2); + this.pnlanycolours.Controls.Add(this.pnlany13); + this.pnlanycolours.Controls.Add(this.pnlany11); + this.pnlanycolours.Controls.Add(this.pnlany7); + this.pnlanycolours.Controls.Add(this.pnlany9); + this.pnlanycolours.Controls.Add(this.pnlany5); + this.pnlanycolours.Controls.Add(this.pnlany3); + this.pnlanycolours.Controls.Add(this.pnlany1); + this.pnlanycolours.Controls.Add(this.lblanylevel); + this.pnlanycolours.Controls.Add(this.Label1); + this.pnlanycolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlanycolours.Location = new System.Drawing.Point(0, 0); + this.pnlanycolours.Name = "pnlanycolours"; + this.pnlanycolours.Size = new System.Drawing.Size(443, 46); + this.pnlanycolours.TabIndex = 1; + this.pnlanycolours.Visible = false; + // + // pnlany4 + // + this.pnlany4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany4.Location = new System.Drawing.Point(155, 8); + this.pnlany4.Name = "pnlany4"; + this.pnlany4.Size = new System.Drawing.Size(20, 13); + this.pnlany4.TabIndex = 8; + this.pnlany4.Visible = false; + // + // pnlany6 + // + this.pnlany6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany6.Location = new System.Drawing.Point(207, 8); + this.pnlany6.Name = "pnlany6"; + this.pnlany6.Size = new System.Drawing.Size(20, 13); + this.pnlany6.TabIndex = 12; + this.pnlany6.Visible = false; + // + // pnlany15 + // + this.pnlany15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany15.Location = new System.Drawing.Point(233, 25); + this.pnlany15.Name = "pnlany15"; + this.pnlany15.Size = new System.Drawing.Size(20, 13); + this.pnlany15.TabIndex = 15; + this.pnlany15.Visible = false; + // + // pnlany2 + // + this.pnlany2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany2.Location = new System.Drawing.Point(103, 8); + this.pnlany2.Name = "pnlany2"; + this.pnlany2.Size = new System.Drawing.Size(20, 13); + this.pnlany2.TabIndex = 4; + this.pnlany2.Visible = false; + // + // pnlany13 + // + this.pnlany13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany13.Location = new System.Drawing.Point(181, 25); + this.pnlany13.Name = "pnlany13"; + this.pnlany13.Size = new System.Drawing.Size(20, 13); + this.pnlany13.TabIndex = 11; + this.pnlany13.Visible = false; + // + // pnlany11 + // + this.pnlany11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany11.Location = new System.Drawing.Point(129, 25); + this.pnlany11.Name = "pnlany11"; + this.pnlany11.Size = new System.Drawing.Size(20, 13); + this.pnlany11.TabIndex = 7; + this.pnlany11.Visible = false; + // + // pnlany7 + // + this.pnlany7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany7.Location = new System.Drawing.Point(233, 8); + this.pnlany7.Name = "pnlany7"; + this.pnlany7.Size = new System.Drawing.Size(20, 13); + this.pnlany7.TabIndex = 14; + this.pnlany7.Visible = false; + // + // pnlany9 + // + this.pnlany9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany9.Location = new System.Drawing.Point(77, 25); + this.pnlany9.Name = "pnlany9"; + this.pnlany9.Size = new System.Drawing.Size(20, 13); + this.pnlany9.TabIndex = 3; + this.pnlany9.Visible = false; + // + // pnlany5 + // + this.pnlany5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany5.Location = new System.Drawing.Point(181, 8); + this.pnlany5.Name = "pnlany5"; + this.pnlany5.Size = new System.Drawing.Size(20, 13); + this.pnlany5.TabIndex = 10; + this.pnlany5.Visible = false; + // + // pnlany3 + // + this.pnlany3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany3.Location = new System.Drawing.Point(129, 8); + this.pnlany3.Name = "pnlany3"; + this.pnlany3.Size = new System.Drawing.Size(20, 13); + this.pnlany3.TabIndex = 6; + this.pnlany3.Visible = false; + // + // pnlany1 + // + this.pnlany1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlany1.Location = new System.Drawing.Point(77, 8); + this.pnlany1.Name = "pnlany1"; + this.pnlany1.Size = new System.Drawing.Size(20, 13); + this.pnlany1.TabIndex = 2; + this.pnlany1.Tag = "1"; + this.pnlany1.Visible = false; + // + // lblanylevel + // + this.lblanylevel.AutoSize = true; + this.lblanylevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblanylevel.Location = new System.Drawing.Point(5, 25); + this.lblanylevel.Name = "lblanylevel"; + this.lblanylevel.Size = new System.Drawing.Size(49, 15); + this.lblanylevel.TabIndex = 1; + this.lblanylevel.Text = "Level: 4"; + // + // Label1 + // + this.Label1.AutoSize = true; + this.Label1.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label1.Location = new System.Drawing.Point(3, 2); + this.Label1.Name = "Label1"; + this.Label1.Size = new System.Drawing.Size(43, 22); + this.Label1.TabIndex = 0; + this.Label1.Text = "Any"; + // + // txtgreensblue + // + this.txtgreensblue.BackColor = System.Drawing.Color.White; + this.txtgreensblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtgreensblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtgreensblue.Location = new System.Drawing.Point(33, 22); + this.txtgreensblue.Multiline = true; + this.txtgreensblue.Name = "txtgreensblue"; + this.txtgreensblue.Size = new System.Drawing.Size(23, 17); + this.txtgreensblue.TabIndex = 23; + this.txtgreensblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // Label32 + // + this.Label32.AutoSize = true; + this.Label32.BackColor = System.Drawing.Color.Transparent; + this.Label32.Location = new System.Drawing.Point(64, 24); + this.Label32.Name = "Label32"; + this.Label32.Size = new System.Drawing.Size(31, 13); + this.Label32.TabIndex = 26; + this.Label32.Text = "Blue:"; + // + // txtredsred + // + this.txtredsred.BackColor = System.Drawing.Color.White; + this.txtredsred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtredsred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtredsred.Location = new System.Drawing.Point(64, 2); + this.txtredsred.Multiline = true; + this.txtredsred.Name = "txtredsred"; + this.txtredsred.Size = new System.Drawing.Size(23, 17); + this.txtredsred.TabIndex = 21; + this.txtredsred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlredcustomcolour + // + this.pnlredcustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlredcustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlredcustomcolour.Name = "pnlredcustomcolour"; + this.pnlredcustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlredcustomcolour.TabIndex = 18; + this.pnlredcustomcolour.Visible = false; + // + // pnlred16 + // + this.pnlred16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred16.Location = new System.Drawing.Point(259, 25); + this.pnlred16.Name = "pnlred16"; + this.pnlred16.Size = new System.Drawing.Size(20, 13); + this.pnlred16.TabIndex = 17; + this.pnlred16.Visible = false; + // + // pnlred12 + // + this.pnlred12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred12.Location = new System.Drawing.Point(155, 25); + this.pnlred12.Name = "pnlred12"; + this.pnlred12.Size = new System.Drawing.Size(20, 13); + this.pnlred12.TabIndex = 9; + this.pnlred12.Visible = false; + // + // pnlred14 + // + this.pnlred14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred14.Location = new System.Drawing.Point(207, 25); + this.pnlred14.Name = "pnlred14"; + this.pnlred14.Size = new System.Drawing.Size(20, 13); + this.pnlred14.TabIndex = 13; + this.pnlred14.Visible = false; + // + // pnlred10 + // + this.pnlred10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred10.Location = new System.Drawing.Point(103, 25); + this.pnlred10.Name = "pnlred10"; + this.pnlred10.Size = new System.Drawing.Size(20, 13); + this.pnlred10.TabIndex = 5; + this.pnlred10.Visible = false; + // + // pnlred8 + // + this.pnlred8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred8.Location = new System.Drawing.Point(259, 8); + this.pnlred8.Name = "pnlred8"; + this.pnlred8.Size = new System.Drawing.Size(20, 13); + this.pnlred8.TabIndex = 16; + this.pnlred8.Visible = false; + // + // pnlred6 + // + this.pnlred6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred6.Location = new System.Drawing.Point(207, 8); + this.pnlred6.Name = "pnlred6"; + this.pnlred6.Size = new System.Drawing.Size(20, 13); + this.pnlred6.TabIndex = 12; + this.pnlred6.Visible = false; + // + // pnlred15 + // + this.pnlred15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred15.Location = new System.Drawing.Point(233, 25); + this.pnlred15.Name = "pnlred15"; + this.pnlred15.Size = new System.Drawing.Size(20, 13); + this.pnlred15.TabIndex = 15; + this.pnlred15.Visible = false; + // + // pnlred2 + // + this.pnlred2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred2.Location = new System.Drawing.Point(103, 8); + this.pnlred2.Name = "pnlred2"; + this.pnlred2.Size = new System.Drawing.Size(20, 13); + this.pnlred2.TabIndex = 4; + this.pnlred2.Visible = false; + // + // pnlred13 + // + this.pnlred13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred13.Location = new System.Drawing.Point(181, 25); + this.pnlred13.Name = "pnlred13"; + this.pnlred13.Size = new System.Drawing.Size(20, 13); + this.pnlred13.TabIndex = 11; + this.pnlred13.Visible = false; + // + // pnlred11 + // + this.pnlred11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred11.Location = new System.Drawing.Point(129, 25); + this.pnlred11.Name = "pnlred11"; + this.pnlred11.Size = new System.Drawing.Size(20, 13); + this.pnlred11.TabIndex = 7; + this.pnlred11.Visible = false; + // + // pnlred7 + // + this.pnlred7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred7.Location = new System.Drawing.Point(233, 8); + this.pnlred7.Name = "pnlred7"; + this.pnlred7.Size = new System.Drawing.Size(20, 13); + this.pnlred7.TabIndex = 14; + this.pnlred7.Visible = false; + // + // pnlred9 + // + this.pnlred9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred9.Location = new System.Drawing.Point(77, 25); + this.pnlred9.Name = "pnlred9"; + this.pnlred9.Size = new System.Drawing.Size(20, 13); + this.pnlred9.TabIndex = 3; + this.pnlred9.Visible = false; + // + // txtredsblue + // + this.txtredsblue.BackColor = System.Drawing.Color.White; + this.txtredsblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtredsblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtredsblue.Location = new System.Drawing.Point(95, 22); + this.txtredsblue.Multiline = true; + this.txtredsblue.Name = "txtredsblue"; + this.txtredsblue.Size = new System.Drawing.Size(23, 17); + this.txtredsblue.TabIndex = 25; + this.txtredsblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlred4 + // + this.pnlred4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred4.Location = new System.Drawing.Point(155, 8); + this.pnlred4.Name = "pnlred4"; + this.pnlred4.Size = new System.Drawing.Size(20, 13); + this.pnlred4.TabIndex = 8; + this.pnlred4.Visible = false; + // + // pnlred5 + // + this.pnlred5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred5.Location = new System.Drawing.Point(181, 8); + this.pnlred5.Name = "pnlred5"; + this.pnlred5.Size = new System.Drawing.Size(20, 13); + this.pnlred5.TabIndex = 10; + this.pnlred5.Visible = false; + // + // pnlbrowncustomcolour + // + this.pnlbrowncustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrowncustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlbrowncustomcolour.Name = "pnlbrowncustomcolour"; + this.pnlbrowncustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlbrowncustomcolour.TabIndex = 18; + this.pnlbrowncustomcolour.Visible = false; + // + // pnlbrown16 + // + this.pnlbrown16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown16.Location = new System.Drawing.Point(259, 25); + this.pnlbrown16.Name = "pnlbrown16"; + this.pnlbrown16.Size = new System.Drawing.Size(20, 13); + this.pnlbrown16.TabIndex = 17; + this.pnlbrown16.Visible = false; + // + // pnlbrown12 + // + this.pnlbrown12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown12.Location = new System.Drawing.Point(155, 25); + this.pnlbrown12.Name = "pnlbrown12"; + this.pnlbrown12.Size = new System.Drawing.Size(20, 13); + this.pnlbrown12.TabIndex = 9; + this.pnlbrown12.Visible = false; + // + // pnlbrown14 + // + this.pnlbrown14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown14.Location = new System.Drawing.Point(207, 25); + this.pnlbrown14.Name = "pnlbrown14"; + this.pnlbrown14.Size = new System.Drawing.Size(20, 13); + this.pnlbrown14.TabIndex = 13; + this.pnlbrown14.Visible = false; + // + // pnlbrown8 + // + this.pnlbrown8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown8.Location = new System.Drawing.Point(259, 8); + this.pnlbrown8.Name = "pnlbrown8"; + this.pnlbrown8.Size = new System.Drawing.Size(20, 13); + this.pnlbrown8.TabIndex = 16; + this.pnlbrown8.Visible = false; + // + // Label29 + // + this.Label29.AutoSize = true; + this.Label29.BackColor = System.Drawing.Color.Transparent; + this.Label29.Location = new System.Drawing.Point(64, 24); + this.Label29.Name = "Label29"; + this.Label29.Size = new System.Drawing.Size(31, 13); + this.Label29.TabIndex = 26; + this.Label29.Text = "Blue:"; + // + // txtbrownsblue + // + this.txtbrownsblue.BackColor = System.Drawing.Color.White; + this.txtbrownsblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtbrownsblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtbrownsblue.Location = new System.Drawing.Point(95, 22); + this.txtbrownsblue.Multiline = true; + this.txtbrownsblue.Name = "txtbrownsblue"; + this.txtbrownsblue.Size = new System.Drawing.Size(23, 17); + this.txtbrownsblue.TabIndex = 25; + this.txtbrownsblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // txtbrownsred + // + this.txtbrownsred.BackColor = System.Drawing.Color.White; + this.txtbrownsred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtbrownsred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtbrownsred.Location = new System.Drawing.Point(64, 2); + this.txtbrownsred.Multiline = true; + this.txtbrownsred.Name = "txtbrownsred"; + this.txtbrownsred.Size = new System.Drawing.Size(23, 17); + this.txtbrownsred.TabIndex = 21; + this.txtbrownsred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // Label30 + // + this.Label30.AutoSize = true; + this.Label30.BackColor = System.Drawing.Color.Transparent; + this.Label30.Location = new System.Drawing.Point(1, 23); + this.Label30.Name = "Label30"; + this.Label30.Size = new System.Drawing.Size(39, 13); + this.Label30.TabIndex = 24; + this.Label30.Text = "Green:"; + // + // Label31 + // + this.Label31.AutoSize = true; + this.Label31.BackColor = System.Drawing.Color.Transparent; + this.Label31.Location = new System.Drawing.Point(33, 4); + this.Label31.Name = "Label31"; + this.Label31.Size = new System.Drawing.Size(30, 13); + this.Label31.TabIndex = 22; + this.Label31.Text = "Red:"; + // + // txtbrownsgreen + // + this.txtbrownsgreen.BackColor = System.Drawing.Color.White; + this.txtbrownsgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtbrownsgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtbrownsgreen.Location = new System.Drawing.Point(40, 22); + this.txtbrownsgreen.Multiline = true; + this.txtbrownsgreen.Name = "txtbrownsgreen"; + this.txtbrownsgreen.Size = new System.Drawing.Size(23, 17); + this.txtbrownsgreen.TabIndex = 23; + this.txtbrownsgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlbrownoptions + // + this.pnlbrownoptions.Controls.Add(this.Label29); + this.pnlbrownoptions.Controls.Add(this.txtbrownsblue); + this.pnlbrownoptions.Controls.Add(this.txtbrownsred); + this.pnlbrownoptions.Controls.Add(this.Label30); + this.pnlbrownoptions.Controls.Add(this.Label31); + this.pnlbrownoptions.Controls.Add(this.txtbrownsgreen); + this.pnlbrownoptions.Location = new System.Drawing.Point(282, 3); + this.pnlbrownoptions.Name = "pnlbrownoptions"; + this.pnlbrownoptions.Size = new System.Drawing.Size(120, 40); + this.pnlbrownoptions.TabIndex = 31; + this.pnlbrownoptions.Visible = false; + // + // pnlbrowncolours + // + this.pnlbrowncolours.BackColor = System.Drawing.Color.White; + this.pnlbrowncolours.Controls.Add(this.pnlbrownoptions); + this.pnlbrowncolours.Controls.Add(this.pnlbrowncustomcolour); + this.pnlbrowncolours.Controls.Add(this.pnlbrown16); + this.pnlbrowncolours.Controls.Add(this.pnlbrown12); + this.pnlbrowncolours.Controls.Add(this.pnlbrown14); + this.pnlbrowncolours.Controls.Add(this.pnlbrown10); + this.pnlbrowncolours.Controls.Add(this.pnlbrown8); + this.pnlbrowncolours.Controls.Add(this.pnlbrown4); + this.pnlbrowncolours.Controls.Add(this.pnlbrown6); + this.pnlbrowncolours.Controls.Add(this.pnlbrown15); + this.pnlbrowncolours.Controls.Add(this.pnlbrown2); + this.pnlbrowncolours.Controls.Add(this.pnlbrown13); + this.pnlbrowncolours.Controls.Add(this.pnlbrown11); + this.pnlbrowncolours.Controls.Add(this.pnlbrown7); + this.pnlbrowncolours.Controls.Add(this.pnlbrown9); + this.pnlbrowncolours.Controls.Add(this.pnlbrown5); + this.pnlbrowncolours.Controls.Add(this.pnlbrown3); + this.pnlbrowncolours.Controls.Add(this.pnlbrown1); + this.pnlbrowncolours.Controls.Add(this.lblbrownlevel); + this.pnlbrowncolours.Controls.Add(this.Label19); + this.pnlbrowncolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlbrowncolours.Location = new System.Drawing.Point(0, 322); + this.pnlbrowncolours.Name = "pnlbrowncolours"; + this.pnlbrowncolours.Size = new System.Drawing.Size(443, 46); + this.pnlbrowncolours.TabIndex = 8; + this.pnlbrowncolours.Visible = false; + // + // pnlbrown10 + // + this.pnlbrown10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown10.Location = new System.Drawing.Point(103, 25); + this.pnlbrown10.Name = "pnlbrown10"; + this.pnlbrown10.Size = new System.Drawing.Size(20, 13); + this.pnlbrown10.TabIndex = 5; + this.pnlbrown10.Visible = false; + // + // pnlbrown4 + // + this.pnlbrown4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown4.Location = new System.Drawing.Point(155, 8); + this.pnlbrown4.Name = "pnlbrown4"; + this.pnlbrown4.Size = new System.Drawing.Size(20, 13); + this.pnlbrown4.TabIndex = 8; + this.pnlbrown4.Visible = false; + // + // pnlbrown6 + // + this.pnlbrown6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown6.Location = new System.Drawing.Point(207, 8); + this.pnlbrown6.Name = "pnlbrown6"; + this.pnlbrown6.Size = new System.Drawing.Size(20, 13); + this.pnlbrown6.TabIndex = 12; + this.pnlbrown6.Visible = false; + // + // pnlbrown15 + // + this.pnlbrown15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown15.Location = new System.Drawing.Point(233, 25); + this.pnlbrown15.Name = "pnlbrown15"; + this.pnlbrown15.Size = new System.Drawing.Size(20, 13); + this.pnlbrown15.TabIndex = 15; + this.pnlbrown15.Visible = false; + // + // pnlbrown2 + // + this.pnlbrown2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown2.Location = new System.Drawing.Point(103, 8); + this.pnlbrown2.Name = "pnlbrown2"; + this.pnlbrown2.Size = new System.Drawing.Size(20, 13); + this.pnlbrown2.TabIndex = 4; + this.pnlbrown2.Visible = false; + // + // pnlbrown13 + // + this.pnlbrown13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown13.Location = new System.Drawing.Point(181, 25); + this.pnlbrown13.Name = "pnlbrown13"; + this.pnlbrown13.Size = new System.Drawing.Size(20, 13); + this.pnlbrown13.TabIndex = 11; + this.pnlbrown13.Visible = false; + // + // pnlbrown11 + // + this.pnlbrown11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown11.Location = new System.Drawing.Point(129, 25); + this.pnlbrown11.Name = "pnlbrown11"; + this.pnlbrown11.Size = new System.Drawing.Size(20, 13); + this.pnlbrown11.TabIndex = 7; + this.pnlbrown11.Visible = false; + // + // pnlbrown7 + // + this.pnlbrown7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown7.Location = new System.Drawing.Point(233, 8); + this.pnlbrown7.Name = "pnlbrown7"; + this.pnlbrown7.Size = new System.Drawing.Size(20, 13); + this.pnlbrown7.TabIndex = 14; + this.pnlbrown7.Visible = false; + // + // pnlbrown9 + // + this.pnlbrown9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown9.Location = new System.Drawing.Point(77, 25); + this.pnlbrown9.Name = "pnlbrown9"; + this.pnlbrown9.Size = new System.Drawing.Size(20, 13); + this.pnlbrown9.TabIndex = 3; + this.pnlbrown9.Visible = false; + // + // pnlbrown5 + // + this.pnlbrown5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown5.Location = new System.Drawing.Point(181, 8); + this.pnlbrown5.Name = "pnlbrown5"; + this.pnlbrown5.Size = new System.Drawing.Size(20, 13); + this.pnlbrown5.TabIndex = 10; + this.pnlbrown5.Visible = false; + // + // pnlbrown3 + // + this.pnlbrown3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown3.Location = new System.Drawing.Point(129, 8); + this.pnlbrown3.Name = "pnlbrown3"; + this.pnlbrown3.Size = new System.Drawing.Size(20, 13); + this.pnlbrown3.TabIndex = 6; + this.pnlbrown3.Visible = false; + // + // pnlbrown1 + // + this.pnlbrown1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbrown1.Location = new System.Drawing.Point(77, 8); + this.pnlbrown1.Name = "pnlbrown1"; + this.pnlbrown1.Size = new System.Drawing.Size(20, 13); + this.pnlbrown1.TabIndex = 2; + this.pnlbrown1.Tag = "1"; + this.pnlbrown1.Visible = false; + // + // lblbrownlevel + // + this.lblbrownlevel.AutoSize = true; + this.lblbrownlevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblbrownlevel.Location = new System.Drawing.Point(5, 25); + this.lblbrownlevel.Name = "lblbrownlevel"; + this.lblbrownlevel.Size = new System.Drawing.Size(49, 15); + this.lblbrownlevel.TabIndex = 1; + this.lblbrownlevel.Text = "Level: 4"; + // + // Label19 + // + this.Label19.AutoSize = true; + this.Label19.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label19.Location = new System.Drawing.Point(3, 2); + this.Label19.Name = "Label19"; + this.Label19.Size = new System.Drawing.Size(67, 22); + this.Label19.TabIndex = 0; + this.Label19.Text = "Brown"; + // + // pnlred3 + // + this.pnlred3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred3.Location = new System.Drawing.Point(129, 8); + this.pnlred3.Name = "pnlred3"; + this.pnlred3.Size = new System.Drawing.Size(20, 13); + this.pnlred3.TabIndex = 6; + this.pnlred3.Visible = false; + // + // pnlred1 + // + this.pnlred1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlred1.Location = new System.Drawing.Point(77, 8); + this.pnlred1.Name = "pnlred1"; + this.pnlred1.Size = new System.Drawing.Size(20, 13); + this.pnlred1.TabIndex = 2; + this.pnlred1.Tag = "1"; + this.pnlred1.Visible = false; + // + // lblredlevel + // + this.lblredlevel.AutoSize = true; + this.lblredlevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblredlevel.Location = new System.Drawing.Point(5, 25); + this.lblredlevel.Name = "lblredlevel"; + this.lblredlevel.Size = new System.Drawing.Size(49, 15); + this.lblredlevel.TabIndex = 1; + this.lblredlevel.Text = "Level: 4"; + // + // Label21 + // + this.Label21.AutoSize = true; + this.Label21.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label21.Location = new System.Drawing.Point(3, 2); + this.Label21.Name = "Label21"; + this.Label21.Size = new System.Drawing.Size(42, 22); + this.Label21.TabIndex = 0; + this.Label21.Text = "Red"; + // + // Label33 + // + this.Label33.AutoSize = true; + this.Label33.BackColor = System.Drawing.Color.Transparent; + this.Label33.Location = new System.Drawing.Point(1, 23); + this.Label33.Name = "Label33"; + this.Label33.Size = new System.Drawing.Size(39, 13); + this.Label33.TabIndex = 24; + this.Label33.Text = "Green:"; + // + // pgcontents + // + this.pgcontents.AutoSize = true; + this.pgcontents.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.pgcontents.Controls.Add(this.pnlcolorgroups); + this.pgcontents.Controls.Add(this.pnlcolorconfirm); + this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill; + this.pgcontents.Location = new System.Drawing.Point(2, 30); + this.pgcontents.Name = "pgcontents"; + this.pgcontents.Size = new System.Drawing.Size(443, 568); + this.pgcontents.TabIndex = 25; + // + // pnlcolorgroups + // + this.pnlcolorgroups.AutoSize = true; + this.pnlcolorgroups.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.pnlcolorgroups.Controls.Add(this.pnlpinkcolours); + this.pnlcolorgroups.Controls.Add(this.pnlredcolours); + this.pnlcolorgroups.Controls.Add(this.pnlbrowncolours); + this.pnlcolorgroups.Controls.Add(this.pnlorangecolours); + this.pnlcolorgroups.Controls.Add(this.pnlyellowcolours); + this.pnlcolorgroups.Controls.Add(this.pnlgreencolours); + this.pnlcolorgroups.Controls.Add(this.pnlbluecolours); + this.pnlcolorgroups.Controls.Add(this.pnlpurplecolours); + this.pnlcolorgroups.Controls.Add(this.pnlgraycolours); + this.pnlcolorgroups.Controls.Add(this.pnlanycolours); + this.pnlcolorgroups.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlcolorgroups.Location = new System.Drawing.Point(0, 107); + this.pnlcolorgroups.Name = "pnlcolorgroups"; + this.pnlcolorgroups.Size = new System.Drawing.Size(443, 460); + this.pnlcolorgroups.TabIndex = 11; + // + // pnlpinkcolours + // + this.pnlpinkcolours.BackColor = System.Drawing.Color.White; + this.pnlpinkcolours.Controls.Add(this.pnlpinkoptions); + this.pnlpinkcolours.Controls.Add(this.pnlpinkcustomcolour); + this.pnlpinkcolours.Controls.Add(this.pnlpink16); + this.pnlpinkcolours.Controls.Add(this.pnlpink12); + this.pnlpinkcolours.Controls.Add(this.pnlpink14); + this.pnlpinkcolours.Controls.Add(this.pnlpink10); + this.pnlpinkcolours.Controls.Add(this.pnlpink8); + this.pnlpinkcolours.Controls.Add(this.pnlpink4); + this.pnlpinkcolours.Controls.Add(this.pnlpink6); + this.pnlpinkcolours.Controls.Add(this.pnlpink15); + this.pnlpinkcolours.Controls.Add(this.pnlpink2); + this.pnlpinkcolours.Controls.Add(this.pnlpink13); + this.pnlpinkcolours.Controls.Add(this.pnlpink11); + this.pnlpinkcolours.Controls.Add(this.pnlpink7); + this.pnlpinkcolours.Controls.Add(this.pnlpink9); + this.pnlpinkcolours.Controls.Add(this.pnlpink5); + this.pnlpinkcolours.Controls.Add(this.pnlpink3); + this.pnlpinkcolours.Controls.Add(this.pnlpink1); + this.pnlpinkcolours.Controls.Add(this.lblpinklevel); + this.pnlpinkcolours.Controls.Add(this.Label23); + this.pnlpinkcolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlpinkcolours.Location = new System.Drawing.Point(0, 414); + this.pnlpinkcolours.Name = "pnlpinkcolours"; + this.pnlpinkcolours.Size = new System.Drawing.Size(443, 46); + this.pnlpinkcolours.TabIndex = 11; + this.pnlpinkcolours.Visible = false; + // + // pnlpinkoptions + // + this.pnlpinkoptions.Controls.Add(this.Label35); + this.pnlpinkoptions.Controls.Add(this.txtpinksgreen); + this.pnlpinkoptions.Controls.Add(this.txtpinksred); + this.pnlpinkoptions.Controls.Add(this.Label36); + this.pnlpinkoptions.Controls.Add(this.Label37); + this.pnlpinkoptions.Controls.Add(this.txtpinksblue); + this.pnlpinkoptions.Location = new System.Drawing.Point(282, 2); + this.pnlpinkoptions.Name = "pnlpinkoptions"; + this.pnlpinkoptions.Size = new System.Drawing.Size(120, 40); + this.pnlpinkoptions.TabIndex = 33; + this.pnlpinkoptions.Visible = false; + // + // Label35 + // + this.Label35.AutoSize = true; + this.Label35.BackColor = System.Drawing.Color.Transparent; + this.Label35.Location = new System.Drawing.Point(56, 24); + this.Label35.Name = "Label35"; + this.Label35.Size = new System.Drawing.Size(39, 13); + this.Label35.TabIndex = 26; + this.Label35.Text = "Green:"; + // + // txtpinksgreen + // + this.txtpinksgreen.BackColor = System.Drawing.Color.White; + this.txtpinksgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpinksgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpinksgreen.Location = new System.Drawing.Point(95, 22); + this.txtpinksgreen.Multiline = true; + this.txtpinksgreen.Name = "txtpinksgreen"; + this.txtpinksgreen.Size = new System.Drawing.Size(23, 17); + this.txtpinksgreen.TabIndex = 25; + this.txtpinksgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // txtpinksred + // + this.txtpinksred.BackColor = System.Drawing.Color.White; + this.txtpinksred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpinksred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpinksred.Location = new System.Drawing.Point(64, 2); + this.txtpinksred.Multiline = true; + this.txtpinksred.Name = "txtpinksred"; + this.txtpinksred.Size = new System.Drawing.Size(23, 17); + this.txtpinksred.TabIndex = 21; + this.txtpinksred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // Label36 + // + this.Label36.AutoSize = true; + this.Label36.BackColor = System.Drawing.Color.Transparent; + this.Label36.Location = new System.Drawing.Point(1, 23); + this.Label36.Name = "Label36"; + this.Label36.Size = new System.Drawing.Size(31, 13); + this.Label36.TabIndex = 24; + this.Label36.Text = "Blue:"; + // + // Label37 + // + this.Label37.AutoSize = true; + this.Label37.BackColor = System.Drawing.Color.Transparent; + this.Label37.Location = new System.Drawing.Point(33, 4); + this.Label37.Name = "Label37"; + this.Label37.Size = new System.Drawing.Size(30, 13); + this.Label37.TabIndex = 22; + this.Label37.Text = "Red:"; + // + // txtpinksblue + // + this.txtpinksblue.BackColor = System.Drawing.Color.White; + this.txtpinksblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpinksblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpinksblue.Location = new System.Drawing.Point(32, 22); + this.txtpinksblue.Multiline = true; + this.txtpinksblue.Name = "txtpinksblue"; + this.txtpinksblue.Size = new System.Drawing.Size(23, 17); + this.txtpinksblue.TabIndex = 23; + this.txtpinksblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlpinkcustomcolour + // + this.pnlpinkcustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpinkcustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlpinkcustomcolour.Name = "pnlpinkcustomcolour"; + this.pnlpinkcustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlpinkcustomcolour.TabIndex = 18; + this.pnlpinkcustomcolour.Visible = false; + // + // pnlpink16 + // + this.pnlpink16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink16.Location = new System.Drawing.Point(259, 25); + this.pnlpink16.Name = "pnlpink16"; + this.pnlpink16.Size = new System.Drawing.Size(20, 13); + this.pnlpink16.TabIndex = 17; + this.pnlpink16.Visible = false; + // + // pnlpink12 + // + this.pnlpink12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink12.Location = new System.Drawing.Point(155, 25); + this.pnlpink12.Name = "pnlpink12"; + this.pnlpink12.Size = new System.Drawing.Size(20, 13); + this.pnlpink12.TabIndex = 9; + this.pnlpink12.Visible = false; + // + // pnlpink14 + // + this.pnlpink14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink14.Location = new System.Drawing.Point(207, 25); + this.pnlpink14.Name = "pnlpink14"; + this.pnlpink14.Size = new System.Drawing.Size(20, 13); + this.pnlpink14.TabIndex = 13; + this.pnlpink14.Visible = false; + // + // pnlpink10 + // + this.pnlpink10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink10.Location = new System.Drawing.Point(103, 25); + this.pnlpink10.Name = "pnlpink10"; + this.pnlpink10.Size = new System.Drawing.Size(20, 13); + this.pnlpink10.TabIndex = 5; + this.pnlpink10.Visible = false; + // + // pnlpink8 + // + this.pnlpink8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink8.Location = new System.Drawing.Point(259, 8); + this.pnlpink8.Name = "pnlpink8"; + this.pnlpink8.Size = new System.Drawing.Size(20, 13); + this.pnlpink8.TabIndex = 16; + this.pnlpink8.Visible = false; + // + // pnlpink4 + // + this.pnlpink4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink4.Location = new System.Drawing.Point(155, 8); + this.pnlpink4.Name = "pnlpink4"; + this.pnlpink4.Size = new System.Drawing.Size(20, 13); + this.pnlpink4.TabIndex = 8; + this.pnlpink4.Visible = false; + // + // pnlpink6 + // + this.pnlpink6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink6.Location = new System.Drawing.Point(207, 8); + this.pnlpink6.Name = "pnlpink6"; + this.pnlpink6.Size = new System.Drawing.Size(20, 13); + this.pnlpink6.TabIndex = 12; + this.pnlpink6.Visible = false; + // + // pnlpink15 + // + this.pnlpink15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink15.Location = new System.Drawing.Point(233, 25); + this.pnlpink15.Name = "pnlpink15"; + this.pnlpink15.Size = new System.Drawing.Size(20, 13); + this.pnlpink15.TabIndex = 15; + this.pnlpink15.Visible = false; + // + // pnlpink2 + // + this.pnlpink2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink2.Location = new System.Drawing.Point(103, 8); + this.pnlpink2.Name = "pnlpink2"; + this.pnlpink2.Size = new System.Drawing.Size(20, 13); + this.pnlpink2.TabIndex = 4; + this.pnlpink2.Visible = false; + // + // pnlpink13 + // + this.pnlpink13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink13.Location = new System.Drawing.Point(181, 25); + this.pnlpink13.Name = "pnlpink13"; + this.pnlpink13.Size = new System.Drawing.Size(20, 13); + this.pnlpink13.TabIndex = 11; + this.pnlpink13.Visible = false; + // + // pnlpink11 + // + this.pnlpink11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink11.Location = new System.Drawing.Point(129, 25); + this.pnlpink11.Name = "pnlpink11"; + this.pnlpink11.Size = new System.Drawing.Size(20, 13); + this.pnlpink11.TabIndex = 7; + this.pnlpink11.Visible = false; + // + // pnlpink7 + // + this.pnlpink7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink7.Location = new System.Drawing.Point(233, 8); + this.pnlpink7.Name = "pnlpink7"; + this.pnlpink7.Size = new System.Drawing.Size(20, 13); + this.pnlpink7.TabIndex = 14; + this.pnlpink7.Visible = false; + // + // pnlpink9 + // + this.pnlpink9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink9.Location = new System.Drawing.Point(77, 25); + this.pnlpink9.Name = "pnlpink9"; + this.pnlpink9.Size = new System.Drawing.Size(20, 13); + this.pnlpink9.TabIndex = 3; + this.pnlpink9.Visible = false; + // + // pnlpink5 + // + this.pnlpink5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink5.Location = new System.Drawing.Point(181, 8); + this.pnlpink5.Name = "pnlpink5"; + this.pnlpink5.Size = new System.Drawing.Size(20, 13); + this.pnlpink5.TabIndex = 10; + this.pnlpink5.Visible = false; + // + // pnlpink3 + // + this.pnlpink3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink3.Location = new System.Drawing.Point(129, 8); + this.pnlpink3.Name = "pnlpink3"; + this.pnlpink3.Size = new System.Drawing.Size(20, 13); + this.pnlpink3.TabIndex = 6; + this.pnlpink3.Visible = false; + // + // pnlpink1 + // + this.pnlpink1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpink1.Location = new System.Drawing.Point(77, 8); + this.pnlpink1.Name = "pnlpink1"; + this.pnlpink1.Size = new System.Drawing.Size(20, 13); + this.pnlpink1.TabIndex = 2; + this.pnlpink1.Tag = "1"; + this.pnlpink1.Visible = false; + // + // lblpinklevel + // + this.lblpinklevel.AutoSize = true; + this.lblpinklevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblpinklevel.Location = new System.Drawing.Point(5, 25); + this.lblpinklevel.Name = "lblpinklevel"; + this.lblpinklevel.Size = new System.Drawing.Size(49, 15); + this.lblpinklevel.TabIndex = 1; + this.lblpinklevel.Text = "Level: 4"; + // + // Label23 + // + this.Label23.AutoSize = true; + this.Label23.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label23.Location = new System.Drawing.Point(3, 2); + this.Label23.Name = "Label23"; + this.Label23.Size = new System.Drawing.Size(48, 22); + this.Label23.TabIndex = 0; + this.Label23.Text = "Pink"; + // + // pnlredcolours + // + this.pnlredcolours.BackColor = System.Drawing.Color.White; + this.pnlredcolours.Controls.Add(this.pnlredoptions); + this.pnlredcolours.Controls.Add(this.pnlredcustomcolour); + this.pnlredcolours.Controls.Add(this.pnlred16); + this.pnlredcolours.Controls.Add(this.pnlred12); + this.pnlredcolours.Controls.Add(this.pnlred14); + this.pnlredcolours.Controls.Add(this.pnlred10); + this.pnlredcolours.Controls.Add(this.pnlred8); + this.pnlredcolours.Controls.Add(this.pnlred4); + this.pnlredcolours.Controls.Add(this.pnlred6); + this.pnlredcolours.Controls.Add(this.pnlred15); + this.pnlredcolours.Controls.Add(this.pnlred2); + this.pnlredcolours.Controls.Add(this.pnlred13); + this.pnlredcolours.Controls.Add(this.pnlred11); + this.pnlredcolours.Controls.Add(this.pnlred7); + this.pnlredcolours.Controls.Add(this.pnlred9); + this.pnlredcolours.Controls.Add(this.pnlred5); + this.pnlredcolours.Controls.Add(this.pnlred3); + this.pnlredcolours.Controls.Add(this.pnlred1); + this.pnlredcolours.Controls.Add(this.lblredlevel); + this.pnlredcolours.Controls.Add(this.Label21); + this.pnlredcolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlredcolours.Location = new System.Drawing.Point(0, 368); + this.pnlredcolours.Name = "pnlredcolours"; + this.pnlredcolours.Size = new System.Drawing.Size(443, 46); + this.pnlredcolours.TabIndex = 10; + this.pnlredcolours.Visible = false; + // + // pnlredoptions + // + this.pnlredoptions.Controls.Add(this.Label32); + this.pnlredoptions.Controls.Add(this.txtredsblue); + this.pnlredoptions.Controls.Add(this.txtredsred); + this.pnlredoptions.Controls.Add(this.Label33); + this.pnlredoptions.Controls.Add(this.Label34); + this.pnlredoptions.Controls.Add(this.txtredsgreen); + this.pnlredoptions.Location = new System.Drawing.Point(282, 2); + this.pnlredoptions.Name = "pnlredoptions"; + this.pnlredoptions.Size = new System.Drawing.Size(120, 40); + this.pnlredoptions.TabIndex = 32; + this.pnlredoptions.Visible = false; + // + // Label34 + // + this.Label34.AutoSize = true; + this.Label34.BackColor = System.Drawing.Color.Transparent; + this.Label34.Location = new System.Drawing.Point(33, 4); + this.Label34.Name = "Label34"; + this.Label34.Size = new System.Drawing.Size(30, 13); + this.Label34.TabIndex = 22; + this.Label34.Text = "Red:"; + // + // txtredsgreen + // + this.txtredsgreen.BackColor = System.Drawing.Color.White; + this.txtredsgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtredsgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtredsgreen.Location = new System.Drawing.Point(40, 22); + this.txtredsgreen.Multiline = true; + this.txtredsgreen.Name = "txtredsgreen"; + this.txtredsgreen.Size = new System.Drawing.Size(23, 17); + this.txtredsgreen.TabIndex = 23; + this.txtredsgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlorangecolours + // + this.pnlorangecolours.BackColor = System.Drawing.Color.White; + this.pnlorangecolours.Controls.Add(this.pnlorangeoptions); + this.pnlorangecolours.Controls.Add(this.pnlorangecustomcolour); + this.pnlorangecolours.Controls.Add(this.pnlorange16); + this.pnlorangecolours.Controls.Add(this.pnlorange12); + this.pnlorangecolours.Controls.Add(this.pnlorange14); + this.pnlorangecolours.Controls.Add(this.pnlorange10); + this.pnlorangecolours.Controls.Add(this.pnlorange8); + this.pnlorangecolours.Controls.Add(this.pnlorange4); + this.pnlorangecolours.Controls.Add(this.pnlorange6); + this.pnlorangecolours.Controls.Add(this.pnlorange15); + this.pnlorangecolours.Controls.Add(this.pnlorange2); + this.pnlorangecolours.Controls.Add(this.pnlorange13); + this.pnlorangecolours.Controls.Add(this.pnlorange11); + this.pnlorangecolours.Controls.Add(this.pnlorange7); + this.pnlorangecolours.Controls.Add(this.pnlorange9); + this.pnlorangecolours.Controls.Add(this.pnlorange5); + this.pnlorangecolours.Controls.Add(this.pnlorange3); + this.pnlorangecolours.Controls.Add(this.pnlorange1); + this.pnlorangecolours.Controls.Add(this.lblorangelevel); + this.pnlorangecolours.Controls.Add(this.Label13); + this.pnlorangecolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlorangecolours.Location = new System.Drawing.Point(0, 276); + this.pnlorangecolours.Name = "pnlorangecolours"; + this.pnlorangecolours.Size = new System.Drawing.Size(443, 46); + this.pnlorangecolours.TabIndex = 7; + this.pnlorangecolours.Visible = false; + // + // pnlorangeoptions + // + this.pnlorangeoptions.Controls.Add(this.Label25); + this.pnlorangeoptions.Controls.Add(this.txtorangesblue); + this.pnlorangeoptions.Controls.Add(this.txtorangesred); + this.pnlorangeoptions.Controls.Add(this.Label27); + this.pnlorangeoptions.Controls.Add(this.Label28); + this.pnlorangeoptions.Controls.Add(this.txtorangesgreen); + this.pnlorangeoptions.Location = new System.Drawing.Point(282, 3); + this.pnlorangeoptions.Name = "pnlorangeoptions"; + this.pnlorangeoptions.Size = new System.Drawing.Size(120, 40); + this.pnlorangeoptions.TabIndex = 30; + this.pnlorangeoptions.Visible = false; + // + // Label25 + // + this.Label25.AutoSize = true; + this.Label25.BackColor = System.Drawing.Color.Transparent; + this.Label25.Location = new System.Drawing.Point(64, 24); + this.Label25.Name = "Label25"; + this.Label25.Size = new System.Drawing.Size(31, 13); + this.Label25.TabIndex = 26; + this.Label25.Text = "Blue:"; + // + // txtorangesblue + // + this.txtorangesblue.BackColor = System.Drawing.Color.White; + this.txtorangesblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtorangesblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtorangesblue.Location = new System.Drawing.Point(95, 22); + this.txtorangesblue.Multiline = true; + this.txtorangesblue.Name = "txtorangesblue"; + this.txtorangesblue.Size = new System.Drawing.Size(23, 17); + this.txtorangesblue.TabIndex = 25; + this.txtorangesblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // txtorangesred + // + this.txtorangesred.BackColor = System.Drawing.Color.White; + this.txtorangesred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtorangesred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtorangesred.Location = new System.Drawing.Point(64, 2); + this.txtorangesred.Multiline = true; + this.txtorangesred.Name = "txtorangesred"; + this.txtorangesred.Size = new System.Drawing.Size(23, 17); + this.txtorangesred.TabIndex = 21; + this.txtorangesred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // Label27 + // + this.Label27.AutoSize = true; + this.Label27.BackColor = System.Drawing.Color.Transparent; + this.Label27.Location = new System.Drawing.Point(1, 23); + this.Label27.Name = "Label27"; + this.Label27.Size = new System.Drawing.Size(39, 13); + this.Label27.TabIndex = 24; + this.Label27.Text = "Green:"; + // + // Label28 + // + this.Label28.AutoSize = true; + this.Label28.BackColor = System.Drawing.Color.Transparent; + this.Label28.Location = new System.Drawing.Point(33, 4); + this.Label28.Name = "Label28"; + this.Label28.Size = new System.Drawing.Size(30, 13); + this.Label28.TabIndex = 22; + this.Label28.Text = "Red:"; + // + // txtorangesgreen + // + this.txtorangesgreen.BackColor = System.Drawing.Color.White; + this.txtorangesgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtorangesgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtorangesgreen.Location = new System.Drawing.Point(40, 22); + this.txtorangesgreen.Multiline = true; + this.txtorangesgreen.Name = "txtorangesgreen"; + this.txtorangesgreen.Size = new System.Drawing.Size(23, 17); + this.txtorangesgreen.TabIndex = 23; + this.txtorangesgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlorangecustomcolour + // + this.pnlorangecustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorangecustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlorangecustomcolour.Name = "pnlorangecustomcolour"; + this.pnlorangecustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlorangecustomcolour.TabIndex = 18; + this.pnlorangecustomcolour.Visible = false; + // + // pnlorange16 + // + this.pnlorange16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange16.Location = new System.Drawing.Point(259, 25); + this.pnlorange16.Name = "pnlorange16"; + this.pnlorange16.Size = new System.Drawing.Size(20, 13); + this.pnlorange16.TabIndex = 17; + this.pnlorange16.Visible = false; + // + // pnlorange12 + // + this.pnlorange12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange12.Location = new System.Drawing.Point(155, 25); + this.pnlorange12.Name = "pnlorange12"; + this.pnlorange12.Size = new System.Drawing.Size(20, 13); + this.pnlorange12.TabIndex = 9; + this.pnlorange12.Visible = false; + // + // pnlorange14 + // + this.pnlorange14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange14.Location = new System.Drawing.Point(207, 25); + this.pnlorange14.Name = "pnlorange14"; + this.pnlorange14.Size = new System.Drawing.Size(20, 13); + this.pnlorange14.TabIndex = 13; + this.pnlorange14.Visible = false; + // + // pnlorange10 + // + this.pnlorange10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange10.Location = new System.Drawing.Point(103, 25); + this.pnlorange10.Name = "pnlorange10"; + this.pnlorange10.Size = new System.Drawing.Size(20, 13); + this.pnlorange10.TabIndex = 5; + this.pnlorange10.Visible = false; + // + // pnlorange8 + // + this.pnlorange8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange8.Location = new System.Drawing.Point(259, 8); + this.pnlorange8.Name = "pnlorange8"; + this.pnlorange8.Size = new System.Drawing.Size(20, 13); + this.pnlorange8.TabIndex = 16; + this.pnlorange8.Visible = false; + // + // pnlorange4 + // + this.pnlorange4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange4.Location = new System.Drawing.Point(155, 8); + this.pnlorange4.Name = "pnlorange4"; + this.pnlorange4.Size = new System.Drawing.Size(20, 13); + this.pnlorange4.TabIndex = 8; + this.pnlorange4.Visible = false; + // + // pnlorange6 + // + this.pnlorange6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange6.Location = new System.Drawing.Point(207, 8); + this.pnlorange6.Name = "pnlorange6"; + this.pnlorange6.Size = new System.Drawing.Size(20, 13); + this.pnlorange6.TabIndex = 12; + this.pnlorange6.Visible = false; + // + // pnlorange15 + // + this.pnlorange15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange15.Location = new System.Drawing.Point(233, 25); + this.pnlorange15.Name = "pnlorange15"; + this.pnlorange15.Size = new System.Drawing.Size(20, 13); + this.pnlorange15.TabIndex = 15; + this.pnlorange15.Visible = false; + // + // pnlorange2 + // + this.pnlorange2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange2.Location = new System.Drawing.Point(103, 8); + this.pnlorange2.Name = "pnlorange2"; + this.pnlorange2.Size = new System.Drawing.Size(20, 13); + this.pnlorange2.TabIndex = 4; + this.pnlorange2.Visible = false; + // + // pnlorange13 + // + this.pnlorange13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange13.Location = new System.Drawing.Point(181, 25); + this.pnlorange13.Name = "pnlorange13"; + this.pnlorange13.Size = new System.Drawing.Size(20, 13); + this.pnlorange13.TabIndex = 11; + this.pnlorange13.Visible = false; + // + // pnlorange11 + // + this.pnlorange11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange11.Location = new System.Drawing.Point(129, 25); + this.pnlorange11.Name = "pnlorange11"; + this.pnlorange11.Size = new System.Drawing.Size(20, 13); + this.pnlorange11.TabIndex = 7; + this.pnlorange11.Visible = false; + // + // pnlorange7 + // + this.pnlorange7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange7.Location = new System.Drawing.Point(233, 8); + this.pnlorange7.Name = "pnlorange7"; + this.pnlorange7.Size = new System.Drawing.Size(20, 13); + this.pnlorange7.TabIndex = 14; + this.pnlorange7.Visible = false; + // + // pnlorange9 + // + this.pnlorange9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange9.Location = new System.Drawing.Point(77, 25); + this.pnlorange9.Name = "pnlorange9"; + this.pnlorange9.Size = new System.Drawing.Size(20, 13); + this.pnlorange9.TabIndex = 3; + this.pnlorange9.Visible = false; + // + // pnlorange5 + // + this.pnlorange5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange5.Location = new System.Drawing.Point(181, 8); + this.pnlorange5.Name = "pnlorange5"; + this.pnlorange5.Size = new System.Drawing.Size(20, 13); + this.pnlorange5.TabIndex = 10; + this.pnlorange5.Visible = false; + // + // pnlorange3 + // + this.pnlorange3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange3.Location = new System.Drawing.Point(129, 8); + this.pnlorange3.Name = "pnlorange3"; + this.pnlorange3.Size = new System.Drawing.Size(20, 13); + this.pnlorange3.TabIndex = 6; + this.pnlorange3.Visible = false; + // + // pnlorange1 + // + this.pnlorange1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlorange1.Location = new System.Drawing.Point(77, 8); + this.pnlorange1.Name = "pnlorange1"; + this.pnlorange1.Size = new System.Drawing.Size(20, 13); + this.pnlorange1.TabIndex = 2; + this.pnlorange1.Tag = "1"; + this.pnlorange1.Visible = false; + // + // lblorangelevel + // + this.lblorangelevel.AutoSize = true; + this.lblorangelevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblorangelevel.Location = new System.Drawing.Point(5, 25); + this.lblorangelevel.Name = "lblorangelevel"; + this.lblorangelevel.Size = new System.Drawing.Size(49, 15); + this.lblorangelevel.TabIndex = 1; + this.lblorangelevel.Text = "Level: 4"; + // + // Label13 + // + this.Label13.AutoSize = true; + this.Label13.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label13.Location = new System.Drawing.Point(3, 2); + this.Label13.Name = "Label13"; + this.Label13.Size = new System.Drawing.Size(74, 22); + this.Label13.TabIndex = 0; + this.Label13.Text = "Orange"; + // + // pnlyellowcolours + // + this.pnlyellowcolours.BackColor = System.Drawing.Color.White; + this.pnlyellowcolours.Controls.Add(this.pnlyellowoptions); + this.pnlyellowcolours.Controls.Add(this.pnlyellowcustomcolour); + this.pnlyellowcolours.Controls.Add(this.pnlyellow16); + this.pnlyellowcolours.Controls.Add(this.pnlyellow12); + this.pnlyellowcolours.Controls.Add(this.pnlyellow14); + this.pnlyellowcolours.Controls.Add(this.pnlyellow10); + this.pnlyellowcolours.Controls.Add(this.pnlyellow8); + this.pnlyellowcolours.Controls.Add(this.pnlyellow4); + this.pnlyellowcolours.Controls.Add(this.pnlyellow6); + this.pnlyellowcolours.Controls.Add(this.pnlyellow15); + this.pnlyellowcolours.Controls.Add(this.pnlyellow2); + this.pnlyellowcolours.Controls.Add(this.pnlyellow13); + this.pnlyellowcolours.Controls.Add(this.pnlyellow11); + this.pnlyellowcolours.Controls.Add(this.pnlyellow7); + this.pnlyellowcolours.Controls.Add(this.pnlyellow9); + this.pnlyellowcolours.Controls.Add(this.pnlyellow5); + this.pnlyellowcolours.Controls.Add(this.pnlyellow3); + this.pnlyellowcolours.Controls.Add(this.pnlyellow1); + this.pnlyellowcolours.Controls.Add(this.lblyellowlevel); + this.pnlyellowcolours.Controls.Add(this.Label11); + this.pnlyellowcolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlyellowcolours.Location = new System.Drawing.Point(0, 230); + this.pnlyellowcolours.Name = "pnlyellowcolours"; + this.pnlyellowcolours.Size = new System.Drawing.Size(443, 46); + this.pnlyellowcolours.TabIndex = 6; + this.pnlyellowcolours.Visible = false; + // + // pnlyellowoptions + // + this.pnlyellowoptions.Controls.Add(this.Label20); + this.pnlyellowoptions.Controls.Add(this.txtyellowsblue); + this.pnlyellowoptions.Controls.Add(this.txtyellowsred); + this.pnlyellowoptions.Controls.Add(this.Label22); + this.pnlyellowoptions.Controls.Add(this.Label24); + this.pnlyellowoptions.Controls.Add(this.txtyellowsgreen); + this.pnlyellowoptions.Location = new System.Drawing.Point(282, 3); + this.pnlyellowoptions.Name = "pnlyellowoptions"; + this.pnlyellowoptions.Size = new System.Drawing.Size(120, 40); + this.pnlyellowoptions.TabIndex = 29; + this.pnlyellowoptions.Visible = false; + // + // Label20 + // + this.Label20.AutoSize = true; + this.Label20.BackColor = System.Drawing.Color.Transparent; + this.Label20.Location = new System.Drawing.Point(64, 24); + this.Label20.Name = "Label20"; + this.Label20.Size = new System.Drawing.Size(31, 13); + this.Label20.TabIndex = 26; + this.Label20.Text = "Blue:"; + // + // txtyellowsblue + // + this.txtyellowsblue.BackColor = System.Drawing.Color.White; + this.txtyellowsblue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtyellowsblue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtyellowsblue.Location = new System.Drawing.Point(95, 22); + this.txtyellowsblue.Multiline = true; + this.txtyellowsblue.Name = "txtyellowsblue"; + this.txtyellowsblue.Size = new System.Drawing.Size(23, 17); + this.txtyellowsblue.TabIndex = 25; + this.txtyellowsblue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // txtyellowsred + // + this.txtyellowsred.BackColor = System.Drawing.Color.White; + this.txtyellowsred.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtyellowsred.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtyellowsred.Location = new System.Drawing.Point(64, 2); + this.txtyellowsred.Multiline = true; + this.txtyellowsred.Name = "txtyellowsred"; + this.txtyellowsred.Size = new System.Drawing.Size(23, 17); + this.txtyellowsred.TabIndex = 21; + this.txtyellowsred.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // Label22 + // + this.Label22.AutoSize = true; + this.Label22.BackColor = System.Drawing.Color.Transparent; + this.Label22.Location = new System.Drawing.Point(1, 23); + this.Label22.Name = "Label22"; + this.Label22.Size = new System.Drawing.Size(39, 13); + this.Label22.TabIndex = 24; + this.Label22.Text = "Green:"; + // + // Label24 + // + this.Label24.AutoSize = true; + this.Label24.BackColor = System.Drawing.Color.Transparent; + this.Label24.Location = new System.Drawing.Point(33, 4); + this.Label24.Name = "Label24"; + this.Label24.Size = new System.Drawing.Size(30, 13); + this.Label24.TabIndex = 22; + this.Label24.Text = "Red:"; + // + // txtyellowsgreen + // + this.txtyellowsgreen.BackColor = System.Drawing.Color.White; + this.txtyellowsgreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtyellowsgreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtyellowsgreen.Location = new System.Drawing.Point(40, 22); + this.txtyellowsgreen.Multiline = true; + this.txtyellowsgreen.Name = "txtyellowsgreen"; + this.txtyellowsgreen.Size = new System.Drawing.Size(23, 17); + this.txtyellowsgreen.TabIndex = 23; + this.txtyellowsgreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pnlyellowcustomcolour + // + this.pnlyellowcustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellowcustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlyellowcustomcolour.Name = "pnlyellowcustomcolour"; + this.pnlyellowcustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlyellowcustomcolour.TabIndex = 18; + this.pnlyellowcustomcolour.Visible = false; + // + // pnlyellow16 + // + this.pnlyellow16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow16.Location = new System.Drawing.Point(259, 25); + this.pnlyellow16.Name = "pnlyellow16"; + this.pnlyellow16.Size = new System.Drawing.Size(20, 13); + this.pnlyellow16.TabIndex = 17; + this.pnlyellow16.Visible = false; + // + // pnlyellow12 + // + this.pnlyellow12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow12.Location = new System.Drawing.Point(155, 25); + this.pnlyellow12.Name = "pnlyellow12"; + this.pnlyellow12.Size = new System.Drawing.Size(20, 13); + this.pnlyellow12.TabIndex = 9; + this.pnlyellow12.Visible = false; + // + // pnlyellow14 + // + this.pnlyellow14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow14.Location = new System.Drawing.Point(207, 25); + this.pnlyellow14.Name = "pnlyellow14"; + this.pnlyellow14.Size = new System.Drawing.Size(20, 13); + this.pnlyellow14.TabIndex = 13; + this.pnlyellow14.Visible = false; + // + // pnlyellow10 + // + this.pnlyellow10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow10.Location = new System.Drawing.Point(103, 25); + this.pnlyellow10.Name = "pnlyellow10"; + this.pnlyellow10.Size = new System.Drawing.Size(20, 13); + this.pnlyellow10.TabIndex = 5; + this.pnlyellow10.Visible = false; + // + // pnlyellow8 + // + this.pnlyellow8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow8.Location = new System.Drawing.Point(259, 8); + this.pnlyellow8.Name = "pnlyellow8"; + this.pnlyellow8.Size = new System.Drawing.Size(20, 13); + this.pnlyellow8.TabIndex = 16; + this.pnlyellow8.Visible = false; + // + // pnlyellow4 + // + this.pnlyellow4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow4.Location = new System.Drawing.Point(155, 8); + this.pnlyellow4.Name = "pnlyellow4"; + this.pnlyellow4.Size = new System.Drawing.Size(20, 13); + this.pnlyellow4.TabIndex = 8; + this.pnlyellow4.Visible = false; + // + // pnlyellow6 + // + this.pnlyellow6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow6.Location = new System.Drawing.Point(207, 8); + this.pnlyellow6.Name = "pnlyellow6"; + this.pnlyellow6.Size = new System.Drawing.Size(20, 13); + this.pnlyellow6.TabIndex = 12; + this.pnlyellow6.Visible = false; + // + // pnlyellow15 + // + this.pnlyellow15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow15.Location = new System.Drawing.Point(233, 25); + this.pnlyellow15.Name = "pnlyellow15"; + this.pnlyellow15.Size = new System.Drawing.Size(20, 13); + this.pnlyellow15.TabIndex = 15; + this.pnlyellow15.Visible = false; + // + // pnlyellow2 + // + this.pnlyellow2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow2.Location = new System.Drawing.Point(103, 8); + this.pnlyellow2.Name = "pnlyellow2"; + this.pnlyellow2.Size = new System.Drawing.Size(20, 13); + this.pnlyellow2.TabIndex = 4; + this.pnlyellow2.Visible = false; + // + // pnlyellow13 + // + this.pnlyellow13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow13.Location = new System.Drawing.Point(181, 25); + this.pnlyellow13.Name = "pnlyellow13"; + this.pnlyellow13.Size = new System.Drawing.Size(20, 13); + this.pnlyellow13.TabIndex = 11; + this.pnlyellow13.Visible = false; + // + // pnlyellow11 + // + this.pnlyellow11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow11.Location = new System.Drawing.Point(129, 25); + this.pnlyellow11.Name = "pnlyellow11"; + this.pnlyellow11.Size = new System.Drawing.Size(20, 13); + this.pnlyellow11.TabIndex = 7; + this.pnlyellow11.Visible = false; + // + // pnlyellow7 + // + this.pnlyellow7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow7.Location = new System.Drawing.Point(233, 8); + this.pnlyellow7.Name = "pnlyellow7"; + this.pnlyellow7.Size = new System.Drawing.Size(20, 13); + this.pnlyellow7.TabIndex = 14; + this.pnlyellow7.Visible = false; + // + // pnlyellow9 + // + this.pnlyellow9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow9.Location = new System.Drawing.Point(77, 25); + this.pnlyellow9.Name = "pnlyellow9"; + this.pnlyellow9.Size = new System.Drawing.Size(20, 13); + this.pnlyellow9.TabIndex = 3; + this.pnlyellow9.Visible = false; + // + // pnlyellow5 + // + this.pnlyellow5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow5.Location = new System.Drawing.Point(181, 8); + this.pnlyellow5.Name = "pnlyellow5"; + this.pnlyellow5.Size = new System.Drawing.Size(20, 13); + this.pnlyellow5.TabIndex = 10; + this.pnlyellow5.Visible = false; + // + // pnlyellow3 + // + this.pnlyellow3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow3.Location = new System.Drawing.Point(129, 8); + this.pnlyellow3.Name = "pnlyellow3"; + this.pnlyellow3.Size = new System.Drawing.Size(20, 13); + this.pnlyellow3.TabIndex = 6; + this.pnlyellow3.Visible = false; + // + // pnlyellow1 + // + this.pnlyellow1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlyellow1.Location = new System.Drawing.Point(77, 8); + this.pnlyellow1.Name = "pnlyellow1"; + this.pnlyellow1.Size = new System.Drawing.Size(20, 13); + this.pnlyellow1.TabIndex = 2; + this.pnlyellow1.Tag = "1"; + this.pnlyellow1.Visible = false; + // + // lblyellowlevel + // + this.lblyellowlevel.AutoSize = true; + this.lblyellowlevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblyellowlevel.Location = new System.Drawing.Point(5, 25); + this.lblyellowlevel.Name = "lblyellowlevel"; + this.lblyellowlevel.Size = new System.Drawing.Size(49, 15); + this.lblyellowlevel.TabIndex = 1; + this.lblyellowlevel.Text = "Level: 4"; + // + // Label11 + // + this.Label11.AutoSize = true; + this.Label11.Font = new System.Drawing.Font("Cambria", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label11.Location = new System.Drawing.Point(3, 2); + this.Label11.Name = "Label11"; + this.Label11.Size = new System.Drawing.Size(65, 22); + this.Label11.TabIndex = 0; + this.Label11.Text = "Yellow"; + // + // pnlgreencolours + // + this.pnlgreencolours.BackColor = System.Drawing.Color.White; + this.pnlgreencolours.Controls.Add(this.pnlgreenoptions); + this.pnlgreencolours.Controls.Add(this.pnlgreencustomcolour); + this.pnlgreencolours.Controls.Add(this.pnlgreen16); + this.pnlgreencolours.Controls.Add(this.pnlgreen12); + this.pnlgreencolours.Controls.Add(this.pnlgreen14); + this.pnlgreencolours.Controls.Add(this.pnlgreen10); + this.pnlgreencolours.Controls.Add(this.pnlgreen8); + this.pnlgreencolours.Controls.Add(this.pnlgreen4); + this.pnlgreencolours.Controls.Add(this.pnlgreen6); + this.pnlgreencolours.Controls.Add(this.pnlgreen15); + this.pnlgreencolours.Controls.Add(this.pnlgreen2); + this.pnlgreencolours.Controls.Add(this.pnlgreen13); + this.pnlgreencolours.Controls.Add(this.pnlgreen11); + this.pnlgreencolours.Controls.Add(this.pnlgreen7); + this.pnlgreencolours.Controls.Add(this.pnlgreen9); + this.pnlgreencolours.Controls.Add(this.pnlgreen5); + this.pnlgreencolours.Controls.Add(this.pnlgreen3); + this.pnlgreencolours.Controls.Add(this.pnlgreen1); + this.pnlgreencolours.Controls.Add(this.lblgreenlevel); + this.pnlgreencolours.Controls.Add(this.Label9); + this.pnlgreencolours.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlgreencolours.Location = new System.Drawing.Point(0, 184); + this.pnlgreencolours.Name = "pnlgreencolours"; + this.pnlgreencolours.Size = new System.Drawing.Size(443, 46); + this.pnlgreencolours.TabIndex = 5; + this.pnlgreencolours.Visible = false; + // + // pnlgreenoptions + // + this.pnlgreenoptions.Controls.Add(this.Label15); + this.pnlgreenoptions.Controls.Add(this.txtgreensred); + this.pnlgreenoptions.Controls.Add(this.txtgreensgreen); + this.pnlgreenoptions.Controls.Add(this.Label16); + this.pnlgreenoptions.Controls.Add(this.Label18); + this.pnlgreenoptions.Controls.Add(this.txtgreensblue); + this.pnlgreenoptions.Location = new System.Drawing.Point(282, 3); + this.pnlgreenoptions.Name = "pnlgreenoptions"; + this.pnlgreenoptions.Size = new System.Drawing.Size(120, 40); + this.pnlgreenoptions.TabIndex = 29; + this.pnlgreenoptions.Visible = false; + // + // pnlgreencustomcolour + // + this.pnlgreencustomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreencustomcolour.Location = new System.Drawing.Point(406, 8); + this.pnlgreencustomcolour.Name = "pnlgreencustomcolour"; + this.pnlgreencustomcolour.Size = new System.Drawing.Size(32, 30); + this.pnlgreencustomcolour.TabIndex = 18; + this.pnlgreencustomcolour.Visible = false; + // + // pnlgreen16 + // + this.pnlgreen16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlgreen16.Location = new System.Drawing.Point(259, 25); + this.pnlgreen16.Name = "pnlgreen16"; + this.pnlgreen16.Size = new System.Drawing.Size(20, 13); + this.pnlgreen16.TabIndex = 17; + this.pnlgreen16.Visible = false; + // + // ColorPicker + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoSize = true; + this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.ClientSize = new System.Drawing.Size(447, 600); + this.Controls.Add(this.pgcontents); + this.MinimumSize = new System.Drawing.Size(447, 0); + this.Name = "ColorPicker"; + this.Text = "ColorPicker"; + this.WindowIcon = global::ShiftOS.Properties.Resources.iconColourPicker_fw; + this.WindowTitle = "Color Picker"; + this.Controls.SetChildIndex(this.pgcontents, 0); + this.pnlpurplecolours.ResumeLayout(false); + this.pnlpurplecolours.PerformLayout(); + this.pnlpurpleoptions.ResumeLayout(false); + this.pnlpurpleoptions.PerformLayout(); + this.pnlblueoptions.ResumeLayout(false); + this.pnlblueoptions.PerformLayout(); + this.pnlbluecolours.ResumeLayout(false); + this.pnlbluecolours.PerformLayout(); + this.pnlanyoptions.ResumeLayout(false); + this.pnlanyoptions.PerformLayout(); + this.pnlcolorconfirm.ResumeLayout(false); + this.pnlcolorconfirm.PerformLayout(); + this.pnlgraycolours.ResumeLayout(false); + this.pnlgraycolours.PerformLayout(); + this.pnlanycolours.ResumeLayout(false); + this.pnlanycolours.PerformLayout(); + this.pnlbrownoptions.ResumeLayout(false); + this.pnlbrownoptions.PerformLayout(); + this.pnlbrowncolours.ResumeLayout(false); + this.pnlbrowncolours.PerformLayout(); + this.pgcontents.ResumeLayout(false); + this.pgcontents.PerformLayout(); + this.pnlcolorgroups.ResumeLayout(false); + this.pnlpinkcolours.ResumeLayout(false); + this.pnlpinkcolours.PerformLayout(); + this.pnlpinkoptions.ResumeLayout(false); + this.pnlpinkoptions.PerformLayout(); + this.pnlredcolours.ResumeLayout(false); + this.pnlredcolours.PerformLayout(); + this.pnlredoptions.ResumeLayout(false); + this.pnlredoptions.PerformLayout(); + this.pnlorangecolours.ResumeLayout(false); + this.pnlorangecolours.PerformLayout(); + this.pnlorangeoptions.ResumeLayout(false); + this.pnlorangeoptions.PerformLayout(); + this.pnlyellowcolours.ResumeLayout(false); + this.pnlyellowcolours.PerformLayout(); + this.pnlyellowoptions.ResumeLayout(false); + this.pnlyellowoptions.PerformLayout(); + this.pnlgreencolours.ResumeLayout(false); + this.pnlgreencolours.PerformLayout(); + this.pnlgreenoptions.ResumeLayout(false); + this.pnlgreenoptions.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + internal System.Windows.Forms.Panel pnlbluecustomcolour; + internal System.Windows.Forms.Panel pnlblue16; + internal System.Windows.Forms.Panel pnlblue14; + internal System.Windows.Forms.Panel pnlblue10; + internal System.Windows.Forms.Panel pnlblue8; + internal System.Windows.Forms.Panel pnlblue4; + internal System.Windows.Forms.Panel pnlpurple3; + internal System.Windows.Forms.Panel pnlpurplecolours; + internal System.Windows.Forms.Panel pnlpurpleoptions; + internal System.Windows.Forms.Label Label8; + internal System.Windows.Forms.TextBox txtpurplesgreen; + internal System.Windows.Forms.TextBox txtpurplesblue; + internal System.Windows.Forms.Label Label10; + internal System.Windows.Forms.Label Label12; + internal System.Windows.Forms.TextBox txtpurplesred; + internal System.Windows.Forms.Panel pnlpurplecustomcolour; + internal System.Windows.Forms.Panel pnlpurple16; + internal System.Windows.Forms.Panel pnlpurple12; + internal System.Windows.Forms.Panel pnlpurple14; + internal System.Windows.Forms.Panel pnlpurple10; + internal System.Windows.Forms.Panel pnlpurple8; + internal System.Windows.Forms.Panel pnlpurple4; + internal System.Windows.Forms.Panel pnlpurple6; + internal System.Windows.Forms.Panel pnlpurple15; + internal System.Windows.Forms.Panel pnlpurple2; + internal System.Windows.Forms.Panel pnlpurple13; + internal System.Windows.Forms.Panel pnlpurple11; + internal System.Windows.Forms.Panel pnlpurple7; + internal System.Windows.Forms.Panel pnlpurple9; + internal System.Windows.Forms.Panel pnlpurple5; + internal System.Windows.Forms.Panel pnlpurple1; + internal System.Windows.Forms.Label lblpurplelevel; + internal System.Windows.Forms.Label Label5; + internal System.Windows.Forms.Panel pnlblueoptions; + internal System.Windows.Forms.Label Label6; + internal System.Windows.Forms.TextBox txtbluesred; + internal System.Windows.Forms.TextBox txtbluesblue; + internal System.Windows.Forms.Label Label4; + internal System.Windows.Forms.Label Label2; + internal System.Windows.Forms.TextBox txtbluesgreen; + internal System.Windows.Forms.Panel pnlblue12; + internal System.Windows.Forms.Panel pnlgreen14; + internal System.Windows.Forms.Panel pnlblue6; + internal System.Windows.Forms.Label Label15; + internal System.Windows.Forms.TextBox txtgreensred; + internal System.Windows.Forms.TextBox txtgreensgreen; + internal System.Windows.Forms.Panel pnlgreen12; + internal System.Windows.Forms.Label Label18; + internal System.Windows.Forms.Panel pnlgreen10; + internal System.Windows.Forms.Panel pnlgreen8; + internal System.Windows.Forms.Panel pnlgreen4; + internal System.Windows.Forms.Panel pnlgreen15; + internal System.Windows.Forms.Panel pnlgreen2; + internal System.Windows.Forms.Panel pnlgreen13; + internal System.Windows.Forms.Panel pnlgreen11; + internal System.Windows.Forms.Panel pnlgreen7; + internal System.Windows.Forms.Panel pnlgreen9; + internal System.Windows.Forms.Panel pnlgreen5; + internal System.Windows.Forms.Panel pnlgreen3; + internal System.Windows.Forms.Label Label16; + internal System.Windows.Forms.Panel pnlgreen6; + internal System.Windows.Forms.Panel pnlgreen1; + internal System.Windows.Forms.Panel pnlblue15; + internal System.Windows.Forms.Panel pnlblue2; + internal System.Windows.Forms.Panel pnlblue13; + internal System.Windows.Forms.Panel pnlblue11; + internal System.Windows.Forms.Panel pnlblue7; + internal System.Windows.Forms.Label lblgreenlevel; + internal System.Windows.Forms.Panel pnlblue9; + internal System.Windows.Forms.Panel pnlblue3; + internal System.Windows.Forms.Panel pnlblue1; + internal System.Windows.Forms.Label lblbluelevel; + internal System.Windows.Forms.Label Label7; + internal System.Windows.Forms.Panel pnlbluecolours; + internal System.Windows.Forms.Panel pnlblue5; + internal System.Windows.Forms.Label Label9; + internal System.Windows.Forms.TextBox txtanysblue; + internal System.Windows.Forms.Panel pnlanyoptions; + internal System.Windows.Forms.Label Label38; + internal System.Windows.Forms.TextBox txtanysgreen; + internal System.Windows.Forms.TextBox txtanysred; + internal System.Windows.Forms.Label Label39; + internal System.Windows.Forms.Label Label40; + internal System.Windows.Forms.Panel pnlany16; + internal System.Windows.Forms.Panel pnlany12; + internal System.Windows.Forms.Panel pnlany14; + internal System.Windows.Forms.Panel pnlany10; + internal System.Windows.Forms.Panel pnlcolorconfirm; + internal System.Windows.Forms.Label lblnewcolourrgb; + internal System.Windows.Forms.Label lblnewcolourname; + internal System.Windows.Forms.Label Label26; + internal System.Windows.Forms.Label Label17; + internal System.Windows.Forms.Label lbloldcolourrgb; + internal System.Windows.Forms.Label lbloldcolourname; + internal System.Windows.Forms.Label Label14; + internal System.Windows.Forms.Panel pnlnewcolour; + internal System.Windows.Forms.Panel pnloldcolour; + internal System.Windows.Forms.Label lblobjecttocolour; + internal System.Windows.Forms.Panel pnlanycustomcolour; + internal System.Windows.Forms.Panel pnlany8; + internal System.Windows.Forms.Label lblcustomshadetut; + internal System.Windows.Forms.TextBox txtcustomgrayshade; + internal System.Windows.Forms.Panel pnlgraycustomcolour; + internal System.Windows.Forms.Panel pnlgray16; + internal System.Windows.Forms.Panel pnlgray12; + internal System.Windows.Forms.Panel pnlgray14; + internal System.Windows.Forms.Panel pnlgray10; + internal System.Windows.Forms.Panel pnlgray8; + internal System.Windows.Forms.Panel pnlgray4; + internal System.Windows.Forms.Panel pnlgray6; + internal System.Windows.Forms.Panel pnlgray15; + internal System.Windows.Forms.Panel pnlgray2; + internal System.Windows.Forms.Panel pnlgray13; + internal System.Windows.Forms.Panel pnlgray11; + internal System.Windows.Forms.Panel pnlgray7; + internal System.Windows.Forms.Panel pnlgray9; + internal System.Windows.Forms.Panel pnlgray5; + internal System.Windows.Forms.Panel pnlgray3; + internal System.Windows.Forms.Panel pnlgraycolours; + internal System.Windows.Forms.Panel pnlgray1; + internal System.Windows.Forms.Label lblgraylevel; + internal System.Windows.Forms.Label Label3; + internal System.Windows.Forms.Panel pnlanycolours; + internal System.Windows.Forms.Panel pnlany4; + internal System.Windows.Forms.Panel pnlany6; + internal System.Windows.Forms.Panel pnlany15; + internal System.Windows.Forms.Panel pnlany2; + internal System.Windows.Forms.Panel pnlany13; + internal System.Windows.Forms.Panel pnlany11; + internal System.Windows.Forms.Panel pnlany7; + internal System.Windows.Forms.Panel pnlany9; + internal System.Windows.Forms.Panel pnlany5; + internal System.Windows.Forms.Panel pnlany3; + internal System.Windows.Forms.Panel pnlany1; + internal System.Windows.Forms.Label lblanylevel; + internal System.Windows.Forms.Label Label1; + internal System.Windows.Forms.TextBox txtgreensblue; + internal System.Windows.Forms.Label Label32; + internal System.Windows.Forms.TextBox txtredsred; + internal System.Windows.Forms.Panel pnlredcustomcolour; + internal System.Windows.Forms.Panel pnlred16; + internal System.Windows.Forms.Panel pnlred12; + internal System.Windows.Forms.Panel pnlred14; + internal System.Windows.Forms.Panel pnlred10; + internal System.Windows.Forms.Panel pnlred8; + internal System.Windows.Forms.Panel pnlred6; + internal System.Windows.Forms.Panel pnlred15; + internal System.Windows.Forms.Panel pnlred2; + internal System.Windows.Forms.Panel pnlred13; + internal System.Windows.Forms.Panel pnlred11; + internal System.Windows.Forms.Panel pnlred7; + internal System.Windows.Forms.Panel pnlred9; + internal System.Windows.Forms.TextBox txtredsblue; + internal System.Windows.Forms.Panel pnlred4; + internal System.Windows.Forms.Panel pnlred5; + internal System.Windows.Forms.Panel pnlbrowncustomcolour; + internal System.Windows.Forms.Panel pnlbrown16; + internal System.Windows.Forms.Panel pnlbrown12; + internal System.Windows.Forms.Panel pnlbrown14; + internal System.Windows.Forms.Panel pnlbrown8; + internal System.Windows.Forms.Label Label29; + internal System.Windows.Forms.TextBox txtbrownsblue; + internal System.Windows.Forms.TextBox txtbrownsred; + internal System.Windows.Forms.Label Label30; + internal System.Windows.Forms.Label Label31; + internal System.Windows.Forms.TextBox txtbrownsgreen; + internal System.Windows.Forms.Panel pnlbrownoptions; + internal System.Windows.Forms.Panel pnlbrowncolours; + internal System.Windows.Forms.Panel pnlbrown10; + internal System.Windows.Forms.Panel pnlbrown4; + internal System.Windows.Forms.Panel pnlbrown6; + internal System.Windows.Forms.Panel pnlbrown15; + internal System.Windows.Forms.Panel pnlbrown2; + internal System.Windows.Forms.Panel pnlbrown13; + internal System.Windows.Forms.Panel pnlbrown11; + internal System.Windows.Forms.Panel pnlbrown7; + internal System.Windows.Forms.Panel pnlbrown9; + internal System.Windows.Forms.Panel pnlbrown5; + internal System.Windows.Forms.Panel pnlbrown3; + internal System.Windows.Forms.Panel pnlbrown1; + internal System.Windows.Forms.Label lblbrownlevel; + internal System.Windows.Forms.Label Label19; + internal System.Windows.Forms.Panel pnlred3; + internal System.Windows.Forms.Panel pnlred1; + internal System.Windows.Forms.Label lblredlevel; + internal System.Windows.Forms.Label Label21; + internal System.Windows.Forms.Label Label33; + internal System.Windows.Forms.Panel pgcontents; + internal System.Windows.Forms.Panel pnlpinkcolours; + internal System.Windows.Forms.Panel pnlpinkoptions; + internal System.Windows.Forms.Label Label35; + internal System.Windows.Forms.TextBox txtpinksgreen; + internal System.Windows.Forms.TextBox txtpinksred; + internal System.Windows.Forms.Label Label36; + internal System.Windows.Forms.Label Label37; + internal System.Windows.Forms.TextBox txtpinksblue; + internal System.Windows.Forms.Panel pnlpinkcustomcolour; + internal System.Windows.Forms.Panel pnlpink16; + internal System.Windows.Forms.Panel pnlpink12; + internal System.Windows.Forms.Panel pnlpink14; + internal System.Windows.Forms.Panel pnlpink10; + internal System.Windows.Forms.Panel pnlpink8; + internal System.Windows.Forms.Panel pnlpink4; + internal System.Windows.Forms.Panel pnlpink6; + internal System.Windows.Forms.Panel pnlpink15; + internal System.Windows.Forms.Panel pnlpink2; + internal System.Windows.Forms.Panel pnlpink13; + internal System.Windows.Forms.Panel pnlpink11; + internal System.Windows.Forms.Panel pnlpink7; + internal System.Windows.Forms.Panel pnlpink9; + internal System.Windows.Forms.Panel pnlpink5; + internal System.Windows.Forms.Panel pnlpink3; + internal System.Windows.Forms.Panel pnlpink1; + internal System.Windows.Forms.Label lblpinklevel; + internal System.Windows.Forms.Label Label23; + internal System.Windows.Forms.Panel pnlredcolours; + internal System.Windows.Forms.Panel pnlredoptions; + internal System.Windows.Forms.Label Label34; + internal System.Windows.Forms.TextBox txtredsgreen; + internal System.Windows.Forms.Panel pnlorangecolours; + internal System.Windows.Forms.Panel pnlorangeoptions; + internal System.Windows.Forms.Label Label25; + internal System.Windows.Forms.TextBox txtorangesblue; + internal System.Windows.Forms.TextBox txtorangesred; + internal System.Windows.Forms.Label Label27; + internal System.Windows.Forms.Label Label28; + internal System.Windows.Forms.TextBox txtorangesgreen; + internal System.Windows.Forms.Panel pnlorangecustomcolour; + internal System.Windows.Forms.Panel pnlorange16; + internal System.Windows.Forms.Panel pnlorange12; + internal System.Windows.Forms.Panel pnlorange14; + internal System.Windows.Forms.Panel pnlorange10; + internal System.Windows.Forms.Panel pnlorange8; + internal System.Windows.Forms.Panel pnlorange4; + internal System.Windows.Forms.Panel pnlorange6; + internal System.Windows.Forms.Panel pnlorange15; + internal System.Windows.Forms.Panel pnlorange2; + internal System.Windows.Forms.Panel pnlorange13; + internal System.Windows.Forms.Panel pnlorange11; + internal System.Windows.Forms.Panel pnlorange7; + internal System.Windows.Forms.Panel pnlorange9; + internal System.Windows.Forms.Panel pnlorange5; + internal System.Windows.Forms.Panel pnlorange3; + internal System.Windows.Forms.Panel pnlorange1; + internal System.Windows.Forms.Label lblorangelevel; + internal System.Windows.Forms.Label Label13; + internal System.Windows.Forms.Panel pnlyellowcolours; + internal System.Windows.Forms.Panel pnlyellowoptions; + internal System.Windows.Forms.Label Label20; + internal System.Windows.Forms.TextBox txtyellowsblue; + internal System.Windows.Forms.TextBox txtyellowsred; + internal System.Windows.Forms.Label Label22; + internal System.Windows.Forms.Label Label24; + internal System.Windows.Forms.TextBox txtyellowsgreen; + internal System.Windows.Forms.Panel pnlyellowcustomcolour; + internal System.Windows.Forms.Panel pnlyellow16; + internal System.Windows.Forms.Panel pnlyellow12; + internal System.Windows.Forms.Panel pnlyellow14; + internal System.Windows.Forms.Panel pnlyellow10; + internal System.Windows.Forms.Panel pnlyellow8; + internal System.Windows.Forms.Panel pnlyellow4; + internal System.Windows.Forms.Panel pnlyellow6; + internal System.Windows.Forms.Panel pnlyellow15; + internal System.Windows.Forms.Panel pnlyellow2; + internal System.Windows.Forms.Panel pnlyellow13; + internal System.Windows.Forms.Panel pnlyellow11; + internal System.Windows.Forms.Panel pnlyellow7; + internal System.Windows.Forms.Panel pnlyellow9; + internal System.Windows.Forms.Panel pnlyellow5; + internal System.Windows.Forms.Panel pnlyellow3; + internal System.Windows.Forms.Panel pnlyellow1; + internal System.Windows.Forms.Label lblyellowlevel; + internal System.Windows.Forms.Label Label11; + internal System.Windows.Forms.Panel pnlgreencolours; + internal System.Windows.Forms.Panel pnlgreenoptions; + internal System.Windows.Forms.Panel pnlgreencustomcolour; + internal System.Windows.Forms.Panel pnlgreen16; + private System.Windows.Forms.Panel pnlcolorgroups; + } +} \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/ColorPicker.cs b/ShiftOS/ShiftOS/Programs/ColorPicker.cs new file mode 100644 index 0000000..f270249 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/ColorPicker.cs @@ -0,0 +1,199 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ShiftOS.Windowing; +using System.Windows.Forms; +using Newtonsoft.Json; + +namespace ShiftOS.Programs +{ + public partial class ColorPicker : Window + { + public ColorPicker() + { + InitializeComponent(); + + ColorDatabase = JsonConvert.DeserializeObject>>>(Properties.Resources.ColorPickerDefaults); + } + + private Dictionary>> ColorDatabase = new Dictionary>>(); + + public string ColorName { get => lblobjecttocolour.Text; set => lblobjecttocolour.Text = value; } + public Action Callback { get; set; } + public Color OldColor { get; set; } = Color.Black; + private int graylevel, redlevel, bluelevel, greenlevel, pinklevel, purplelevel, orangelevel, yellowlevel, brownlevel, anylevel = 0; + + private void pnloldcolour_MouseClick(object sender, MouseEventArgs e) + { + Callback?.Invoke(OldColor); + Close(); + } + + private void pnlnewcolour_MouseClick(object sender, MouseEventArgs e) + { + Callback?.Invoke(pnlnewcolour.BackColor); + Close(); + } + + private void determinecolor(Panel container, int level, string color) + { + if(ColorDatabase.ContainsKey(color)) + { + var colorlistmap = ColorDatabase[color]; + if(colorlistmap.ContainsKey(level)) + { + var colors = colorlistmap[level]; + foreach (Control control in container.Controls.OfType().Where(x => char.IsNumber(x.Name.Last())).OrderBy(x => (int)x.Tag)) + { + if (control is Panel) + { + int tag = (int)control.Tag - 1; + if(tag >= 0 && tag < colors.Count) + { + control.BackColor = colors[tag]; + control.Show(); + } + else + { + control.BackColor = Color.White; + control.Hide(); + } + } + } + + } + } + } + + private void determinelevels() + { + if (CurrentSystem.HasShiftoriumUpgrade("gray")) graylevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("grayshades")) graylevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullgrayshadeset")) graylevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("customgrayshades")) graylevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("basiccustomshade")) anylevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("generalcustomshades")) anylevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("advancedcustomshades")) anylevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("limitlesscustomshades")) anylevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("purple")) purplelevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("purpleshades")) purplelevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullpurpleshadeset")) purplelevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("custompurpleshades")) purplelevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("blue")) bluelevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("blueshades")) bluelevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullblueshadeset")) bluelevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("customblueshades")) bluelevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("green")) greenlevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("greenshades")) greenlevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullgreenshadeset")) greenlevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("customgreenshades")) greenlevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("yellow")) yellowlevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("yellowshades")) yellowlevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullyellowshadeset")) yellowlevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("customyellowshades")) yellowlevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("orange")) orangelevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("orangeshades")) orangelevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullorangeshadeset")) orangelevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("customorangeshades")) orangelevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("brown")) brownlevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("brownshades")) brownlevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullbrownshadeset")) brownlevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("custombrownshades")) brownlevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("red")) redlevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("redshades")) redlevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullredshadeset")) redlevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("customredshades")) redlevel = 4; + if (CurrentSystem.HasShiftoriumUpgrade("pink")) pinklevel = 1; + if (CurrentSystem.HasShiftoriumUpgrade("pinkshades")) pinklevel = 2; + if (CurrentSystem.HasShiftoriumUpgrade("fullpinkshadeset")) pinklevel = 3; + if (CurrentSystem.HasShiftoriumUpgrade("custompinkshades")) pinklevel = 4; + } + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + + foreach(Panel panel in pnlcolorgroups.Controls) + { + foreach(Control child in panel.Controls) + { + if (child is Panel) + { + (child as Panel).BorderStyle = BorderStyle.FixedSingle; + + string name = child.Name; + if(char.IsNumber(name.Last())) + { + string number = string.Join("", name.Where(x => char.IsNumber(x)).ToArray()); + + child.Tag = Convert.ToInt32(number); + + child.MouseClick += (o, a) => + { + pnlnewcolour.BackColor = child.BackColor; + }; + } + } + } + } + } + + protected override void OnDesktopUpdate() + { + base.OnDesktopUpdate(); + + pnloldcolour.BackColor = OldColor; + lbloldcolourname.Text = $"{OldColor.Name} :Name"; + lbloldcolourrgb.Text = $"{OldColor.R} {OldColor.G} {OldColor.B} :RGB"; + + var NewColor = pnlnewcolour.BackColor; + lblnewcolourname.Text = $"{NewColor.Name} :Name"; + lblnewcolourrgb.Text = $"{NewColor.R} {NewColor.G} {NewColor.B} :RGB"; + + // Determine color levels based on Shiftorium state. + determinelevels(); + + // Set color level visibility. + pnlgraycolours.Visible = graylevel > 0; + pnlredcolours.Visible = redlevel > 0; + pnlgreencolours.Visible = greenlevel > 0; + pnlbluecolours.Visible = bluelevel > 0; + pnlorangecolours.Visible = orangelevel > 0; + pnlyellowcolours.Visible = yellowlevel > 0; + pnlpinkcolours.Visible = pinklevel > 0; + pnlpurplecolours.Visible = purplelevel > 0; + pnlbrowncolours.Visible = brownlevel > 0; + pnlanycolours.Visible = anylevel > 0; + + // Set color level text. + lblgraylevel.Text = $"Level {graylevel}"; + lblredlevel.Text = $"Level {redlevel}"; + lblgreenlevel.Text = $"Level {greenlevel}"; + lblbluelevel.Text = $"Level {bluelevel}"; + lblyellowlevel.Text = $"Level {yellowlevel}"; + lblorangelevel.Text = $"Level {orangelevel}"; + lblpinklevel.Text = $"Level {pinklevel}"; + lblpurplelevel.Text = $"Level {purplelevel}"; + lblbrownlevel.Text = $"Level {brownlevel}"; + lblanylevel.Text = $"Level {anylevel}"; + + // Determine the actual colors. + determinecolor(pnlgraycolours, graylevel, "gray"); + determinecolor(pnlredcolours, redlevel, "red"); + determinecolor(pnlgreencolours, greenlevel, "green"); + determinecolor(pnlbluecolours, bluelevel, "blue"); + determinecolor(pnlyellowcolours, yellowlevel, "yellow"); + determinecolor(pnlorangecolours, orangelevel, "orange"); + determinecolor(pnlpinkcolours, pinklevel, "pink"); + determinecolor(pnlpurplecolours, purplelevel, "purple"); + determinecolor(pnlbrowncolours, brownlevel, "brown"); + determinecolor(pnlanycolours, anylevel, "any"); + + } + } +} diff --git a/ShiftOS/ShiftOS/Programs/ColorPicker.resx b/ShiftOS/ShiftOS/Programs/ColorPicker.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/ColorPicker.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/FileSkimmer.Designer.cs b/ShiftOS/ShiftOS/Programs/FileSkimmer.Designer.cs index 576d810..cb84ac7 100644 --- a/ShiftOS/ShiftOS/Programs/FileSkimmer.Designer.cs +++ b/ShiftOS/ShiftOS/Programs/FileSkimmer.Designer.cs @@ -40,9 +40,18 @@ this.ImageList1 = new System.Windows.Forms.ImageList(this.components); this.lvfiles = new System.Windows.Forms.ListView(); this.pgcontents = new System.Windows.Forms.Panel(); + this.pnlopenoptions = new System.Windows.Forms.Panel(); + this.txtfilename = new System.Windows.Forms.TextBox(); + this.lblfilenameprompt = new System.Windows.Forms.Label(); + this.cmbformatchooser = new System.Windows.Forms.ComboBox(); + this.btncancel = new System.Windows.Forms.Button(); + this.btnopen = new System.Windows.Forms.Button(); + this.lbextention = new System.Windows.Forms.Label(); + this.lblcurrentlydisplayingprompt = new System.Windows.Forms.Label(); this.panel4.SuspendLayout(); this.pnloptions.SuspendLayout(); this.pgcontents.SuspendLayout(); + this.pnlopenoptions.SuspendLayout(); this.SuspendLayout(); // // lbllocation @@ -91,6 +100,7 @@ this.btndeletefile.Text = "Delete Folder"; this.btndeletefile.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btndeletefile.UseVisualStyleBackColor = false; + this.btndeletefile.Click += new System.EventHandler(this.btndeletefile_Click); // // btnnewfolder // @@ -106,6 +116,7 @@ this.btnnewfolder.Text = "New Folder"; this.btnnewfolder.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnnewfolder.UseVisualStyleBackColor = false; + this.btnnewfolder.Click += new System.EventHandler(this.btnnewfolder_Click); // // pnlbreak // @@ -113,7 +124,7 @@ this.pnlbreak.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.pnlbreak.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlbreak.ForeColor = System.Drawing.Color.Black; - this.pnlbreak.Location = new System.Drawing.Point(0, 365); + this.pnlbreak.Location = new System.Drawing.Point(0, 323); this.pnlbreak.Name = "pnlbreak"; this.pnlbreak.Size = new System.Drawing.Size(796, 15); this.pnlbreak.TabIndex = 7; @@ -123,7 +134,7 @@ this.pnloptions.Controls.Add(this.btndeletefile); this.pnloptions.Controls.Add(this.btnnewfolder); this.pnloptions.Dock = System.Windows.Forms.DockStyle.Bottom; - this.pnloptions.Location = new System.Drawing.Point(0, 380); + this.pnloptions.Location = new System.Drawing.Point(0, 338); this.pnloptions.Name = "pnloptions"; this.pnloptions.Size = new System.Drawing.Size(796, 38); this.pnloptions.TabIndex = 6; @@ -162,7 +173,7 @@ this.lvfiles.LargeImageList = this.ImageList1; this.lvfiles.Location = new System.Drawing.Point(0, 33); this.lvfiles.Name = "lvfiles"; - this.lvfiles.Size = new System.Drawing.Size(796, 332); + this.lvfiles.Size = new System.Drawing.Size(796, 290); this.lvfiles.TabIndex = 3; this.lvfiles.UseCompatibleStateImageBehavior = false; this.lvfiles.DoubleClick += new System.EventHandler(this.lvfiles_DoubleClick); @@ -172,6 +183,7 @@ this.pgcontents.Controls.Add(this.lvfiles); this.pgcontents.Controls.Add(this.pnlbreak); this.pgcontents.Controls.Add(this.pnloptions); + this.pgcontents.Controls.Add(this.pnlopenoptions); this.pgcontents.Controls.Add(this.panel3); this.pgcontents.Controls.Add(this.panel4); this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill; @@ -180,6 +192,98 @@ this.pgcontents.Size = new System.Drawing.Size(796, 418); this.pgcontents.TabIndex = 25; // + // pnlopenoptions + // + this.pnlopenoptions.Controls.Add(this.txtfilename); + this.pnlopenoptions.Controls.Add(this.lblfilenameprompt); + this.pnlopenoptions.Controls.Add(this.cmbformatchooser); + this.pnlopenoptions.Controls.Add(this.btncancel); + this.pnlopenoptions.Controls.Add(this.btnopen); + this.pnlopenoptions.Controls.Add(this.lbextention); + this.pnlopenoptions.Controls.Add(this.lblcurrentlydisplayingprompt); + this.pnlopenoptions.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pnlopenoptions.Location = new System.Drawing.Point(0, 376); + this.pnlopenoptions.Name = "pnlopenoptions"; + this.pnlopenoptions.Size = new System.Drawing.Size(796, 42); + this.pnlopenoptions.TabIndex = 11; + // + // txtfilename + // + this.txtfilename.BackColor = System.Drawing.Color.White; + this.txtfilename.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtfilename.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtfilename.Location = new System.Drawing.Point(87, 10); + this.txtfilename.Name = "txtfilename"; + this.txtfilename.Size = new System.Drawing.Size(480, 22); + this.txtfilename.TabIndex = 0; + // + // lblfilenameprompt + // + this.lblfilenameprompt.AutoSize = true; + this.lblfilenameprompt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblfilenameprompt.Location = new System.Drawing.Point(6, 13); + this.lblfilenameprompt.Name = "lblfilenameprompt"; + this.lblfilenameprompt.Size = new System.Drawing.Size(73, 16); + this.lblfilenameprompt.TabIndex = 1; + this.lblfilenameprompt.Text = "File Name:"; + // + // cmbformatchooser + // + this.cmbformatchooser.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.cmbformatchooser.FormattingEnabled = true; + this.cmbformatchooser.Location = new System.Drawing.Point(579, 10); + this.cmbformatchooser.Name = "cmbformatchooser"; + this.cmbformatchooser.Size = new System.Drawing.Size(45, 21); + this.cmbformatchooser.TabIndex = 4; + this.cmbformatchooser.SelectedIndexChanged += new System.EventHandler(this.cmbformatchooser_SelectedIndexChanged); + // + // btncancel + // + this.btncancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btncancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btncancel.Location = new System.Drawing.Point(630, 5); + this.btncancel.Name = "btncancel"; + this.btncancel.Size = new System.Drawing.Size(75, 29); + this.btncancel.TabIndex = 4; + this.btncancel.Text = "Cancel"; + this.btncancel.UseVisualStyleBackColor = true; + this.btncancel.Click += new System.EventHandler(this.btncancel_Click); + // + // btnopen + // + this.btnopen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnopen.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnopen.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnopen.Location = new System.Drawing.Point(711, 5); + this.btnopen.Name = "btnopen"; + this.btnopen.Size = new System.Drawing.Size(75, 29); + this.btnopen.TabIndex = 3; + this.btnopen.Text = "Open"; + this.btnopen.UseVisualStyleBackColor = true; + this.btnopen.Click += new System.EventHandler(this.btnopen_Click); + // + // lbextention + // + this.lbextention.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.lbextention.AutoSize = true; + this.lbextention.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbextention.Location = new System.Drawing.Point(573, 3); + this.lbextention.Name = "lbextention"; + this.lbextention.Size = new System.Drawing.Size(51, 31); + this.lbextention.TabIndex = 2; + this.lbextention.Text = ".txt"; + // + // lblcurrentlydisplayingprompt + // + this.lblcurrentlydisplayingprompt.AutoSize = true; + this.lblcurrentlydisplayingprompt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblcurrentlydisplayingprompt.Location = new System.Drawing.Point(8, 13); + this.lblcurrentlydisplayingprompt.Name = "lblcurrentlydisplayingprompt"; + this.lblcurrentlydisplayingprompt.Size = new System.Drawing.Size(360, 16); + this.lblcurrentlydisplayingprompt.TabIndex = 1; + this.lblcurrentlydisplayingprompt.Text = "Currently displaying files to open with the following extention:"; + // // FileSkimmer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -194,6 +298,8 @@ this.panel4.ResumeLayout(false); this.pnloptions.ResumeLayout(false); this.pgcontents.ResumeLayout(false); + this.pnlopenoptions.ResumeLayout(false); + this.pnlopenoptions.PerformLayout(); this.ResumeLayout(false); } @@ -209,5 +315,13 @@ internal System.Windows.Forms.ImageList ImageList1; internal System.Windows.Forms.ListView lvfiles; internal System.Windows.Forms.Panel pgcontents; + internal System.Windows.Forms.Panel pnlopenoptions; + internal System.Windows.Forms.Button btncancel; + internal System.Windows.Forms.Button btnopen; + internal System.Windows.Forms.Label lbextention; + internal System.Windows.Forms.Label lblcurrentlydisplayingprompt; + internal System.Windows.Forms.TextBox txtfilename; + internal System.Windows.Forms.Label lblfilenameprompt; + internal System.Windows.Forms.ComboBox cmbformatchooser; } } \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/FileSkimmer.cs b/ShiftOS/ShiftOS/Programs/FileSkimmer.cs index 811c6c8..c6d6204 100644 --- a/ShiftOS/ShiftOS/Programs/FileSkimmer.cs +++ b/ShiftOS/ShiftOS/Programs/FileSkimmer.cs @@ -9,6 +9,7 @@ using System.Threading.Tasks; using ShiftOS.Metadata; using ShiftOS.Windowing; using System.Windows.Forms; +using System.IO; namespace ShiftOS.Programs { @@ -24,6 +25,21 @@ namespace ShiftOS.Programs InitializeComponent(); } + public FileSkimmerMode Mode { get; set; } = FileSkimmerMode.Skim; + public Func FileOpenCallback { get; set; } + + public void SetFilters(string[] InFilters) + { + cmbformatchooser.Items.Clear(); + foreach(var filter in InFilters) + { + cmbformatchooser.Items.Add(filter); + } + cmbformatchooser.SelectedIndex = 0; + lbextention.Text = InFilters[0]; + } + + private string GetIcon(string extension) { switch(extension) @@ -93,6 +109,10 @@ namespace ShiftOS.Programs // Now onto files. foreach(var file in fs.GetFiles(_working)) { + if (Mode != FileSkimmerMode.Skim) + if (!file.ToLower().EndsWith(lbextention.Text)) + continue; + var fileItem = new ListViewItem(); fileItem.Tag = file; @@ -121,6 +141,59 @@ namespace ShiftOS.Programs // Update the working directory. lbllocation.Text = _working; + pnloptions.Visible = CurrentSystem.HasShiftoriumUpgrade("fsnewfolder") || CurrentSystem.HasShiftoriumUpgrade("fsdelete") && Mode == FileSkimmerMode.Skim; + + btnnewfolder.Visible = CurrentSystem.HasShiftoriumUpgrade("fsnewfolder"); + btndeletefile.Visible = CurrentSystem.HasShiftoriumUpgrade("fsdelete") && lvfiles.SelectedItems.Count > 0 && lvfiles.SelectedItems[0].Tag.ToString() != ".."; + + pnlopenoptions.Visible = Mode == FileSkimmerMode.Open || Mode == FileSkimmerMode.Save; + + pnlbreak.Visible = pnlopenoptions.Visible || pnloptions.Visible; + + switch(Mode) + { + case FileSkimmerMode.Open: + txtfilename.Hide(); + lblfilenameprompt.Hide(); + lblcurrentlydisplayingprompt.Show(); + btnopen.Text = "Open"; + break; + case FileSkimmerMode.Save: + txtfilename.Show(); + lblfilenameprompt.Show(); + lblcurrentlydisplayingprompt.Hide(); + btnopen.Text = "Save"; + break; + } + + if(pnlopenoptions.Visible) + { + if(cmbformatchooser.Items.Count == 1) + { + cmbformatchooser.Hide(); + } + else + { + cmbformatchooser.Show(); + } + lbextention.Text = cmbformatchooser.SelectedItem.ToString(); + } + + if(btndeletefile.Visible) + { + var item = lvfiles.SelectedItems[0]; + if(item.ImageKey == "folder") + { + btndeletefile.Text = "Delete Folder"; + btndeletefile.Image = Properties.Resources.deletefolder; + } + else + { + btndeletefile.Text = "Delete File"; + btndeletefile.Image = Properties.Resources.deletefile; + } + } + base.OnDesktopUpdate(); } @@ -131,7 +204,9 @@ namespace ShiftOS.Programs lvfiles.LargeImageList = ImageList1; lvfiles.SmallImageList = ImageList1; - UpdateFolderList(); + + if(CurrentSystem!=null) + UpdateFolderList(); } private void lvfiles_DoubleClick(object sender, EventArgs e) @@ -157,8 +232,193 @@ namespace ShiftOS.Programs _working = itemTag; UpdateFolderList(); } + else if(fs.FileExists(itemTag)) + { + txtfilename.Text = itemTag.Substring(itemTag.LastIndexOf("/") + 1); + HandleFileOpen(); + } } } } + + private void btnnewfolder_Click(object sender, EventArgs e) + { + string work = this._working; + + CurrentSystem.AskForText("New Folder", "Please enter a name for your new folder.", (name) => + { + if(string.IsNullOrWhiteSpace(name)) + { + CurrentSystem.ShowInfo("New Folder", "The folder name cannot be blank."); + return false; + } + + if (name.Any(x => Path.GetInvalidFileNameChars().Contains(x))) + { + CurrentSystem.ShowInfo("New Folder", "The folder name contains some invalid characters."); + return false; + } + + string path = ""; + if (work.EndsWith("/")) + path = work + name; + else + path = work + "/" + name; + + var fs = CurrentSystem.GetFilesystem(); + + if(fs.DirectoryExists(path)) + { + CurrentSystem.ShowInfo("New Folder", "A folder with that name already exists."); + return false; + } + + fs.CreateDirectory(path); + UpdateFolderList(); + return true; + }); + } + + private void btndeletefile_Click(object sender, EventArgs e) + { + string path = lvfiles.SelectedItems[0].Tag.ToString(); + + if(path.StartsWith("/Shiftum42") || path.StartsWith("/SoftwareData")) + { + CurrentSystem.ShowInfo("Permission denied.", $"You do not have permission to delete {path}."); + return; + } + + var fs = CurrentSystem.GetFilesystem(); + + if(fs.DirectoryExists(path)) + { + CurrentSystem.AskYesNo("Delete folder?", $"Do you erally want to delete {path}?", (answer) => + { + if (answer) + { + fs.DeleteDirectory(path, true); + UpdateFolderList(); + } + }); + } + else if(fs.FileExists(path)) + { + CurrentSystem.AskYesNo("Delete file?", $"Do you erally want to delete {path}?", (answer) => + { + if (answer) + { + fs.DeleteFile(path); + UpdateFolderList(); + } + }); + } + } + + private void btncancel_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void btnopen_Click(object sender, EventArgs e) + { + HandleFileOpen(); + } + + private void HandleFileOpen() + { + var fs = CurrentSystem.GetFilesystem(); + switch(Mode) + { + case FileSkimmerMode.Open: + if(lvfiles.SelectedItems.Count == 0) + { + CurrentSystem.ShowInfo("Open File", "No file has been selected."); + return; + } + string path = lvfiles.SelectedItems[0].Tag.ToString(); + if(fs.FileExists(path)) + { + if(FileOpenCallback?.Invoke(path) == true) + { + Close(); + return; + } + } + else + { + CurrentSystem.ShowInfo("Open File", "File not found."); + return; + } + break; + case FileSkimmerMode.Save: + string work = _working; + string name = txtfilename.Text; + + if(string.IsNullOrWhiteSpace(name)) + { + CurrentSystem.ShowInfo("Save File", "Please enter a file name."); + return; + } + + if(!name.ToLower().EndsWith(lbextention.Text)) + { + name += lbextention.Text; + } + + if(name.Any(x=>Path.GetInvalidFileNameChars().Contains(x))) + { + CurrentSystem.ShowInfo("Save File", "The file name you entered contains some invalid characters."); + return; + } + + string savePath = ""; + if (work.EndsWith("/")) + savePath = work + name; + else + savePath = work + "/" + name; + + if(savePath.StartsWith("/Shiftum42") || savePath.StartsWith("/SoftwareData")) + { + CurrentSystem.ShowInfo("Permission denied.", "You do not have permission to save here."); + return; + } + + if(fs.FileExists(savePath)) + { + CurrentSystem.AskYesNo("Save File - Overwrite?", "A file with that name already exists. Do you want to overwrite it?", (answer) => + { + if(FileOpenCallback?.Invoke(savePath) == true) + { + Close(); + return; + } + }); + return; + } + else + { + if(FileOpenCallback?.Invoke(savePath)==true) + { + Close(); + return; + } + } + break; + } + } + + private void cmbformatchooser_SelectedIndexChanged(object sender, EventArgs e) + { + lbextention.Text = cmbformatchooser.SelectedItem.ToString(); + UpdateFolderList(); + } + } + + public enum FileSkimmerMode + { + Skim, + Open, + Save } } diff --git a/ShiftOS/ShiftOS/Programs/FileSkimmer.resx b/ShiftOS/ShiftOS/Programs/FileSkimmer.resx index 2952219..b9c0c39 100644 --- a/ShiftOS/ShiftOS/Programs/FileSkimmer.resx +++ b/ShiftOS/ShiftOS/Programs/FileSkimmer.resx @@ -125,7 +125,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABG - QQAAAk1TRnQBSQFMAgEBFAEAAbgBAQG4AQEBKgEAASoBAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + QQAAAk1TRnQBSQFMAgEBFAEAAdgBAQHYAQEBKgEAASoBAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABqAMAAfwDAAEBAQABCAUAAWABpRgAAYACAAGAAwACgAEAAYADAAGAAQABgAEAAoACAAPAAQABwAHc AcABAAHwAcoBpgEAATMFAAEzAQABMwEAATMBAAIzAgADFgEAAxwBAAMiAQADKQEAA1UBAANNAQADQgEA AzkBAAGAAXwB/wEAAlAB/wEAAZMBAAHWAQAB/wHsAcwBAAHGAdYB7wEAAdYC5wEAAZABqQGtAgAB/wEz diff --git a/ShiftOS/ShiftOS/Programs/GraphicPicker.Designer.cs b/ShiftOS/ShiftOS/Programs/GraphicPicker.Designer.cs new file mode 100644 index 0000000..c2d2eff --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/GraphicPicker.Designer.cs @@ -0,0 +1,271 @@ +namespace ShiftOS.Programs +{ + partial class GraphicPicker + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.btncancel = new System.Windows.Forms.Button(); + this.btnreset = new System.Windows.Forms.Button(); + this.btnapply = new System.Windows.Forms.Button(); + this.Label2 = new System.Windows.Forms.Label(); + this.btnidlebrowse = new System.Windows.Forms.Button(); + this.txtidlefile = new System.Windows.Forms.TextBox(); + this.picidle = new System.Windows.Forms.PictureBox(); + this.btnzoom = new System.Windows.Forms.Button(); + this.btnstretch = new System.Windows.Forms.Button(); + this.lblobjecttoskin = new System.Windows.Forms.Label(); + this.picgraphic = new System.Windows.Forms.PictureBox(); + this.btncentre = new System.Windows.Forms.Button(); + this.btntile = new System.Windows.Forms.Button(); + this.pnlgraphicholder = new System.Windows.Forms.Panel(); + this.pgcontents = new System.Windows.Forms.Panel(); + ((System.ComponentModel.ISupportInitialize)(this.picidle)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picgraphic)).BeginInit(); + this.pnlgraphicholder.SuspendLayout(); + this.pgcontents.SuspendLayout(); + this.SuspendLayout(); + // + // btncancel + // + this.btncancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btncancel.Location = new System.Drawing.Point(19, 298); + this.btncancel.Name = "btncancel"; + this.btncancel.Size = new System.Drawing.Size(109, 32); + this.btncancel.TabIndex = 23; + this.btncancel.Text = "Cancel"; + this.btncancel.UseVisualStyleBackColor = true; + this.btncancel.Click += new System.EventHandler(this.btncancel_Click); + // + // btnreset + // + this.btnreset.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.btnreset.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnreset.Location = new System.Drawing.Point(134, 298); + this.btnreset.Name = "btnreset"; + this.btnreset.Size = new System.Drawing.Size(109, 32); + this.btnreset.TabIndex = 22; + this.btnreset.Text = "Reset"; + this.btnreset.UseVisualStyleBackColor = true; + this.btnreset.Click += new System.EventHandler(this.btnreset_Click); + // + // btnapply + // + this.btnapply.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.btnapply.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnapply.Location = new System.Drawing.Point(249, 298); + this.btnapply.Name = "btnapply"; + this.btnapply.Size = new System.Drawing.Size(118, 32); + this.btnapply.TabIndex = 21; + this.btnapply.Text = "Apply"; + this.btnapply.UseVisualStyleBackColor = true; + this.btnapply.Click += new System.EventHandler(this.btnapply_Click); + // + // Label2 + // + this.Label2.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label2.Location = new System.Drawing.Point(124, 215); + this.Label2.Name = "Label2"; + this.Label2.Size = new System.Drawing.Size(163, 28); + this.Label2.TabIndex = 12; + this.Label2.Text = "Idle"; + this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // btnidlebrowse + // + this.btnidlebrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnidlebrowse.Location = new System.Drawing.Point(294, 215); + this.btnidlebrowse.Name = "btnidlebrowse"; + this.btnidlebrowse.Size = new System.Drawing.Size(73, 60); + this.btnidlebrowse.TabIndex = 10; + this.btnidlebrowse.Text = "Browse"; + this.btnidlebrowse.UseVisualStyleBackColor = true; + this.btnidlebrowse.Click += new System.EventHandler(this.btnidlebrowse_Click); + // + // txtidlefile + // + this.txtidlefile.BackColor = System.Drawing.Color.White; + this.txtidlefile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtidlefile.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtidlefile.Location = new System.Drawing.Point(124, 246); + this.txtidlefile.Multiline = true; + this.txtidlefile.Name = "txtidlefile"; + this.txtidlefile.Size = new System.Drawing.Size(163, 29); + this.txtidlefile.TabIndex = 9; + this.txtidlefile.Text = "None"; + this.txtidlefile.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // picidle + // + this.picidle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.picidle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.picidle.Location = new System.Drawing.Point(18, 215); + this.picidle.Name = "picidle"; + this.picidle.Size = new System.Drawing.Size(100, 60); + this.picidle.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.picidle.TabIndex = 8; + this.picidle.TabStop = false; + // + // btnzoom + // + this.btnzoom.BackgroundImage = global::ShiftOS.Properties.Resources.zoombutton; + this.btnzoom.FlatAppearance.BorderColor = System.Drawing.Color.Black; + this.btnzoom.FlatAppearance.BorderSize = 0; + this.btnzoom.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnzoom.Location = new System.Drawing.Point(286, 144); + this.btnzoom.Name = "btnzoom"; + this.btnzoom.Size = new System.Drawing.Size(82, 65); + this.btnzoom.TabIndex = 7; + this.btnzoom.UseVisualStyleBackColor = true; + this.btnzoom.Click += new System.EventHandler(this.btnzoom_Click); + // + // btnstretch + // + this.btnstretch.BackgroundImage = global::ShiftOS.Properties.Resources.stretchbutton; + this.btnstretch.FlatAppearance.BorderColor = System.Drawing.Color.Black; + this.btnstretch.FlatAppearance.BorderSize = 0; + this.btnstretch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnstretch.Location = new System.Drawing.Point(197, 144); + this.btnstretch.Name = "btnstretch"; + this.btnstretch.Size = new System.Drawing.Size(82, 65); + this.btnstretch.TabIndex = 6; + this.btnstretch.UseVisualStyleBackColor = true; + this.btnstretch.Click += new System.EventHandler(this.btnstretch_Click); + // + // lblobjecttoskin + // + this.lblobjecttoskin.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblobjecttoskin.Location = new System.Drawing.Point(19, 9); + this.lblobjecttoskin.Name = "lblobjecttoskin"; + this.lblobjecttoskin.Size = new System.Drawing.Size(350, 23); + this.lblobjecttoskin.TabIndex = 2; + this.lblobjecttoskin.Text = "Close Button"; + this.lblobjecttoskin.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // picgraphic + // + this.picgraphic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.picgraphic.Location = new System.Drawing.Point(0, 0); + this.picgraphic.Name = "picgraphic"; + this.picgraphic.Size = new System.Drawing.Size(350, 100); + this.picgraphic.TabIndex = 0; + this.picgraphic.TabStop = false; + // + // btncentre + // + this.btncentre.BackgroundImage = global::ShiftOS.Properties.Resources.centrebutton; + this.btncentre.FlatAppearance.BorderColor = System.Drawing.Color.Black; + this.btncentre.FlatAppearance.BorderSize = 0; + this.btncentre.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btncentre.Location = new System.Drawing.Point(108, 144); + this.btncentre.Name = "btncentre"; + this.btncentre.Size = new System.Drawing.Size(82, 65); + this.btncentre.TabIndex = 5; + this.btncentre.UseVisualStyleBackColor = true; + this.btncentre.Click += new System.EventHandler(this.btncentre_Click); + // + // btntile + // + this.btntile.BackgroundImage = global::ShiftOS.Properties.Resources.tilebutton; + this.btntile.FlatAppearance.BorderColor = System.Drawing.Color.Black; + this.btntile.FlatAppearance.BorderSize = 0; + this.btntile.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btntile.Location = new System.Drawing.Point(19, 144); + this.btntile.Name = "btntile"; + this.btntile.Size = new System.Drawing.Size(82, 65); + this.btntile.TabIndex = 4; + this.btntile.UseVisualStyleBackColor = true; + this.btntile.Click += new System.EventHandler(this.btntile_Click); + // + // pnlgraphicholder + // + this.pnlgraphicholder.Controls.Add(this.picgraphic); + this.pnlgraphicholder.Location = new System.Drawing.Point(19, 38); + this.pnlgraphicholder.Name = "pnlgraphicholder"; + this.pnlgraphicholder.Size = new System.Drawing.Size(350, 100); + this.pnlgraphicholder.TabIndex = 3; + // + // pgcontents + // + this.pgcontents.BackColor = System.Drawing.Color.White; + this.pgcontents.Controls.Add(this.btncancel); + this.pgcontents.Controls.Add(this.btnreset); + this.pgcontents.Controls.Add(this.btnapply); + this.pgcontents.Controls.Add(this.Label2); + this.pgcontents.Controls.Add(this.btnidlebrowse); + this.pgcontents.Controls.Add(this.txtidlefile); + this.pgcontents.Controls.Add(this.picidle); + this.pgcontents.Controls.Add(this.btnzoom); + this.pgcontents.Controls.Add(this.btnstretch); + this.pgcontents.Controls.Add(this.btncentre); + this.pgcontents.Controls.Add(this.btntile); + this.pgcontents.Controls.Add(this.pnlgraphicholder); + this.pgcontents.Controls.Add(this.lblobjecttoskin); + this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill; + this.pgcontents.Location = new System.Drawing.Point(2, 30); + this.pgcontents.Name = "pgcontents"; + this.pgcontents.Size = new System.Drawing.Size(386, 346); + this.pgcontents.TabIndex = 25; + // + // GraphicPicker + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(390, 378); + this.Controls.Add(this.pgcontents); + this.Name = "GraphicPicker"; + this.Text = "GraphicPicker"; + this.WindowIcon = global::ShiftOS.Properties.Resources.icongraphicpicker; + this.WindowTitle = "Graphic Picker"; + this.Controls.SetChildIndex(this.pgcontents, 0); + ((System.ComponentModel.ISupportInitialize)(this.picidle)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picgraphic)).EndInit(); + this.pnlgraphicholder.ResumeLayout(false); + this.pgcontents.ResumeLayout(false); + this.pgcontents.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + internal System.Windows.Forms.Button btncancel; + internal System.Windows.Forms.Button btnreset; + internal System.Windows.Forms.Button btnapply; + internal System.Windows.Forms.Label Label2; + internal System.Windows.Forms.Button btnidlebrowse; + internal System.Windows.Forms.TextBox txtidlefile; + internal System.Windows.Forms.PictureBox picidle; + internal System.Windows.Forms.Button btnzoom; + internal System.Windows.Forms.Button btnstretch; + internal System.Windows.Forms.Label lblobjecttoskin; + internal System.Windows.Forms.PictureBox picgraphic; + internal System.Windows.Forms.Button btncentre; + internal System.Windows.Forms.Button btntile; + internal System.Windows.Forms.Panel pnlgraphicholder; + internal System.Windows.Forms.Panel pgcontents; + } +} \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/GraphicPicker.cs b/ShiftOS/ShiftOS/Programs/GraphicPicker.cs new file mode 100644 index 0000000..1fbacba --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/GraphicPicker.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ShiftOS.Windowing; +using System.Windows.Forms; + +namespace ShiftOS.Programs +{ + public partial class GraphicPicker : Window + { + public Image CurrentGraphic { get; set; } + public ImageLayout CurrentLayout { get; set; } = ImageLayout.Center; + public Action Callback { get; set; } + public string GraphicName { get => lblobjecttoskin.Text; set => lblobjecttoskin.Text = value; } + + public GraphicPicker() + { + InitializeComponent(); + } + + protected override void OnDesktopUpdate() + { + picgraphic.BackgroundImage = CurrentGraphic; + picgraphic.BackgroundImageLayout = CurrentLayout; + + picidle.BackgroundImage = CurrentGraphic; + picidle.BackgroundImageLayout = CurrentLayout; + + btntile.BackgroundImage = (CurrentLayout == ImageLayout.Tile) ? Properties.Resources.tilebuttonpressed : Properties.Resources.tilebutton; + btncentre.BackgroundImage = (CurrentLayout == ImageLayout.Center) ? Properties.Resources.centrebuttonpressed : Properties.Resources.centrebutton; + btnstretch.BackgroundImage = (CurrentLayout == ImageLayout.Stretch) ? Properties.Resources.stretchbuttonpressed : Properties.Resources.stretchbutton; + btnzoom.BackgroundImage = (CurrentLayout == ImageLayout.Zoom) ? Properties.Resources.zoombuttonpressed : Properties.Resources.zoombutton; + + base.OnDesktopUpdate(); + } + + private void btnidlebrowse_Click(object sender, EventArgs e) + { + CurrentSystem.AskForFile(new[] + { + ".pic", + ".png", + ".jpg", + ".jpeg", + ".bmp", + ".gif" + }, false, (path) => + { + try + { + if (CurrentGraphic != null) + CurrentGraphic.Dispose(); + CurrentGraphic = CurrentSystem.GetFilesystem().LoadImage(path); + return true; + } + catch + { + CurrentSystem.ShowInfo("Graphic Picker", "Graphic Picker could not open the graphic you selected."); + return false; + } + }); + } + + private void btntile_Click(object sender, EventArgs e) + { + CurrentLayout = ImageLayout.Tile; + } + + private void btncentre_Click(object sender, EventArgs e) + { + CurrentLayout = ImageLayout.Center; + } + + private void btnstretch_Click(object sender, EventArgs e) + { + CurrentLayout = ImageLayout.Stretch; + } + + private void btnzoom_Click(object sender, EventArgs e) + { + CurrentLayout = ImageLayout.Zoom; + } + + private void btncancel_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void btnreset_Click(object sender, EventArgs e) + { + CurrentGraphic = null; + CurrentLayout = ImageLayout.Center; + } + + private void btnapply_Click(object sender, EventArgs e) + { + Callback?.Invoke(CurrentGraphic, CurrentLayout); + Close(); + } + } +} diff --git a/ShiftOS/ShiftOS/Programs/GraphicPicker.resx b/ShiftOS/ShiftOS/Programs/GraphicPicker.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/GraphicPicker.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/Infobox.Designer.cs b/ShiftOS/ShiftOS/Programs/Infobox.Designer.cs new file mode 100644 index 0000000..ff73612 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/Infobox.Designer.cs @@ -0,0 +1,196 @@ +namespace ShiftOS.Programs +{ + partial class Infobox + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.lblintructtext = new System.Windows.Forms.Label(); + this.pboximage = new System.Windows.Forms.PictureBox(); + this.txtmessage = new System.Windows.Forms.Label(); + this.btnok = new System.Windows.Forms.Button(); + this.txtuserinput = new System.Windows.Forms.TextBox(); + this.pnlyesno = new System.Windows.Forms.Panel(); + this.btnno = new System.Windows.Forms.Button(); + this.btnyes = new System.Windows.Forms.Button(); + this.pgcontents = new System.Windows.Forms.Panel(); + ((System.ComponentModel.ISupportInitialize)(this.pboximage)).BeginInit(); + this.pnlyesno.SuspendLayout(); + this.pgcontents.SuspendLayout(); + this.SuspendLayout(); + // + // lblintructtext + // + this.lblintructtext.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Right))); + this.lblintructtext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.lblintructtext.Location = new System.Drawing.Point(101, 7); + this.lblintructtext.Name = "lblintructtext"; + this.lblintructtext.Size = new System.Drawing.Size(256, 44); + this.lblintructtext.TabIndex = 9; + this.lblintructtext.Text = "Please enter a name for your new folder:\r\nOr \r\nDie\r\n"; + this.lblintructtext.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.lblintructtext.Visible = false; + // + // pboximage + // + this.pboximage.Image = global::ShiftOS.Properties.Resources.Symbolinfo; + this.pboximage.Location = new System.Drawing.Point(12, 7); + this.pboximage.Name = "pboximage"; + this.pboximage.Size = new System.Drawing.Size(80, 70); + this.pboximage.TabIndex = 0; + this.pboximage.TabStop = false; + // + // txtmessage + // + this.txtmessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtmessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtmessage.Location = new System.Drawing.Point(98, 7); + this.txtmessage.Name = "txtmessage"; + this.txtmessage.Size = new System.Drawing.Size(266, 70); + this.txtmessage.TabIndex = 2; + this.txtmessage.Text = "It appears that this application may be infected. It is highly recommended that y" + + "ou close it immediatly with a terminal emulator such as Sterm. To close this app" + + "lication just type \"Close\"\r\n"; + this.txtmessage.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // btnok + // + this.btnok.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.btnok.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnok.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnok.ForeColor = System.Drawing.Color.Black; + this.btnok.Location = new System.Drawing.Point(134, 86); + this.btnok.Name = "btnok"; + this.btnok.Size = new System.Drawing.Size(105, 30); + this.btnok.TabIndex = 7; + this.btnok.TabStop = false; + this.btnok.Text = "Ok"; + this.btnok.UseVisualStyleBackColor = true; + this.btnok.Click += new System.EventHandler(this.btnok_Click); + // + // txtuserinput + // + this.txtuserinput.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.txtuserinput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtuserinput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtuserinput.Location = new System.Drawing.Point(101, 54); + this.txtuserinput.Multiline = true; + this.txtuserinput.Name = "txtuserinput"; + this.txtuserinput.Size = new System.Drawing.Size(256, 23); + this.txtuserinput.TabIndex = 8; + this.txtuserinput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.txtuserinput.Visible = false; + // + // pnlyesno + // + this.pnlyesno.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pnlyesno.Controls.Add(this.btnno); + this.pnlyesno.Controls.Add(this.btnyes); + this.pnlyesno.Location = new System.Drawing.Point(57, 83); + this.pnlyesno.Name = "pnlyesno"; + this.pnlyesno.Size = new System.Drawing.Size(265, 33); + this.pnlyesno.TabIndex = 10; + this.pnlyesno.Visible = false; + // + // btnno + // + this.btnno.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnno.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnno.ForeColor = System.Drawing.Color.Black; + this.btnno.Location = new System.Drawing.Point(142, 2); + this.btnno.Name = "btnno"; + this.btnno.Size = new System.Drawing.Size(105, 30); + this.btnno.TabIndex = 9; + this.btnno.TabStop = false; + this.btnno.Text = "No"; + this.btnno.UseVisualStyleBackColor = true; + this.btnno.Click += new System.EventHandler(this.btnno_Click); + // + // btnyes + // + this.btnyes.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnyes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnyes.ForeColor = System.Drawing.Color.Black; + this.btnyes.Location = new System.Drawing.Point(29, 2); + this.btnyes.Name = "btnyes"; + this.btnyes.Size = new System.Drawing.Size(105, 30); + this.btnyes.TabIndex = 8; + this.btnyes.TabStop = false; + this.btnyes.Text = "Yes"; + this.btnyes.UseVisualStyleBackColor = true; + this.btnyes.Click += new System.EventHandler(this.btnyes_Click); + // + // pgcontents + // + this.pgcontents.BackColor = System.Drawing.Color.White; + this.pgcontents.Controls.Add(this.pnlyesno); + this.pgcontents.Controls.Add(this.txtuserinput); + this.pgcontents.Controls.Add(this.btnok); + this.pgcontents.Controls.Add(this.txtmessage); + this.pgcontents.Controls.Add(this.pboximage); + this.pgcontents.Controls.Add(this.lblintructtext); + this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill; + this.pgcontents.Location = new System.Drawing.Point(2, 30); + this.pgcontents.Name = "pgcontents"; + this.pgcontents.Size = new System.Drawing.Size(367, 122); + this.pgcontents.TabIndex = 25; + // + // Infobox + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(371, 154); + this.Controls.Add(this.pgcontents); + this.Name = "Infobox"; + this.Text = "Infobox"; + this.WindowIcon = global::ShiftOS.Properties.Resources.iconInfoBox_fw; + this.WindowTitle = "Info"; + this.Controls.SetChildIndex(this.pgcontents, 0); + ((System.ComponentModel.ISupportInitialize)(this.pboximage)).EndInit(); + this.pnlyesno.ResumeLayout(false); + this.pgcontents.ResumeLayout(false); + this.pgcontents.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + internal System.Windows.Forms.Label lblintructtext; + internal System.Windows.Forms.PictureBox pboximage; + internal System.Windows.Forms.Label txtmessage; + internal System.Windows.Forms.Button btnok; + internal System.Windows.Forms.TextBox txtuserinput; + internal System.Windows.Forms.Panel pnlyesno; + internal System.Windows.Forms.Button btnno; + internal System.Windows.Forms.Button btnyes; + internal System.Windows.Forms.Panel pgcontents; + } +} \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/Infobox.cs b/ShiftOS/ShiftOS/Programs/Infobox.cs new file mode 100644 index 0000000..3854bc4 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/Infobox.cs @@ -0,0 +1,102 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ShiftOS.Windowing; +using System.Windows.Forms; +using System.Media; + +namespace ShiftOS.Programs +{ + public partial class Infobox : Window + { + public Infobox() + { + InitializeComponent(); + } + + public string Info { get => txtmessage.Text; set => txtmessage.Text = value; } + public InfoboxMode Mode { get; set; } = InfoboxMode.Regular; + + public Func TextSubmitted { get; set; } + public Action ChoiceMade { get; set; } + + protected override void OnLoad(EventArgs e) + { + using (var sp = new SoundPlayer(Properties.Resources.infobox)) + { + sp.Play(); + } + + base.OnLoad(e); + } + + protected override void OnDesktopUpdate() + { + switch (Mode) + { + case InfoboxMode.Regular: + pnlyesno.Hide(); + txtuserinput.Hide(); + break; + case InfoboxMode.YesNo: + pnlyesno.Show(); + txtuserinput.Hide(); + break; + case InfoboxMode.TextInput: + pnlyesno.Hide(); + txtuserinput.Show(); + break; + } + + base.OnDesktopUpdate(); + } + + private void btnok_Click(object sender, EventArgs e) + { + if(Mode == InfoboxMode.TextInput) + { + if(TextSubmitted == null) + { + Close(); + return; + } + + bool result = TextSubmitted.Invoke(txtuserinput.Text); + + if(result) + { + Close(); + return; + } + } + else + { + Close(); + } + } + + private void btnyes_Click(object sender, EventArgs e) + { + ChoiceMade?.Invoke(true); + Close(); + } + + private void btnno_Click(object sender, EventArgs e) + { + ChoiceMade?.Invoke(false); + Close(); + } + } + + public enum InfoboxMode + { + Regular, + YesNo, + TextInput + } +} diff --git a/ShiftOS/ShiftOS/Programs/Infobox.resx b/ShiftOS/ShiftOS/Programs/Infobox.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/Infobox.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/Shifter.Designer.cs b/ShiftOS/ShiftOS/Programs/Shifter.Designer.cs new file mode 100644 index 0000000..316c78b --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/Shifter.Designer.cs @@ -0,0 +1,3823 @@ +namespace ShiftOS.Programs +{ + partial class Shifter + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Shifter)); + this.Label80 = new System.Windows.Forms.Label(); + this.txticonfromtop = new System.Windows.Forms.TextBox(); + this.Label81 = new System.Windows.Forms.Label(); + this.Label78 = new System.Windows.Forms.Label(); + this.txticonfromside = new System.Windows.Forms.TextBox(); + this.Label79 = new System.Windows.Forms.Label(); + this.lbcornerwidthpx = new System.Windows.Forms.Label(); + this.txttitlebarcornerwidth = new System.Windows.Forms.TextBox(); + this.lbcornerwidth = new System.Windows.Forms.Label(); + this.pnltitlebarrightcornercolour = new System.Windows.Forms.Panel(); + this.pnltitlebarleftcornercolour = new System.Windows.Forms.Panel(); + this.lbrightcornercolor = new System.Windows.Forms.Label(); + this.lbleftcornercolor = new System.Windows.Forms.Label(); + this.cboxtitlebarcorners = new System.Windows.Forms.CheckBox(); + this.Label5 = new System.Windows.Forms.Label(); + this.txttitlebarheight = new System.Windows.Forms.TextBox(); + this.Label4 = new System.Windows.Forms.Label(); + this.pnltitlebarcolour = new System.Windows.Forms.Panel(); + this.combotitletextposition = new System.Windows.Forms.ComboBox(); + this.Label2 = new System.Windows.Forms.Label(); + this.cbindividualbordercolours = new System.Windows.Forms.CheckBox(); + this.pnlbuttonoptions = new System.Windows.Forms.Panel(); + this.pnlrollupbuttonoptions = new System.Windows.Forms.Panel(); + this.Label54 = new System.Windows.Forms.Label(); + this.Label55 = new System.Windows.Forms.Label(); + this.pnlrollupbuttoncolour = new System.Windows.Forms.Panel(); + this.txtrollupbuttonside = new System.Windows.Forms.TextBox(); + this.Label56 = new System.Windows.Forms.Label(); + this.Label57 = new System.Windows.Forms.Label(); + this.txtrollupbuttonheight = new System.Windows.Forms.TextBox(); + this.Label58 = new System.Windows.Forms.Label(); + this.Label59 = new System.Windows.Forms.Label(); + this.txtrollupbuttontop = new System.Windows.Forms.TextBox(); + this.Label60 = new System.Windows.Forms.Label(); + this.Label61 = new System.Windows.Forms.Label(); + this.txtrollupbuttonwidth = new System.Windows.Forms.TextBox(); + this.Label62 = new System.Windows.Forms.Label(); + this.pnlminimizebuttonoptions = new System.Windows.Forms.Panel(); + this.Label82 = new System.Windows.Forms.Label(); + this.Label83 = new System.Windows.Forms.Label(); + this.pnlminimizebuttoncolour = new System.Windows.Forms.Panel(); + this.txtminimizebuttonside = new System.Windows.Forms.TextBox(); + this.Label84 = new System.Windows.Forms.Label(); + this.Label85 = new System.Windows.Forms.Label(); + this.txtminimizebuttonheight = new System.Windows.Forms.TextBox(); + this.Label86 = new System.Windows.Forms.Label(); + this.Label87 = new System.Windows.Forms.Label(); + this.txtminimizebuttontop = new System.Windows.Forms.TextBox(); + this.Label88 = new System.Windows.Forms.Label(); + this.Label89 = new System.Windows.Forms.Label(); + this.txtminimizebuttonwidth = new System.Windows.Forms.TextBox(); + this.Label90 = new System.Windows.Forms.Label(); + this.pnlclosebuttonoptions = new System.Windows.Forms.Panel(); + this.Label8 = new System.Windows.Forms.Label(); + this.Label11 = new System.Windows.Forms.Label(); + this.pnlclosebuttoncolour = new System.Windows.Forms.Panel(); + this.txtclosebuttonfromside = new System.Windows.Forms.TextBox(); + this.Label7 = new System.Windows.Forms.Label(); + this.Label12 = new System.Windows.Forms.Label(); + this.txtclosebuttonheight = new System.Windows.Forms.TextBox(); + this.Label13 = new System.Windows.Forms.Label(); + this.Label6 = new System.Windows.Forms.Label(); + this.txtclosebuttonfromtop = new System.Windows.Forms.TextBox(); + this.Label10 = new System.Windows.Forms.Label(); + this.Label14 = new System.Windows.Forms.Label(); + this.txtclosebuttonwidth = new System.Windows.Forms.TextBox(); + this.Label9 = new System.Windows.Forms.Label(); + this.TitleButtonChoiceHolder = new System.Windows.Forms.Panel(); + this.combobuttonoption = new System.Windows.Forms.ComboBox(); + this.Label52 = new System.Windows.Forms.Label(); + this.btndesktoppanel = new System.Windows.Forms.Button(); + this.pnlborderbottomrightcolour = new System.Windows.Forms.Panel(); + this.Label77 = new System.Windows.Forms.Label(); + this.pnlborderbottomcolour = new System.Windows.Forms.Panel(); + this.Label76 = new System.Windows.Forms.Label(); + this.pnlborderbottomleftcolour = new System.Windows.Forms.Panel(); + this.Label75 = new System.Windows.Forms.Label(); + this.pnlborderrightcolour = new System.Windows.Forms.Panel(); + this.Label74 = new System.Windows.Forms.Label(); + this.pnlborderleftcolour = new System.Windows.Forms.Panel(); + this.Label73 = new System.Windows.Forms.Label(); + this.Label15 = new System.Windows.Forms.Label(); + this.pnlbordercolour = new System.Windows.Forms.Panel(); + this.txtbordersize = new System.Windows.Forms.TextBox(); + this.Label3 = new System.Windows.Forms.Label(); + this.Label16 = new System.Windows.Forms.Label(); + this.pnltitlebaroptions = new System.Windows.Forms.Panel(); + this.pnlwindowsoptions = new System.Windows.Forms.Panel(); + this.pnlwindowpreview = new System.Windows.Forms.Panel(); + this.PreviewTitleBar = new System.Windows.Forms.Panel(); + this.PreviewIconBox = new System.Windows.Forms.PictureBox(); + this.PreviewTitleText = new System.Windows.Forms.Label(); + this.PreviewMinimize = new System.Windows.Forms.Panel(); + this.PreviewRoll = new System.Windows.Forms.Panel(); + this.PreviewClose = new System.Windows.Forms.Panel(); + this.PreviewTitleRight = new System.Windows.Forms.Panel(); + this.PreviewTitleLeft = new System.Windows.Forms.Panel(); + this.PreviewBottom = new System.Windows.Forms.Panel(); + this.PreviewBottomRight = new System.Windows.Forms.Panel(); + this.PreviewBottomLeft = new System.Windows.Forms.Panel(); + this.PreviewLeft = new System.Windows.Forms.Panel(); + this.PreviewRight = new System.Windows.Forms.Panel(); + this.WindowOptionPositioner = new System.Windows.Forms.Panel(); + this.pnlborderoptions = new System.Windows.Forms.Panel(); + this.pnltitletextoptions = new System.Windows.Forms.Panel(); + this.Label53 = new System.Windows.Forms.Label(); + this.combotitletextstyle = new System.Windows.Forms.ComboBox(); + this.combotitletextfont = new System.Windows.Forms.ComboBox(); + this.Label23 = new System.Windows.Forms.Label(); + this.Label17 = new System.Windows.Forms.Label(); + this.txttitletextside = new System.Windows.Forms.TextBox(); + this.Label18 = new System.Windows.Forms.Label(); + this.Label19 = new System.Windows.Forms.Label(); + this.txttitletexttop = new System.Windows.Forms.TextBox(); + this.Label20 = new System.Windows.Forms.Label(); + this.Label21 = new System.Windows.Forms.Label(); + this.txttitletextsize = new System.Windows.Forms.TextBox(); + this.Label22 = new System.Windows.Forms.Label(); + this.Label24 = new System.Windows.Forms.Label(); + this.pnltitletextcolour = new System.Windows.Forms.Panel(); + this.Label25 = new System.Windows.Forms.Label(); + this.pnlwindowsintro = new System.Windows.Forms.Panel(); + this.Label68 = new System.Windows.Forms.Label(); + this.Label67 = new System.Windows.Forms.Label(); + this.pnlwindowsobjects = new System.Windows.Forms.Panel(); + this.btnborders = new System.Windows.Forms.Button(); + this.btnbuttons = new System.Windows.Forms.Button(); + this.btntitletext = new System.Windows.Forms.Button(); + this.btntitlebar = new System.Windows.Forms.Button(); + this.btnapplauncher = new System.Windows.Forms.Button(); + this.pgcontents = new System.Windows.Forms.Panel(); + this.pnldesktopoptions = new System.Windows.Forms.Panel(); + this.pnldesktoppreview = new System.Windows.Forms.Panel(); + this.predesktoppanel = new System.Windows.Forms.Panel(); + this.prepnlpanelbuttonholder = new System.Windows.Forms.FlowLayoutPanel(); + this.prepnlpanelbutton = new System.Windows.Forms.Panel(); + this.pretbicon = new System.Windows.Forms.PictureBox(); + this.pretbctext = new System.Windows.Forms.Label(); + this.pretimepanel = new System.Windows.Forms.Panel(); + this.prepaneltimetext = new System.Windows.Forms.Label(); + this.preapplaunchermenuholder = new System.Windows.Forms.Panel(); + this.predesktopappmenu = new System.Windows.Forms.MenuStrip(); + this.ApplicationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.KnowledgeInputToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShiftoriumToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ClockToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.TerminalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShifterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.ShutdownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.DesktopOptionsPositioner = new System.Windows.Forms.Panel(); + this.pnlapplauncheroptions = new System.Windows.Forms.Panel(); + this.btnshowlauncheritems = new System.Windows.Forms.Button(); + this.Label71 = new System.Windows.Forms.Label(); + this.txtapplauncherwidth = new System.Windows.Forms.TextBox(); + this.Label72 = new System.Windows.Forms.Label(); + this.txtappbuttonlabel = new System.Windows.Forms.TextBox(); + this.Label51 = new System.Windows.Forms.Label(); + this.Label50 = new System.Windows.Forms.Label(); + this.pnlmaintextcolour = new System.Windows.Forms.Panel(); + this.comboappbuttontextstyle = new System.Windows.Forms.ComboBox(); + this.comboappbuttontextfont = new System.Windows.Forms.ComboBox(); + this.Label37 = new System.Windows.Forms.Label(); + this.Label38 = new System.Windows.Forms.Label(); + this.txtappbuttontextsize = new System.Windows.Forms.TextBox(); + this.Label39 = new System.Windows.Forms.Label(); + this.Label40 = new System.Windows.Forms.Label(); + this.pnlmenuitemsmouseover = new System.Windows.Forms.Panel(); + this.Label41 = new System.Windows.Forms.Label(); + this.pnlmenuitemscolour = new System.Windows.Forms.Panel(); + this.Label42 = new System.Windows.Forms.Label(); + this.pnlmainbuttonactivated = new System.Windows.Forms.Panel(); + this.Label28 = new System.Windows.Forms.Label(); + this.Label35 = new System.Windows.Forms.Label(); + this.txtapplicationsbuttonheight = new System.Windows.Forms.TextBox(); + this.Label36 = new System.Windows.Forms.Label(); + this.pnlmainbuttoncolour = new System.Windows.Forms.Panel(); + this.Label43 = new System.Windows.Forms.Label(); + this.pnllauncheritems = new System.Windows.Forms.Panel(); + this.launcheritemtxtcolour = new System.Windows.Forms.Panel(); + this.Label116 = new System.Windows.Forms.Label(); + this.launcheritemstyle = new System.Windows.Forms.ComboBox(); + this.Label115 = new System.Windows.Forms.Label(); + this.launcheritemfont = new System.Windows.Forms.ComboBox(); + this.Label114 = new System.Windows.Forms.Label(); + this.txtlauncheritemtxtsize = new System.Windows.Forms.TextBox(); + this.Label107 = new System.Windows.Forms.Label(); + this.pnlpanelclockoptions = new System.Windows.Forms.Panel(); + this.pnlclockbackgroundcolour = new System.Windows.Forms.Panel(); + this.Label44 = new System.Windows.Forms.Label(); + this.comboclocktextstyle = new System.Windows.Forms.ComboBox(); + this.comboclocktextfont = new System.Windows.Forms.ComboBox(); + this.Label26 = new System.Windows.Forms.Label(); + this.Label29 = new System.Windows.Forms.Label(); + this.txtclocktextfromtop = new System.Windows.Forms.TextBox(); + this.Label30 = new System.Windows.Forms.Label(); + this.Label31 = new System.Windows.Forms.Label(); + this.txtclocktextsize = new System.Windows.Forms.TextBox(); + this.Label32 = new System.Windows.Forms.Label(); + this.Label33 = new System.Windows.Forms.Label(); + this.pnlpanelclocktextcolour = new System.Windows.Forms.Panel(); + this.Label34 = new System.Windows.Forms.Label(); + this.pnldesktopbackgroundoptions = new System.Windows.Forms.Panel(); + this.pnldesktopcolour = new System.Windows.Forms.Panel(); + this.Label45 = new System.Windows.Forms.Label(); + this.pnldesktoppaneloptions = new System.Windows.Forms.Panel(); + this.btnpanelbuttons = new System.Windows.Forms.Button(); + this.Label27 = new System.Windows.Forms.Label(); + this.combodesktoppanelposition = new System.Windows.Forms.ComboBox(); + this.Label46 = new System.Windows.Forms.Label(); + this.Label47 = new System.Windows.Forms.Label(); + this.txtdesktoppanelheight = new System.Windows.Forms.TextBox(); + this.Label48 = new System.Windows.Forms.Label(); + this.pnldesktoppanelcolour = new System.Windows.Forms.Panel(); + this.Label49 = new System.Windows.Forms.Label(); + this.pnldesktopintro = new System.Windows.Forms.Panel(); + this.Label69 = new System.Windows.Forms.Label(); + this.Label70 = new System.Windows.Forms.Label(); + this.pnlpanelbuttonsoptions = new System.Windows.Forms.Panel(); + this.pnlpanelbuttontextcolour = new System.Windows.Forms.Panel(); + this.Label101 = new System.Windows.Forms.Label(); + this.txtpanelbuttontexttop = new System.Windows.Forms.TextBox(); + this.Label104 = new System.Windows.Forms.Label(); + this.txtpanelbuttontextside = new System.Windows.Forms.TextBox(); + this.Label106 = new System.Windows.Forms.Label(); + this.Label93 = new System.Windows.Forms.Label(); + this.txtpanelbuttontop = new System.Windows.Forms.TextBox(); + this.Label94 = new System.Windows.Forms.Label(); + this.txtpanelbuttoninitalgap = new System.Windows.Forms.TextBox(); + this.Label108 = new System.Windows.Forms.Label(); + this.txtpanelbuttonicontop = new System.Windows.Forms.TextBox(); + this.Label110 = new System.Windows.Forms.Label(); + this.txtpanelbuttoniconside = new System.Windows.Forms.TextBox(); + this.Label112 = new System.Windows.Forms.Label(); + this.txtpanelbuttoniconsize = new System.Windows.Forms.TextBox(); + this.Label105 = new System.Windows.Forms.Label(); + this.cbpanelbuttontextstyle = new System.Windows.Forms.ComboBox(); + this.cbpanelbuttonfont = new System.Windows.Forms.ComboBox(); + this.Label100 = new System.Windows.Forms.Label(); + this.txtpanelbuttontextsize = new System.Windows.Forms.TextBox(); + this.Label102 = new System.Windows.Forms.Label(); + this.Label103 = new System.Windows.Forms.Label(); + this.Label98 = new System.Windows.Forms.Label(); + this.txtpanelbuttongap = new System.Windows.Forms.TextBox(); + this.Label99 = new System.Windows.Forms.Label(); + this.Label96 = new System.Windows.Forms.Label(); + this.txtpanelbuttonheight = new System.Windows.Forms.TextBox(); + this.Label97 = new System.Windows.Forms.Label(); + this.Label92 = new System.Windows.Forms.Label(); + this.txtpanelbuttonwidth = new System.Windows.Forms.TextBox(); + this.Label91 = new System.Windows.Forms.Label(); + this.pnlpanelbuttoncolour = new System.Windows.Forms.Panel(); + this.Label95 = new System.Windows.Forms.Label(); + this.pnldesktopcategories = new System.Windows.Forms.Panel(); + this.btndesktopitself = new System.Windows.Forms.Button(); + this.btnpanelclock = new System.Windows.Forms.Button(); + this.pnlreset = new System.Windows.Forms.Panel(); + this.Label113 = new System.Windows.Forms.Label(); + this.btnresetallsettings = new System.Windows.Forms.Button(); + this.Label109 = new System.Windows.Forms.Label(); + this.Label111 = new System.Windows.Forms.Label(); + this.pnlshifterintro = new System.Windows.Forms.Panel(); + this.Label66 = new System.Windows.Forms.Label(); + this.Label65 = new System.Windows.Forms.Label(); + this.Label64 = new System.Windows.Forms.Label(); + this.Label63 = new System.Windows.Forms.Label(); + this.catholder = new System.Windows.Forms.Panel(); + this.btnapply = new System.Windows.Forms.Button(); + this.btnreset = new System.Windows.Forms.Button(); + this.btnwindows = new System.Windows.Forms.Button(); + this.btndesktop = new System.Windows.Forms.Button(); + this.Label1 = new System.Windows.Forms.Label(); + this.pnlbuttonoptions.SuspendLayout(); + this.pnlrollupbuttonoptions.SuspendLayout(); + this.pnlminimizebuttonoptions.SuspendLayout(); + this.pnlclosebuttonoptions.SuspendLayout(); + this.TitleButtonChoiceHolder.SuspendLayout(); + this.pnltitlebaroptions.SuspendLayout(); + this.pnlwindowsoptions.SuspendLayout(); + this.pnlwindowpreview.SuspendLayout(); + this.PreviewTitleBar.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.PreviewIconBox)).BeginInit(); + this.PreviewBottom.SuspendLayout(); + this.WindowOptionPositioner.SuspendLayout(); + this.pnlborderoptions.SuspendLayout(); + this.pnltitletextoptions.SuspendLayout(); + this.pnlwindowsintro.SuspendLayout(); + this.pnlwindowsobjects.SuspendLayout(); + this.pgcontents.SuspendLayout(); + this.pnldesktopoptions.SuspendLayout(); + this.pnldesktoppreview.SuspendLayout(); + this.predesktoppanel.SuspendLayout(); + this.prepnlpanelbuttonholder.SuspendLayout(); + this.prepnlpanelbutton.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pretbicon)).BeginInit(); + this.pretimepanel.SuspendLayout(); + this.preapplaunchermenuholder.SuspendLayout(); + this.predesktopappmenu.SuspendLayout(); + this.DesktopOptionsPositioner.SuspendLayout(); + this.pnlapplauncheroptions.SuspendLayout(); + this.pnllauncheritems.SuspendLayout(); + this.pnlpanelclockoptions.SuspendLayout(); + this.pnldesktopbackgroundoptions.SuspendLayout(); + this.pnldesktoppaneloptions.SuspendLayout(); + this.pnldesktopintro.SuspendLayout(); + this.pnlpanelbuttonsoptions.SuspendLayout(); + this.pnldesktopcategories.SuspendLayout(); + this.pnlreset.SuspendLayout(); + this.pnlshifterintro.SuspendLayout(); + this.catholder.SuspendLayout(); + this.SuspendLayout(); + // + // Label80 + // + this.Label80.AutoSize = true; + this.Label80.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label80.Location = new System.Drawing.Point(277, 105); + this.Label80.Name = "Label80"; + this.Label80.Size = new System.Drawing.Size(22, 16); + this.Label80.TabIndex = 19; + this.Label80.Tag = "TitleIconsInstalled"; + this.Label80.Text = "px"; + // + // txticonfromtop + // + this.txticonfromtop.BackColor = System.Drawing.Color.White; + this.txticonfromtop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txticonfromtop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txticonfromtop.ForeColor = System.Drawing.Color.Black; + this.txticonfromtop.Location = new System.Drawing.Point(253, 103); + this.txticonfromtop.Name = "txticonfromtop"; + this.txticonfromtop.Size = new System.Drawing.Size(23, 22); + this.txticonfromtop.TabIndex = 18; + this.txticonfromtop.Tag = "TitleIconsInstalled"; + this.txticonfromtop.TextChanged += new System.EventHandler(this.txticonfromtop_TextChanged); + // + // Label81 + // + this.Label81.AutoSize = true; + this.Label81.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label81.Location = new System.Drawing.Point(157, 105); + this.Label81.Name = "Label81"; + this.Label81.Size = new System.Drawing.Size(98, 16); + this.Label81.TabIndex = 17; + this.Label81.Tag = "TitleIconsInstalled"; + this.Label81.Text = "Icon From Top:"; + // + // Label78 + // + this.Label78.AutoSize = true; + this.Label78.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label78.Location = new System.Drawing.Point(128, 105); + this.Label78.Name = "Label78"; + this.Label78.Size = new System.Drawing.Size(22, 16); + this.Label78.TabIndex = 16; + this.Label78.Tag = "TitleIconsInstalled"; + this.Label78.Text = "px"; + // + // txticonfromside + // + this.txticonfromside.BackColor = System.Drawing.Color.White; + this.txticonfromside.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txticonfromside.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txticonfromside.ForeColor = System.Drawing.Color.Black; + this.txticonfromside.Location = new System.Drawing.Point(104, 103); + this.txticonfromside.Name = "txticonfromside"; + this.txticonfromside.Size = new System.Drawing.Size(23, 22); + this.txticonfromside.TabIndex = 15; + this.txticonfromside.Tag = "TitleIconsInstalled"; + this.txticonfromside.TextChanged += new System.EventHandler(this.txticonfromside_TextChanged); + // + // Label79 + // + this.Label79.AutoSize = true; + this.Label79.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label79.Location = new System.Drawing.Point(3, 105); + this.Label79.Name = "Label79"; + this.Label79.Size = new System.Drawing.Size(101, 16); + this.Label79.TabIndex = 14; + this.Label79.Tag = "TitleIconsInstalled"; + this.Label79.Text = "Icon From Side:"; + // + // lbcornerwidthpx + // + this.lbcornerwidthpx.AutoSize = true; + this.lbcornerwidthpx.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbcornerwidthpx.Location = new System.Drawing.Point(277, 32); + this.lbcornerwidthpx.Name = "lbcornerwidthpx"; + this.lbcornerwidthpx.Size = new System.Drawing.Size(22, 16); + this.lbcornerwidthpx.TabIndex = 13; + this.lbcornerwidthpx.Tag = "TitleCornerOptions"; + this.lbcornerwidthpx.Text = "px"; + // + // txttitlebarcornerwidth + // + this.txttitlebarcornerwidth.BackColor = System.Drawing.Color.White; + this.txttitlebarcornerwidth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txttitlebarcornerwidth.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txttitlebarcornerwidth.ForeColor = System.Drawing.Color.Black; + this.txttitlebarcornerwidth.Location = new System.Drawing.Point(253, 30); + this.txttitlebarcornerwidth.Name = "txttitlebarcornerwidth"; + this.txttitlebarcornerwidth.Size = new System.Drawing.Size(23, 22); + this.txttitlebarcornerwidth.TabIndex = 12; + this.txttitlebarcornerwidth.Tag = "TitleCornerOptions"; + this.txttitlebarcornerwidth.TextChanged += new System.EventHandler(this.txttitlebarcornerwidth_TextChanged); + // + // lbcornerwidth + // + this.lbcornerwidth.AutoSize = true; + this.lbcornerwidth.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbcornerwidth.Location = new System.Drawing.Point(163, 32); + this.lbcornerwidth.Name = "lbcornerwidth"; + this.lbcornerwidth.Size = new System.Drawing.Size(88, 16); + this.lbcornerwidth.TabIndex = 11; + this.lbcornerwidth.Tag = "TitleCornerOptions"; + this.lbcornerwidth.Text = "Corner Width:"; + // + // pnltitlebarrightcornercolour + // + this.pnltitlebarrightcornercolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnltitlebarrightcornercolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnltitlebarrightcornercolour.Location = new System.Drawing.Point(136, 80); + this.pnltitlebarrightcornercolour.Name = "pnltitlebarrightcornercolour"; + this.pnltitlebarrightcornercolour.Size = new System.Drawing.Size(41, 20); + this.pnltitlebarrightcornercolour.TabIndex = 10; + this.pnltitlebarrightcornercolour.Tag = "TitleCornerOptions"; + this.pnltitlebarrightcornercolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnltitlebarrightcornercolour_MouseClick); + // + // pnltitlebarleftcornercolour + // + this.pnltitlebarleftcornercolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnltitlebarleftcornercolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnltitlebarleftcornercolour.Location = new System.Drawing.Point(126, 56); + this.pnltitlebarleftcornercolour.Name = "pnltitlebarleftcornercolour"; + this.pnltitlebarleftcornercolour.Size = new System.Drawing.Size(41, 20); + this.pnltitlebarleftcornercolour.TabIndex = 8; + this.pnltitlebarleftcornercolour.Tag = "TitleCornerOptions"; + this.pnltitlebarleftcornercolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnltitlebarleftcornercolour_MouseClick); + // + // lbrightcornercolor + // + this.lbrightcornercolor.AutoSize = true; + this.lbrightcornercolor.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbrightcornercolor.Location = new System.Drawing.Point(3, 81); + this.lbrightcornercolor.Name = "lbrightcornercolor"; + this.lbrightcornercolor.Size = new System.Drawing.Size(127, 16); + this.lbrightcornercolor.TabIndex = 9; + this.lbrightcornercolor.Tag = "TitleCornerOptions"; + this.lbrightcornercolor.Text = "Right Corner Colour:"; + // + // lbleftcornercolor + // + this.lbleftcornercolor.AutoSize = true; + this.lbleftcornercolor.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbleftcornercolor.Location = new System.Drawing.Point(3, 57); + this.lbleftcornercolor.Name = "lbleftcornercolor"; + this.lbleftcornercolor.Size = new System.Drawing.Size(117, 16); + this.lbleftcornercolor.TabIndex = 7; + this.lbleftcornercolor.Tag = "TitleCornerOptions"; + this.lbleftcornercolor.Text = "Left Corner Colour:"; + // + // cboxtitlebarcorners + // + this.cboxtitlebarcorners.AutoSize = true; + this.cboxtitlebarcorners.FlatAppearance.BorderColor = System.Drawing.Color.Black; + this.cboxtitlebarcorners.FlatAppearance.CheckedBackColor = System.Drawing.Color.Black; + this.cboxtitlebarcorners.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.cboxtitlebarcorners.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.25F); + this.cboxtitlebarcorners.Location = new System.Drawing.Point(166, 4); + this.cboxtitlebarcorners.Name = "cboxtitlebarcorners"; + this.cboxtitlebarcorners.Size = new System.Drawing.Size(131, 21); + this.cboxtitlebarcorners.TabIndex = 6; + this.cboxtitlebarcorners.Text = "Title Bar Corners"; + this.cboxtitlebarcorners.UseVisualStyleBackColor = true; + this.cboxtitlebarcorners.CheckedChanged += new System.EventHandler(this.cboxtitlebarcorners_CheckedChanged); + // + // Label5 + // + this.Label5.AutoSize = true; + this.Label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label5.Location = new System.Drawing.Point(136, 32); + this.Label5.Name = "Label5"; + this.Label5.Size = new System.Drawing.Size(22, 16); + this.Label5.TabIndex = 5; + this.Label5.Text = "px"; + // + // txttitlebarheight + // + this.txttitlebarheight.BackColor = System.Drawing.Color.White; + this.txttitlebarheight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txttitlebarheight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txttitlebarheight.ForeColor = System.Drawing.Color.Black; + this.txttitlebarheight.Location = new System.Drawing.Point(112, 30); + this.txttitlebarheight.Name = "txttitlebarheight"; + this.txttitlebarheight.Size = new System.Drawing.Size(23, 22); + this.txttitlebarheight.TabIndex = 4; + this.txttitlebarheight.TextChanged += new System.EventHandler(this.txttitlebarheight_TextChanged); + // + // Label4 + // + this.Label4.AutoSize = true; + this.Label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label4.Location = new System.Drawing.Point(3, 32); + this.Label4.Name = "Label4"; + this.Label4.Size = new System.Drawing.Size(103, 16); + this.Label4.TabIndex = 2; + this.Label4.Text = "Title Bar Height:"; + // + // pnltitlebarcolour + // + this.pnltitlebarcolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnltitlebarcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnltitlebarcolour.Location = new System.Drawing.Point(112, 5); + this.pnltitlebarcolour.Name = "pnltitlebarcolour"; + this.pnltitlebarcolour.Size = new System.Drawing.Size(41, 20); + this.pnltitlebarcolour.TabIndex = 1; + this.pnltitlebarcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnltitlebarcolour_MouseClick); + // + // combotitletextposition + // + this.combotitletextposition.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.combotitletextposition.FormattingEnabled = true; + this.combotitletextposition.Items.AddRange(new object[] { + "Left", + "Centre"}); + this.combotitletextposition.Location = new System.Drawing.Point(211, 54); + this.combotitletextposition.Name = "combotitletextposition"; + this.combotitletextposition.Size = new System.Drawing.Size(95, 24); + this.combotitletextposition.TabIndex = 21; + this.combotitletextposition.SelectedIndexChanged += new System.EventHandler(this.combotitletextposition_SelectedIndexChanged); + // + // Label2 + // + this.Label2.AutoSize = true; + this.Label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label2.Location = new System.Drawing.Point(3, 7); + this.Label2.Name = "Label2"; + this.Label2.Size = new System.Drawing.Size(103, 16); + this.Label2.TabIndex = 0; + this.Label2.Text = "Title Bar Colour:"; + // + // cbindividualbordercolours + // + this.cbindividualbordercolours.AutoSize = true; + this.cbindividualbordercolours.FlatAppearance.BorderColor = System.Drawing.Color.Black; + this.cbindividualbordercolours.FlatAppearance.CheckedBackColor = System.Drawing.Color.Black; + this.cbindividualbordercolours.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.cbindividualbordercolours.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.25F); + this.cbindividualbordercolours.Location = new System.Drawing.Point(161, 4); + this.cbindividualbordercolours.Name = "cbindividualbordercolours"; + this.cbindividualbordercolours.Size = new System.Drawing.Size(135, 21); + this.cbindividualbordercolours.TabIndex = 28; + this.cbindividualbordercolours.Text = "Individual Colours"; + this.cbindividualbordercolours.UseVisualStyleBackColor = true; + this.cbindividualbordercolours.CheckedChanged += new System.EventHandler(this.cbindividualbordercolours_CheckedChanged); + // + // pnlbuttonoptions + // + this.pnlbuttonoptions.Controls.Add(this.pnlrollupbuttonoptions); + this.pnlbuttonoptions.Controls.Add(this.pnlminimizebuttonoptions); + this.pnlbuttonoptions.Controls.Add(this.pnlclosebuttonoptions); + this.pnlbuttonoptions.Controls.Add(this.TitleButtonChoiceHolder); + this.pnlbuttonoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlbuttonoptions.Location = new System.Drawing.Point(128, 0); + this.pnlbuttonoptions.Name = "pnlbuttonoptions"; + this.pnlbuttonoptions.Size = new System.Drawing.Size(342, 143); + this.pnlbuttonoptions.TabIndex = 10; + this.pnlbuttonoptions.Visible = false; + // + // pnlrollupbuttonoptions + // + this.pnlrollupbuttonoptions.Controls.Add(this.Label54); + this.pnlrollupbuttonoptions.Controls.Add(this.Label55); + this.pnlrollupbuttonoptions.Controls.Add(this.pnlrollupbuttoncolour); + this.pnlrollupbuttonoptions.Controls.Add(this.txtrollupbuttonside); + this.pnlrollupbuttonoptions.Controls.Add(this.Label56); + this.pnlrollupbuttonoptions.Controls.Add(this.Label57); + this.pnlrollupbuttonoptions.Controls.Add(this.txtrollupbuttonheight); + this.pnlrollupbuttonoptions.Controls.Add(this.Label58); + this.pnlrollupbuttonoptions.Controls.Add(this.Label59); + this.pnlrollupbuttonoptions.Controls.Add(this.txtrollupbuttontop); + this.pnlrollupbuttonoptions.Controls.Add(this.Label60); + this.pnlrollupbuttonoptions.Controls.Add(this.Label61); + this.pnlrollupbuttonoptions.Controls.Add(this.txtrollupbuttonwidth); + this.pnlrollupbuttonoptions.Controls.Add(this.Label62); + this.pnlrollupbuttonoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlrollupbuttonoptions.Location = new System.Drawing.Point(0, 33); + this.pnlrollupbuttonoptions.Name = "pnlrollupbuttonoptions"; + this.pnlrollupbuttonoptions.Size = new System.Drawing.Size(342, 110); + this.pnlrollupbuttonoptions.TabIndex = 16; + this.pnlrollupbuttonoptions.Visible = false; + // + // Label54 + // + this.Label54.AutoSize = true; + this.Label54.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label54.Location = new System.Drawing.Point(3, 6); + this.Label54.Name = "Label54"; + this.Label54.Size = new System.Drawing.Size(138, 16); + this.Label54.TabIndex = 0; + this.Label54.Text = "Roll Up Button Colour:"; + // + // Label55 + // + this.Label55.AutoSize = true; + this.Label55.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label55.Location = new System.Drawing.Point(188, 82); + this.Label55.Name = "Label55"; + this.Label55.Size = new System.Drawing.Size(22, 16); + this.Label55.TabIndex = 14; + this.Label55.Text = "px"; + // + // pnlrollupbuttoncolour + // + this.pnlrollupbuttoncolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnlrollupbuttoncolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlrollupbuttoncolour.Location = new System.Drawing.Point(143, 4); + this.pnlrollupbuttoncolour.Name = "pnlrollupbuttoncolour"; + this.pnlrollupbuttoncolour.Size = new System.Drawing.Size(41, 20); + this.pnlrollupbuttoncolour.TabIndex = 1; + this.pnlrollupbuttoncolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlrollupbuttoncolour_MouseClick); + // + // txtrollupbuttonside + // + this.txtrollupbuttonside.BackColor = System.Drawing.Color.White; + this.txtrollupbuttonside.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtrollupbuttonside.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtrollupbuttonside.ForeColor = System.Drawing.Color.Black; + this.txtrollupbuttonside.Location = new System.Drawing.Point(164, 80); + this.txtrollupbuttonside.Name = "txtrollupbuttonside"; + this.txtrollupbuttonside.Size = new System.Drawing.Size(23, 22); + this.txtrollupbuttonside.TabIndex = 13; + this.txtrollupbuttonside.TextChanged += new System.EventHandler(this.txtrollupbuttonside_TextChanged); + // + // Label56 + // + this.Label56.AutoSize = true; + this.Label56.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label56.Location = new System.Drawing.Point(3, 32); + this.Label56.Name = "Label56"; + this.Label56.Size = new System.Drawing.Size(138, 16); + this.Label56.TabIndex = 2; + this.Label56.Text = "Roll Up Button Height:"; + // + // Label57 + // + this.Label57.AutoSize = true; + this.Label57.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label57.Location = new System.Drawing.Point(3, 82); + this.Label57.Name = "Label57"; + this.Label57.Size = new System.Drawing.Size(161, 16); + this.Label57.TabIndex = 12; + this.Label57.Text = "Roll Up Button From Side:"; + // + // txtrollupbuttonheight + // + this.txtrollupbuttonheight.BackColor = System.Drawing.Color.White; + this.txtrollupbuttonheight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtrollupbuttonheight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtrollupbuttonheight.ForeColor = System.Drawing.Color.Black; + this.txtrollupbuttonheight.Location = new System.Drawing.Point(143, 30); + this.txtrollupbuttonheight.Name = "txtrollupbuttonheight"; + this.txtrollupbuttonheight.Size = new System.Drawing.Size(23, 22); + this.txtrollupbuttonheight.TabIndex = 4; + this.txtrollupbuttonheight.TextChanged += new System.EventHandler(this.txtrollupbuttonheight_TextChanged); + // + // Label58 + // + this.Label58.AutoSize = true; + this.Label58.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label58.Location = new System.Drawing.Point(188, 57); + this.Label58.Name = "Label58"; + this.Label58.Size = new System.Drawing.Size(22, 16); + this.Label58.TabIndex = 11; + this.Label58.Text = "px"; + // + // Label59 + // + this.Label59.AutoSize = true; + this.Label59.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label59.Location = new System.Drawing.Point(167, 32); + this.Label59.Name = "Label59"; + this.Label59.Size = new System.Drawing.Size(22, 16); + this.Label59.TabIndex = 5; + this.Label59.Text = "px"; + // + // txtrollupbuttontop + // + this.txtrollupbuttontop.BackColor = System.Drawing.Color.White; + this.txtrollupbuttontop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtrollupbuttontop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtrollupbuttontop.ForeColor = System.Drawing.Color.Black; + this.txtrollupbuttontop.Location = new System.Drawing.Point(164, 55); + this.txtrollupbuttontop.Name = "txtrollupbuttontop"; + this.txtrollupbuttontop.Size = new System.Drawing.Size(23, 22); + this.txtrollupbuttontop.TabIndex = 10; + this.txtrollupbuttontop.TextChanged += new System.EventHandler(this.txtrollupbuttontop_TextChanged); + // + // Label60 + // + this.Label60.AutoSize = true; + this.Label60.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label60.Location = new System.Drawing.Point(195, 32); + this.Label60.Name = "Label60"; + this.Label60.Size = new System.Drawing.Size(45, 16); + this.Label60.TabIndex = 6; + this.Label60.Text = "Width:"; + // + // Label61 + // + this.Label61.AutoSize = true; + this.Label61.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label61.Location = new System.Drawing.Point(3, 57); + this.Label61.Name = "Label61"; + this.Label61.Size = new System.Drawing.Size(158, 16); + this.Label61.TabIndex = 9; + this.Label61.Text = "Roll Up Button From Top:"; + // + // txtrollupbuttonwidth + // + this.txtrollupbuttonwidth.BackColor = System.Drawing.Color.White; + this.txtrollupbuttonwidth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtrollupbuttonwidth.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtrollupbuttonwidth.ForeColor = System.Drawing.Color.Black; + this.txtrollupbuttonwidth.Location = new System.Drawing.Point(245, 30); + this.txtrollupbuttonwidth.Name = "txtrollupbuttonwidth"; + this.txtrollupbuttonwidth.Size = new System.Drawing.Size(23, 22); + this.txtrollupbuttonwidth.TabIndex = 7; + this.txtrollupbuttonwidth.TextChanged += new System.EventHandler(this.txtrollupbuttonwidth_TextChanged); + // + // Label62 + // + this.Label62.AutoSize = true; + this.Label62.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label62.Location = new System.Drawing.Point(269, 32); + this.Label62.Name = "Label62"; + this.Label62.Size = new System.Drawing.Size(22, 16); + this.Label62.TabIndex = 8; + this.Label62.Text = "px"; + // + // pnlminimizebuttonoptions + // + this.pnlminimizebuttonoptions.Controls.Add(this.Label82); + this.pnlminimizebuttonoptions.Controls.Add(this.Label83); + this.pnlminimizebuttonoptions.Controls.Add(this.pnlminimizebuttoncolour); + this.pnlminimizebuttonoptions.Controls.Add(this.txtminimizebuttonside); + this.pnlminimizebuttonoptions.Controls.Add(this.Label84); + this.pnlminimizebuttonoptions.Controls.Add(this.Label85); + this.pnlminimizebuttonoptions.Controls.Add(this.txtminimizebuttonheight); + this.pnlminimizebuttonoptions.Controls.Add(this.Label86); + this.pnlminimizebuttonoptions.Controls.Add(this.Label87); + this.pnlminimizebuttonoptions.Controls.Add(this.txtminimizebuttontop); + this.pnlminimizebuttonoptions.Controls.Add(this.Label88); + this.pnlminimizebuttonoptions.Controls.Add(this.Label89); + this.pnlminimizebuttonoptions.Controls.Add(this.txtminimizebuttonwidth); + this.pnlminimizebuttonoptions.Controls.Add(this.Label90); + this.pnlminimizebuttonoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlminimizebuttonoptions.Location = new System.Drawing.Point(0, 33); + this.pnlminimizebuttonoptions.Name = "pnlminimizebuttonoptions"; + this.pnlminimizebuttonoptions.Size = new System.Drawing.Size(342, 110); + this.pnlminimizebuttonoptions.TabIndex = 18; + this.pnlminimizebuttonoptions.Visible = false; + // + // Label82 + // + this.Label82.AutoSize = true; + this.Label82.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label82.Location = new System.Drawing.Point(3, 6); + this.Label82.Name = "Label82"; + this.Label82.Size = new System.Drawing.Size(145, 16); + this.Label82.TabIndex = 0; + this.Label82.Text = "Minimize Button Colour:"; + // + // Label83 + // + this.Label83.AutoSize = true; + this.Label83.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label83.Location = new System.Drawing.Point(196, 82); + this.Label83.Name = "Label83"; + this.Label83.Size = new System.Drawing.Size(22, 16); + this.Label83.TabIndex = 14; + this.Label83.Text = "px"; + // + // pnlminimizebuttoncolour + // + this.pnlminimizebuttoncolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnlminimizebuttoncolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlminimizebuttoncolour.Location = new System.Drawing.Point(149, 4); + this.pnlminimizebuttoncolour.Name = "pnlminimizebuttoncolour"; + this.pnlminimizebuttoncolour.Size = new System.Drawing.Size(41, 20); + this.pnlminimizebuttoncolour.TabIndex = 1; + this.pnlminimizebuttoncolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlminimizebuttoncolour_MouseClick); + // + // txtminimizebuttonside + // + this.txtminimizebuttonside.BackColor = System.Drawing.Color.White; + this.txtminimizebuttonside.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtminimizebuttonside.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtminimizebuttonside.ForeColor = System.Drawing.Color.Black; + this.txtminimizebuttonside.Location = new System.Drawing.Point(172, 80); + this.txtminimizebuttonside.Name = "txtminimizebuttonside"; + this.txtminimizebuttonside.Size = new System.Drawing.Size(23, 22); + this.txtminimizebuttonside.TabIndex = 13; + this.txtminimizebuttonside.TextChanged += new System.EventHandler(this.txtminimizebuttonside_TextChanged); + // + // Label84 + // + this.Label84.AutoSize = true; + this.Label84.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label84.Location = new System.Drawing.Point(3, 32); + this.Label84.Name = "Label84"; + this.Label84.Size = new System.Drawing.Size(145, 16); + this.Label84.TabIndex = 2; + this.Label84.Text = "Minimize Button Height:"; + // + // Label85 + // + this.Label85.AutoSize = true; + this.Label85.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label85.Location = new System.Drawing.Point(3, 82); + this.Label85.Name = "Label85"; + this.Label85.Size = new System.Drawing.Size(168, 16); + this.Label85.TabIndex = 12; + this.Label85.Text = "Minimize Button From Side:"; + // + // txtminimizebuttonheight + // + this.txtminimizebuttonheight.BackColor = System.Drawing.Color.White; + this.txtminimizebuttonheight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtminimizebuttonheight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtminimizebuttonheight.ForeColor = System.Drawing.Color.Black; + this.txtminimizebuttonheight.Location = new System.Drawing.Point(150, 30); + this.txtminimizebuttonheight.Name = "txtminimizebuttonheight"; + this.txtminimizebuttonheight.Size = new System.Drawing.Size(23, 22); + this.txtminimizebuttonheight.TabIndex = 4; + this.txtminimizebuttonheight.TextChanged += new System.EventHandler(this.txtminimizebuttonheight_TextChanged); + // + // Label86 + // + this.Label86.AutoSize = true; + this.Label86.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label86.Location = new System.Drawing.Point(196, 57); + this.Label86.Name = "Label86"; + this.Label86.Size = new System.Drawing.Size(22, 16); + this.Label86.TabIndex = 11; + this.Label86.Text = "px"; + // + // Label87 + // + this.Label87.AutoSize = true; + this.Label87.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label87.Location = new System.Drawing.Point(174, 32); + this.Label87.Name = "Label87"; + this.Label87.Size = new System.Drawing.Size(22, 16); + this.Label87.TabIndex = 5; + this.Label87.Text = "px"; + // + // txtminimizebuttontop + // + this.txtminimizebuttontop.BackColor = System.Drawing.Color.White; + this.txtminimizebuttontop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtminimizebuttontop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtminimizebuttontop.ForeColor = System.Drawing.Color.Black; + this.txtminimizebuttontop.Location = new System.Drawing.Point(172, 55); + this.txtminimizebuttontop.Name = "txtminimizebuttontop"; + this.txtminimizebuttontop.Size = new System.Drawing.Size(23, 22); + this.txtminimizebuttontop.TabIndex = 10; + this.txtminimizebuttontop.TextChanged += new System.EventHandler(this.txtminimizebuttontop_TextChanged); + // + // Label88 + // + this.Label88.AutoSize = true; + this.Label88.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label88.Location = new System.Drawing.Point(198, 32); + this.Label88.Name = "Label88"; + this.Label88.Size = new System.Drawing.Size(45, 16); + this.Label88.TabIndex = 6; + this.Label88.Text = "Width:"; + // + // Label89 + // + this.Label89.AutoSize = true; + this.Label89.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label89.Location = new System.Drawing.Point(3, 57); + this.Label89.Name = "Label89"; + this.Label89.Size = new System.Drawing.Size(165, 16); + this.Label89.TabIndex = 9; + this.Label89.Text = "Minimize Button From Top:"; + // + // txtminimizebuttonwidth + // + this.txtminimizebuttonwidth.BackColor = System.Drawing.Color.White; + this.txtminimizebuttonwidth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtminimizebuttonwidth.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtminimizebuttonwidth.ForeColor = System.Drawing.Color.Black; + this.txtminimizebuttonwidth.Location = new System.Drawing.Point(247, 30); + this.txtminimizebuttonwidth.Name = "txtminimizebuttonwidth"; + this.txtminimizebuttonwidth.Size = new System.Drawing.Size(23, 22); + this.txtminimizebuttonwidth.TabIndex = 7; + this.txtminimizebuttonwidth.TextChanged += new System.EventHandler(this.txtminimizebuttonwidth_TextChanged); + // + // Label90 + // + this.Label90.AutoSize = true; + this.Label90.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label90.Location = new System.Drawing.Point(269, 32); + this.Label90.Name = "Label90"; + this.Label90.Size = new System.Drawing.Size(22, 16); + this.Label90.TabIndex = 8; + this.Label90.Text = "px"; + // + // pnlclosebuttonoptions + // + this.pnlclosebuttonoptions.Controls.Add(this.Label8); + this.pnlclosebuttonoptions.Controls.Add(this.Label11); + this.pnlclosebuttonoptions.Controls.Add(this.pnlclosebuttoncolour); + this.pnlclosebuttonoptions.Controls.Add(this.txtclosebuttonfromside); + this.pnlclosebuttonoptions.Controls.Add(this.Label7); + this.pnlclosebuttonoptions.Controls.Add(this.Label12); + this.pnlclosebuttonoptions.Controls.Add(this.txtclosebuttonheight); + this.pnlclosebuttonoptions.Controls.Add(this.Label13); + this.pnlclosebuttonoptions.Controls.Add(this.Label6); + this.pnlclosebuttonoptions.Controls.Add(this.txtclosebuttonfromtop); + this.pnlclosebuttonoptions.Controls.Add(this.Label10); + this.pnlclosebuttonoptions.Controls.Add(this.Label14); + this.pnlclosebuttonoptions.Controls.Add(this.txtclosebuttonwidth); + this.pnlclosebuttonoptions.Controls.Add(this.Label9); + this.pnlclosebuttonoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlclosebuttonoptions.Location = new System.Drawing.Point(0, 33); + this.pnlclosebuttonoptions.Name = "pnlclosebuttonoptions"; + this.pnlclosebuttonoptions.Size = new System.Drawing.Size(342, 110); + this.pnlclosebuttonoptions.TabIndex = 15; + this.pnlclosebuttonoptions.Visible = false; + // + // Label8 + // + this.Label8.AutoSize = true; + this.Label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label8.Location = new System.Drawing.Point(3, 6); + this.Label8.Name = "Label8"; + this.Label8.Size = new System.Drawing.Size(128, 16); + this.Label8.TabIndex = 0; + this.Label8.Text = "Close Button Colour:"; + // + // Label11 + // + this.Label11.AutoSize = true; + this.Label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label11.Location = new System.Drawing.Point(177, 82); + this.Label11.Name = "Label11"; + this.Label11.Size = new System.Drawing.Size(22, 16); + this.Label11.TabIndex = 14; + this.Label11.Text = "px"; + // + // pnlclosebuttoncolour + // + this.pnlclosebuttoncolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnlclosebuttoncolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlclosebuttoncolour.Location = new System.Drawing.Point(132, 4); + this.pnlclosebuttoncolour.Name = "pnlclosebuttoncolour"; + this.pnlclosebuttoncolour.Size = new System.Drawing.Size(41, 20); + this.pnlclosebuttoncolour.TabIndex = 1; + this.pnlclosebuttoncolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlclosebuttoncolour_MouseClick); + // + // txtclosebuttonfromside + // + this.txtclosebuttonfromside.BackColor = System.Drawing.Color.White; + this.txtclosebuttonfromside.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtclosebuttonfromside.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtclosebuttonfromside.ForeColor = System.Drawing.Color.Black; + this.txtclosebuttonfromside.Location = new System.Drawing.Point(153, 80); + this.txtclosebuttonfromside.Name = "txtclosebuttonfromside"; + this.txtclosebuttonfromside.Size = new System.Drawing.Size(23, 22); + this.txtclosebuttonfromside.TabIndex = 13; + this.txtclosebuttonfromside.TextChanged += new System.EventHandler(this.txtclosebuttonfromside_TextChanged); + // + // Label7 + // + this.Label7.AutoSize = true; + this.Label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label7.Location = new System.Drawing.Point(3, 32); + this.Label7.Name = "Label7"; + this.Label7.Size = new System.Drawing.Size(128, 16); + this.Label7.TabIndex = 2; + this.Label7.Text = "Close Button Height:"; + // + // Label12 + // + this.Label12.AutoSize = true; + this.Label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label12.Location = new System.Drawing.Point(3, 82); + this.Label12.Name = "Label12"; + this.Label12.Size = new System.Drawing.Size(151, 16); + this.Label12.TabIndex = 12; + this.Label12.Text = "Close Button From Side:"; + // + // txtclosebuttonheight + // + this.txtclosebuttonheight.BackColor = System.Drawing.Color.White; + this.txtclosebuttonheight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtclosebuttonheight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtclosebuttonheight.ForeColor = System.Drawing.Color.Black; + this.txtclosebuttonheight.Location = new System.Drawing.Point(132, 30); + this.txtclosebuttonheight.Name = "txtclosebuttonheight"; + this.txtclosebuttonheight.Size = new System.Drawing.Size(23, 22); + this.txtclosebuttonheight.TabIndex = 4; + this.txtclosebuttonheight.TextChanged += new System.EventHandler(this.txtclosebuttonheight_TextChanged); + // + // Label13 + // + this.Label13.AutoSize = true; + this.Label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label13.Location = new System.Drawing.Point(177, 57); + this.Label13.Name = "Label13"; + this.Label13.Size = new System.Drawing.Size(22, 16); + this.Label13.TabIndex = 11; + this.Label13.Text = "px"; + // + // Label6 + // + this.Label6.AutoSize = true; + this.Label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label6.Location = new System.Drawing.Point(156, 32); + this.Label6.Name = "Label6"; + this.Label6.Size = new System.Drawing.Size(22, 16); + this.Label6.TabIndex = 5; + this.Label6.Text = "px"; + // + // txtclosebuttonfromtop + // + this.txtclosebuttonfromtop.BackColor = System.Drawing.Color.White; + this.txtclosebuttonfromtop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtclosebuttonfromtop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtclosebuttonfromtop.ForeColor = System.Drawing.Color.Black; + this.txtclosebuttonfromtop.Location = new System.Drawing.Point(153, 55); + this.txtclosebuttonfromtop.Name = "txtclosebuttonfromtop"; + this.txtclosebuttonfromtop.Size = new System.Drawing.Size(23, 22); + this.txtclosebuttonfromtop.TabIndex = 10; + this.txtclosebuttonfromtop.TextChanged += new System.EventHandler(this.txtclosebuttonfromtop_TextChanged); + // + // Label10 + // + this.Label10.AutoSize = true; + this.Label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label10.Location = new System.Drawing.Point(184, 32); + this.Label10.Name = "Label10"; + this.Label10.Size = new System.Drawing.Size(45, 16); + this.Label10.TabIndex = 6; + this.Label10.Text = "Width:"; + // + // Label14 + // + this.Label14.AutoSize = true; + this.Label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label14.Location = new System.Drawing.Point(3, 57); + this.Label14.Name = "Label14"; + this.Label14.Size = new System.Drawing.Size(148, 16); + this.Label14.TabIndex = 9; + this.Label14.Text = "Close Button From Top:"; + // + // txtclosebuttonwidth + // + this.txtclosebuttonwidth.BackColor = System.Drawing.Color.White; + this.txtclosebuttonwidth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtclosebuttonwidth.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtclosebuttonwidth.ForeColor = System.Drawing.Color.Black; + this.txtclosebuttonwidth.Location = new System.Drawing.Point(234, 30); + this.txtclosebuttonwidth.Name = "txtclosebuttonwidth"; + this.txtclosebuttonwidth.Size = new System.Drawing.Size(23, 22); + this.txtclosebuttonwidth.TabIndex = 7; + this.txtclosebuttonwidth.TextChanged += new System.EventHandler(this.txtclosebuttonwidth_TextChanged); + // + // Label9 + // + this.Label9.AutoSize = true; + this.Label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label9.Location = new System.Drawing.Point(258, 32); + this.Label9.Name = "Label9"; + this.Label9.Size = new System.Drawing.Size(22, 16); + this.Label9.TabIndex = 8; + this.Label9.Text = "px"; + // + // TitleButtonChoiceHolder + // + this.TitleButtonChoiceHolder.Controls.Add(this.combobuttonoption); + this.TitleButtonChoiceHolder.Controls.Add(this.Label52); + this.TitleButtonChoiceHolder.Dock = System.Windows.Forms.DockStyle.Top; + this.TitleButtonChoiceHolder.Location = new System.Drawing.Point(0, 0); + this.TitleButtonChoiceHolder.Name = "TitleButtonChoiceHolder"; + this.TitleButtonChoiceHolder.Size = new System.Drawing.Size(342, 33); + this.TitleButtonChoiceHolder.TabIndex = 9; + // + // combobuttonoption + // + this.combobuttonoption.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.combobuttonoption.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.combobuttonoption.FormattingEnabled = true; + this.combobuttonoption.Items.AddRange(new object[] { + "Close Button", + "Roll Up Button"}); + this.combobuttonoption.Location = new System.Drawing.Point(117, 3); + this.combobuttonoption.Name = "combobuttonoption"; + this.combobuttonoption.Size = new System.Drawing.Size(219, 24); + this.combobuttonoption.TabIndex = 17; + this.combobuttonoption.SelectedIndexChanged += new System.EventHandler(this.combobuttonoption_SelectedIndexChanged); + // + // Label52 + // + this.Label52.AutoSize = true; + this.Label52.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label52.Location = new System.Drawing.Point(6, 8); + this.Label52.Name = "Label52"; + this.Label52.Size = new System.Drawing.Size(111, 16); + this.Label52.TabIndex = 15; + this.Label52.Text = "Button To Modify:"; + // + // btndesktoppanel + // + this.btndesktoppanel.BackColor = System.Drawing.Color.White; + this.btndesktoppanel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btndesktoppanel.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btndesktoppanel.Location = new System.Drawing.Point(4, 0); + this.btndesktoppanel.Name = "btndesktoppanel"; + this.btndesktoppanel.Size = new System.Drawing.Size(119, 29); + this.btndesktoppanel.TabIndex = 4; + this.btndesktoppanel.Text = "Desktop Panel"; + this.btndesktoppanel.UseVisualStyleBackColor = false; + this.btndesktoppanel.Click += new System.EventHandler(this.btndesktoppanel_Click); + // + // pnlborderbottomrightcolour + // + this.pnlborderbottomrightcolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnlborderbottomrightcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlborderbottomrightcolour.Location = new System.Drawing.Point(132, 101); + this.pnlborderbottomrightcolour.Name = "pnlborderbottomrightcolour"; + this.pnlborderbottomrightcolour.Size = new System.Drawing.Size(41, 20); + this.pnlborderbottomrightcolour.TabIndex = 27; + this.pnlborderbottomrightcolour.Tag = "BorderCorners"; + this.pnlborderbottomrightcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlborderbottomrightcolour_MouseClick); + // + // Label77 + // + this.Label77.AutoSize = true; + this.Label77.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label77.Location = new System.Drawing.Point(3, 103); + this.Label77.Name = "Label77"; + this.Label77.Size = new System.Drawing.Size(129, 16); + this.Label77.TabIndex = 26; + this.Label77.Tag = "BorderCorners"; + this.Label77.Text = "Bottom Right Colour:"; + // + // pnlborderbottomcolour + // + this.pnlborderbottomcolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnlborderbottomcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlborderbottomcolour.Location = new System.Drawing.Point(263, 31); + this.pnlborderbottomcolour.Name = "pnlborderbottomcolour"; + this.pnlborderbottomcolour.Size = new System.Drawing.Size(41, 20); + this.pnlborderbottomcolour.TabIndex = 25; + this.pnlborderbottomcolour.Tag = "BorderCorners"; + this.pnlborderbottomcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlborderbottomcolour_MouseClick); + // + // Label76 + // + this.Label76.AutoSize = true; + this.Label76.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label76.Location = new System.Drawing.Point(158, 32); + this.Label76.Name = "Label76"; + this.Label76.Size = new System.Drawing.Size(95, 16); + this.Label76.TabIndex = 24; + this.Label76.Tag = "BorderCorners"; + this.Label76.Text = "Bottom Colour:"; + // + // pnlborderbottomleftcolour + // + this.pnlborderbottomleftcolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnlborderbottomleftcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlborderbottomleftcolour.Location = new System.Drawing.Point(124, 78); + this.pnlborderbottomleftcolour.Name = "pnlborderbottomleftcolour"; + this.pnlborderbottomleftcolour.Size = new System.Drawing.Size(41, 20); + this.pnlborderbottomleftcolour.TabIndex = 23; + this.pnlborderbottomleftcolour.Tag = "BorderCorners"; + this.pnlborderbottomleftcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlborderbottomleftcolour_MouseClick); + // + // Label75 + // + this.Label75.AutoSize = true; + this.Label75.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label75.Location = new System.Drawing.Point(3, 80); + this.Label75.Name = "Label75"; + this.Label75.Size = new System.Drawing.Size(119, 16); + this.Label75.TabIndex = 22; + this.Label75.Tag = "BorderCorners"; + this.Label75.Text = "Bottom Left Colour:"; + // + // pnlborderrightcolour + // + this.pnlborderrightcolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnlborderrightcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlborderrightcolour.Location = new System.Drawing.Point(263, 54); + this.pnlborderrightcolour.Name = "pnlborderrightcolour"; + this.pnlborderrightcolour.Size = new System.Drawing.Size(41, 20); + this.pnlborderrightcolour.TabIndex = 21; + this.pnlborderrightcolour.Tag = "BorderCorners"; + this.pnlborderrightcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlborderrightcolour_MouseClick); + // + // Label74 + // + this.Label74.AutoSize = true; + this.Label74.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label74.Location = new System.Drawing.Point(157, 56); + this.Label74.Name = "Label74"; + this.Label74.Size = new System.Drawing.Size(84, 16); + this.Label74.TabIndex = 20; + this.Label74.Tag = "BorderCorners"; + this.Label74.Text = "Right Colour:"; + // + // pnlborderleftcolour + // + this.pnlborderleftcolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnlborderleftcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlborderleftcolour.Location = new System.Drawing.Point(102, 54); + this.pnlborderleftcolour.Name = "pnlborderleftcolour"; + this.pnlborderleftcolour.Size = new System.Drawing.Size(41, 20); + this.pnlborderleftcolour.TabIndex = 19; + this.pnlborderleftcolour.Tag = "BorderCorners"; + this.pnlborderleftcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlbordercolour_MouseClick); + // + // Label73 + // + this.Label73.AutoSize = true; + this.Label73.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label73.Location = new System.Drawing.Point(3, 56); + this.Label73.Name = "Label73"; + this.Label73.Size = new System.Drawing.Size(74, 16); + this.Label73.TabIndex = 18; + this.Label73.Tag = "BorderCorners"; + this.Label73.Text = "Left Colour:"; + // + // Label15 + // + this.Label15.AutoSize = true; + this.Label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label15.Location = new System.Drawing.Point(126, 31); + this.Label15.Name = "Label15"; + this.Label15.Size = new System.Drawing.Size(22, 16); + this.Label15.TabIndex = 17; + this.Label15.Text = "px"; + // + // pnlbordercolour + // + this.pnlbordercolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlbordercolour.Location = new System.Drawing.Point(102, 5); + this.pnlbordercolour.Name = "pnlbordercolour"; + this.pnlbordercolour.Size = new System.Drawing.Size(41, 20); + this.pnlbordercolour.TabIndex = 3; + this.pnlbordercolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlbordercolour_MouseClick); + // + // txtbordersize + // + this.txtbordersize.BackColor = System.Drawing.Color.White; + this.txtbordersize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtbordersize.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtbordersize.ForeColor = System.Drawing.Color.Black; + this.txtbordersize.Location = new System.Drawing.Point(102, 29); + this.txtbordersize.Name = "txtbordersize"; + this.txtbordersize.Size = new System.Drawing.Size(23, 22); + this.txtbordersize.TabIndex = 16; + this.txtbordersize.TextChanged += new System.EventHandler(this.txtbordersize_TextChanged); + // + // Label3 + // + this.Label3.AutoSize = true; + this.Label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label3.Location = new System.Drawing.Point(3, 7); + this.Label3.Name = "Label3"; + this.Label3.Size = new System.Drawing.Size(94, 16); + this.Label3.TabIndex = 2; + this.Label3.Text = "Border Colour:"; + // + // Label16 + // + this.Label16.AutoSize = true; + this.Label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label16.Location = new System.Drawing.Point(3, 31); + this.Label16.Name = "Label16"; + this.Label16.Size = new System.Drawing.Size(81, 16); + this.Label16.TabIndex = 15; + this.Label16.Text = "Border Size:"; + // + // pnltitlebaroptions + // + this.pnltitlebaroptions.Controls.Add(this.Label80); + this.pnltitlebaroptions.Controls.Add(this.txticonfromtop); + this.pnltitlebaroptions.Controls.Add(this.Label81); + this.pnltitlebaroptions.Controls.Add(this.Label78); + this.pnltitlebaroptions.Controls.Add(this.txticonfromside); + this.pnltitlebaroptions.Controls.Add(this.Label79); + this.pnltitlebaroptions.Controls.Add(this.lbcornerwidthpx); + this.pnltitlebaroptions.Controls.Add(this.txttitlebarcornerwidth); + this.pnltitlebaroptions.Controls.Add(this.lbcornerwidth); + this.pnltitlebaroptions.Controls.Add(this.pnltitlebarrightcornercolour); + this.pnltitlebaroptions.Controls.Add(this.pnltitlebarleftcornercolour); + this.pnltitlebaroptions.Controls.Add(this.lbrightcornercolor); + this.pnltitlebaroptions.Controls.Add(this.lbleftcornercolor); + this.pnltitlebaroptions.Controls.Add(this.cboxtitlebarcorners); + this.pnltitlebaroptions.Controls.Add(this.Label5); + this.pnltitlebaroptions.Controls.Add(this.txttitlebarheight); + this.pnltitlebaroptions.Controls.Add(this.Label4); + this.pnltitlebaroptions.Controls.Add(this.pnltitlebarcolour); + this.pnltitlebaroptions.Controls.Add(this.Label2); + this.pnltitlebaroptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnltitlebaroptions.Location = new System.Drawing.Point(128, 0); + this.pnltitlebaroptions.Name = "pnltitlebaroptions"; + this.pnltitlebaroptions.Size = new System.Drawing.Size(342, 143); + this.pnltitlebaroptions.TabIndex = 9; + this.pnltitlebaroptions.Visible = false; + // + // pnlwindowsoptions + // + this.pnlwindowsoptions.BackColor = System.Drawing.Color.White; + this.pnlwindowsoptions.Controls.Add(this.pnlwindowpreview); + this.pnlwindowsoptions.Controls.Add(this.WindowOptionPositioner); + this.pnlwindowsoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlwindowsoptions.Location = new System.Drawing.Point(126, 0); + this.pnlwindowsoptions.Name = "pnlwindowsoptions"; + this.pnlwindowsoptions.Size = new System.Drawing.Size(470, 307); + this.pnlwindowsoptions.TabIndex = 4; + this.pnlwindowsoptions.Visible = false; + // + // pnlwindowpreview + // + this.pnlwindowpreview.Controls.Add(this.PreviewTitleBar); + this.pnlwindowpreview.Controls.Add(this.PreviewBottom); + this.pnlwindowpreview.Controls.Add(this.PreviewLeft); + this.pnlwindowpreview.Controls.Add(this.PreviewRight); + this.pnlwindowpreview.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlwindowpreview.Location = new System.Drawing.Point(0, 0); + this.pnlwindowpreview.Name = "pnlwindowpreview"; + this.pnlwindowpreview.Padding = new System.Windows.Forms.Padding(10); + this.pnlwindowpreview.Size = new System.Drawing.Size(470, 164); + this.pnlwindowpreview.TabIndex = 0; + // + // PreviewTitleBar + // + this.PreviewTitleBar.BackColor = System.Drawing.Color.Gray; + this.PreviewTitleBar.Controls.Add(this.PreviewIconBox); + this.PreviewTitleBar.Controls.Add(this.PreviewTitleText); + this.PreviewTitleBar.Controls.Add(this.PreviewMinimize); + this.PreviewTitleBar.Controls.Add(this.PreviewRoll); + this.PreviewTitleBar.Controls.Add(this.PreviewClose); + this.PreviewTitleBar.Controls.Add(this.PreviewTitleRight); + this.PreviewTitleBar.Controls.Add(this.PreviewTitleLeft); + this.PreviewTitleBar.Dock = System.Windows.Forms.DockStyle.Top; + this.PreviewTitleBar.Location = new System.Drawing.Point(12, 10); + this.PreviewTitleBar.Name = "PreviewTitleBar"; + this.PreviewTitleBar.Size = new System.Drawing.Size(446, 30); + this.PreviewTitleBar.TabIndex = 5; + // + // PreviewIconBox + // + this.PreviewIconBox.BackColor = System.Drawing.Color.Transparent; + this.PreviewIconBox.Image = global::ShiftOS.Properties.Resources.iconShifter; + this.PreviewIconBox.Location = new System.Drawing.Point(7, 7); + this.PreviewIconBox.Name = "PreviewIconBox"; + this.PreviewIconBox.Size = new System.Drawing.Size(16, 16); + this.PreviewIconBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.PreviewIconBox.TabIndex = 8; + this.PreviewIconBox.TabStop = false; + // + // PreviewTitleText + // + this.PreviewTitleText.AutoSize = true; + this.PreviewTitleText.BackColor = System.Drawing.Color.Transparent; + this.PreviewTitleText.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold); + this.PreviewTitleText.ForeColor = System.Drawing.Color.White; + this.PreviewTitleText.Location = new System.Drawing.Point(26, 6); + this.PreviewTitleText.Name = "PreviewTitleText"; + this.PreviewTitleText.Size = new System.Drawing.Size(100, 17); + this.PreviewTitleText.TabIndex = 5; + this.PreviewTitleText.Text = "Window Title"; + // + // PreviewMinimize + // + this.PreviewMinimize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.PreviewMinimize.BackColor = System.Drawing.Color.Black; + this.PreviewMinimize.Location = new System.Drawing.Point(365, 3); + this.PreviewMinimize.Name = "PreviewMinimize"; + this.PreviewMinimize.Size = new System.Drawing.Size(24, 24); + this.PreviewMinimize.TabIndex = 7; + // + // PreviewRoll + // + this.PreviewRoll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.PreviewRoll.BackColor = System.Drawing.Color.Black; + this.PreviewRoll.Location = new System.Drawing.Point(392, 3); + this.PreviewRoll.Name = "PreviewRoll"; + this.PreviewRoll.Size = new System.Drawing.Size(24, 24); + this.PreviewRoll.TabIndex = 6; + // + // PreviewClose + // + this.PreviewClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.PreviewClose.BackColor = System.Drawing.Color.Black; + this.PreviewClose.Location = new System.Drawing.Point(419, 3); + this.PreviewClose.Name = "PreviewClose"; + this.PreviewClose.Size = new System.Drawing.Size(24, 24); + this.PreviewClose.TabIndex = 5; + // + // PreviewTitleRight + // + this.PreviewTitleRight.BackColor = System.Drawing.Color.Gray; + this.PreviewTitleRight.Dock = System.Windows.Forms.DockStyle.Right; + this.PreviewTitleRight.Location = new System.Drawing.Point(444, 0); + this.PreviewTitleRight.Name = "PreviewTitleRight"; + this.PreviewTitleRight.Size = new System.Drawing.Size(2, 30); + this.PreviewTitleRight.TabIndex = 2; + // + // PreviewTitleLeft + // + this.PreviewTitleLeft.BackColor = System.Drawing.Color.Gray; + this.PreviewTitleLeft.Dock = System.Windows.Forms.DockStyle.Left; + this.PreviewTitleLeft.Location = new System.Drawing.Point(0, 0); + this.PreviewTitleLeft.Name = "PreviewTitleLeft"; + this.PreviewTitleLeft.Size = new System.Drawing.Size(2, 30); + this.PreviewTitleLeft.TabIndex = 1; + // + // PreviewBottom + // + this.PreviewBottom.BackColor = System.Drawing.Color.Gray; + this.PreviewBottom.Controls.Add(this.PreviewBottomRight); + this.PreviewBottom.Controls.Add(this.PreviewBottomLeft); + this.PreviewBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.PreviewBottom.Location = new System.Drawing.Point(12, 152); + this.PreviewBottom.Name = "PreviewBottom"; + this.PreviewBottom.Size = new System.Drawing.Size(446, 2); + this.PreviewBottom.TabIndex = 6; + // + // PreviewBottomRight + // + this.PreviewBottomRight.BackColor = System.Drawing.Color.Gray; + this.PreviewBottomRight.Dock = System.Windows.Forms.DockStyle.Right; + this.PreviewBottomRight.Location = new System.Drawing.Point(444, 0); + this.PreviewBottomRight.Name = "PreviewBottomRight"; + this.PreviewBottomRight.Size = new System.Drawing.Size(2, 2); + this.PreviewBottomRight.TabIndex = 2; + // + // PreviewBottomLeft + // + this.PreviewBottomLeft.BackColor = System.Drawing.Color.Gray; + this.PreviewBottomLeft.Dock = System.Windows.Forms.DockStyle.Left; + this.PreviewBottomLeft.Location = new System.Drawing.Point(0, 0); + this.PreviewBottomLeft.Name = "PreviewBottomLeft"; + this.PreviewBottomLeft.Size = new System.Drawing.Size(2, 2); + this.PreviewBottomLeft.TabIndex = 1; + // + // PreviewLeft + // + this.PreviewLeft.BackColor = System.Drawing.Color.Gray; + this.PreviewLeft.Dock = System.Windows.Forms.DockStyle.Left; + this.PreviewLeft.Location = new System.Drawing.Point(10, 10); + this.PreviewLeft.Name = "PreviewLeft"; + this.PreviewLeft.Size = new System.Drawing.Size(2, 144); + this.PreviewLeft.TabIndex = 8; + // + // PreviewRight + // + this.PreviewRight.BackColor = System.Drawing.Color.Gray; + this.PreviewRight.Dock = System.Windows.Forms.DockStyle.Right; + this.PreviewRight.Location = new System.Drawing.Point(458, 10); + this.PreviewRight.Name = "PreviewRight"; + this.PreviewRight.Size = new System.Drawing.Size(2, 144); + this.PreviewRight.TabIndex = 7; + // + // WindowOptionPositioner + // + this.WindowOptionPositioner.Controls.Add(this.pnlborderoptions); + this.WindowOptionPositioner.Controls.Add(this.pnltitletextoptions); + this.WindowOptionPositioner.Controls.Add(this.pnltitlebaroptions); + this.WindowOptionPositioner.Controls.Add(this.pnlbuttonoptions); + this.WindowOptionPositioner.Controls.Add(this.pnlwindowsintro); + this.WindowOptionPositioner.Controls.Add(this.pnlwindowsobjects); + this.WindowOptionPositioner.Dock = System.Windows.Forms.DockStyle.Bottom; + this.WindowOptionPositioner.Location = new System.Drawing.Point(0, 164); + this.WindowOptionPositioner.Name = "WindowOptionPositioner"; + this.WindowOptionPositioner.Size = new System.Drawing.Size(470, 143); + this.WindowOptionPositioner.TabIndex = 9; + // + // pnlborderoptions + // + this.pnlborderoptions.Controls.Add(this.cbindividualbordercolours); + this.pnlborderoptions.Controls.Add(this.pnlborderbottomrightcolour); + this.pnlborderoptions.Controls.Add(this.Label77); + this.pnlborderoptions.Controls.Add(this.pnlborderbottomcolour); + this.pnlborderoptions.Controls.Add(this.Label76); + this.pnlborderoptions.Controls.Add(this.pnlborderbottomleftcolour); + this.pnlborderoptions.Controls.Add(this.Label75); + this.pnlborderoptions.Controls.Add(this.pnlborderrightcolour); + this.pnlborderoptions.Controls.Add(this.Label74); + this.pnlborderoptions.Controls.Add(this.pnlborderleftcolour); + this.pnlborderoptions.Controls.Add(this.Label73); + this.pnlborderoptions.Controls.Add(this.Label15); + this.pnlborderoptions.Controls.Add(this.pnlbordercolour); + this.pnlborderoptions.Controls.Add(this.txtbordersize); + this.pnlborderoptions.Controls.Add(this.Label3); + this.pnlborderoptions.Controls.Add(this.Label16); + this.pnlborderoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlborderoptions.Location = new System.Drawing.Point(128, 0); + this.pnlborderoptions.Name = "pnlborderoptions"; + this.pnlborderoptions.Size = new System.Drawing.Size(342, 143); + this.pnlborderoptions.TabIndex = 10; + this.pnlborderoptions.Visible = false; + // + // pnltitletextoptions + // + this.pnltitletextoptions.Controls.Add(this.combotitletextposition); + this.pnltitletextoptions.Controls.Add(this.Label53); + this.pnltitletextoptions.Controls.Add(this.combotitletextstyle); + this.pnltitletextoptions.Controls.Add(this.combotitletextfont); + this.pnltitletextoptions.Controls.Add(this.Label23); + this.pnltitletextoptions.Controls.Add(this.Label17); + this.pnltitletextoptions.Controls.Add(this.txttitletextside); + this.pnltitletextoptions.Controls.Add(this.Label18); + this.pnltitletextoptions.Controls.Add(this.Label19); + this.pnltitletextoptions.Controls.Add(this.txttitletexttop); + this.pnltitletextoptions.Controls.Add(this.Label20); + this.pnltitletextoptions.Controls.Add(this.Label21); + this.pnltitletextoptions.Controls.Add(this.txttitletextsize); + this.pnltitletextoptions.Controls.Add(this.Label22); + this.pnltitletextoptions.Controls.Add(this.Label24); + this.pnltitletextoptions.Controls.Add(this.pnltitletextcolour); + this.pnltitletextoptions.Controls.Add(this.Label25); + this.pnltitletextoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnltitletextoptions.Location = new System.Drawing.Point(128, 0); + this.pnltitletextoptions.Name = "pnltitletextoptions"; + this.pnltitletextoptions.Size = new System.Drawing.Size(342, 143); + this.pnltitletextoptions.TabIndex = 15; + this.pnltitletextoptions.Visible = false; + // + // Label53 + // + this.Label53.AutoSize = true; + this.Label53.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label53.Location = new System.Drawing.Point(149, 57); + this.Label53.Name = "Label53"; + this.Label53.Size = new System.Drawing.Size(59, 16); + this.Label53.TabIndex = 20; + this.Label53.Text = "Position:"; + // + // combotitletextstyle + // + this.combotitletextstyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.combotitletextstyle.FormattingEnabled = true; + this.combotitletextstyle.Items.AddRange(new object[] { + "Bold", + "Italic", + "Regular", + "Strikeout", + "Underline"}); + this.combotitletextstyle.Location = new System.Drawing.Point(207, 3); + this.combotitletextstyle.Name = "combotitletextstyle"; + this.combotitletextstyle.Size = new System.Drawing.Size(99, 24); + this.combotitletextstyle.TabIndex = 18; + this.combotitletextstyle.SelectedIndexChanged += new System.EventHandler(this.combotitletextstyle_SelectedIndexChanged); + // + // combotitletextfont + // + this.combotitletextfont.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.combotitletextfont.FormattingEnabled = true; + this.combotitletextfont.Location = new System.Drawing.Point(100, 30); + this.combotitletextfont.Name = "combotitletextfont"; + this.combotitletextfont.Size = new System.Drawing.Size(202, 24); + this.combotitletextfont.TabIndex = 17; + this.combotitletextfont.SelectedIndexChanged += new System.EventHandler(this.combotitletextfont_SelectedIndexChanged); + // + // Label23 + // + this.Label23.AutoSize = true; + this.Label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label23.Location = new System.Drawing.Point(164, 7); + this.Label23.Name = "Label23"; + this.Label23.Size = new System.Drawing.Size(41, 16); + this.Label23.TabIndex = 15; + this.Label23.Text = "Style:"; + // + // Label17 + // + this.Label17.AutoSize = true; + this.Label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label17.Location = new System.Drawing.Point(159, 107); + this.Label17.Name = "Label17"; + this.Label17.Size = new System.Drawing.Size(22, 16); + this.Label17.TabIndex = 14; + this.Label17.Text = "px"; + // + // txttitletextside + // + this.txttitletextside.BackColor = System.Drawing.Color.White; + this.txttitletextside.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txttitletextside.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txttitletextside.ForeColor = System.Drawing.Color.Black; + this.txttitletextside.Location = new System.Drawing.Point(135, 105); + this.txttitletextside.Name = "txttitletextside"; + this.txttitletextside.Size = new System.Drawing.Size(23, 22); + this.txttitletextside.TabIndex = 13; + this.txttitletextside.TextChanged += new System.EventHandler(this.txttitletextside_TextChanged); + // + // Label18 + // + this.Label18.AutoSize = true; + this.Label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label18.Location = new System.Drawing.Point(3, 107); + this.Label18.Name = "Label18"; + this.Label18.Size = new System.Drawing.Size(131, 16); + this.Label18.TabIndex = 12; + this.Label18.Text = "Title Text From Side:"; + // + // Label19 + // + this.Label19.AutoSize = true; + this.Label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label19.Location = new System.Drawing.Point(159, 82); + this.Label19.Name = "Label19"; + this.Label19.Size = new System.Drawing.Size(22, 16); + this.Label19.TabIndex = 11; + this.Label19.Text = "px"; + // + // txttitletexttop + // + this.txttitletexttop.BackColor = System.Drawing.Color.White; + this.txttitletexttop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txttitletexttop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txttitletexttop.ForeColor = System.Drawing.Color.Black; + this.txttitletexttop.Location = new System.Drawing.Point(135, 80); + this.txttitletexttop.Name = "txttitletexttop"; + this.txttitletexttop.Size = new System.Drawing.Size(23, 22); + this.txttitletexttop.TabIndex = 10; + this.txttitletexttop.TextChanged += new System.EventHandler(this.txttitletexttop_TextChanged); + // + // Label20 + // + this.Label20.AutoSize = true; + this.Label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label20.Location = new System.Drawing.Point(3, 82); + this.Label20.Name = "Label20"; + this.Label20.Size = new System.Drawing.Size(128, 16); + this.Label20.TabIndex = 9; + this.Label20.Text = "Title Text From Top:"; + // + // Label21 + // + this.Label21.AutoSize = true; + this.Label21.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label21.Location = new System.Drawing.Point(124, 57); + this.Label21.Name = "Label21"; + this.Label21.Size = new System.Drawing.Size(22, 16); + this.Label21.TabIndex = 8; + this.Label21.Text = "px"; + // + // txttitletextsize + // + this.txttitletextsize.BackColor = System.Drawing.Color.White; + this.txttitletextsize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txttitletextsize.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txttitletextsize.ForeColor = System.Drawing.Color.Black; + this.txttitletextsize.Location = new System.Drawing.Point(100, 55); + this.txttitletextsize.Name = "txttitletextsize"; + this.txttitletextsize.Size = new System.Drawing.Size(23, 22); + this.txttitletextsize.TabIndex = 7; + this.txttitletextsize.TextChanged += new System.EventHandler(this.txttitletextsize_TextChanged); + // + // Label22 + // + this.Label22.AutoSize = true; + this.Label22.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label22.Location = new System.Drawing.Point(3, 57); + this.Label22.Name = "Label22"; + this.Label22.Size = new System.Drawing.Size(95, 16); + this.Label22.TabIndex = 6; + this.Label22.Text = "Title Text Size:"; + // + // Label24 + // + this.Label24.AutoSize = true; + this.Label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label24.Location = new System.Drawing.Point(3, 33); + this.Label24.Name = "Label24"; + this.Label24.Size = new System.Drawing.Size(95, 16); + this.Label24.TabIndex = 2; + this.Label24.Text = "Title Text Font:"; + // + // pnltitletextcolour + // + this.pnltitletextcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnltitletextcolour.Location = new System.Drawing.Point(114, 5); + this.pnltitletextcolour.Name = "pnltitletextcolour"; + this.pnltitletextcolour.Size = new System.Drawing.Size(41, 20); + this.pnltitletextcolour.TabIndex = 1; + this.pnltitletextcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnltitletextcolour_MouseClick); + // + // Label25 + // + this.Label25.AutoSize = true; + this.Label25.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label25.Location = new System.Drawing.Point(3, 7); + this.Label25.Name = "Label25"; + this.Label25.Size = new System.Drawing.Size(108, 16); + this.Label25.TabIndex = 0; + this.Label25.Text = "Title Text Colour:"; + // + // pnlwindowsintro + // + this.pnlwindowsintro.Controls.Add(this.Label68); + this.pnlwindowsintro.Controls.Add(this.Label67); + this.pnlwindowsintro.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlwindowsintro.Location = new System.Drawing.Point(128, 0); + this.pnlwindowsintro.Name = "pnlwindowsintro"; + this.pnlwindowsintro.Size = new System.Drawing.Size(342, 143); + this.pnlwindowsintro.TabIndex = 16; + // + // Label68 + // + this.Label68.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label68.Location = new System.Drawing.Point(3, 20); + this.Label68.Name = "Label68"; + this.Label68.Size = new System.Drawing.Size(312, 113); + this.Label68.TabIndex = 1; + this.Label68.Text = resources.GetString("Label68.Text"); + this.Label68.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // Label67 + // + this.Label67.AutoSize = true; + this.Label67.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label67.Location = new System.Drawing.Point(89, -2); + this.Label67.Name = "Label67"; + this.Label67.Size = new System.Drawing.Size(143, 20); + this.Label67.TabIndex = 0; + this.Label67.Text = "Window Settings"; + // + // pnlwindowsobjects + // + this.pnlwindowsobjects.Controls.Add(this.btnborders); + this.pnlwindowsobjects.Controls.Add(this.btnbuttons); + this.pnlwindowsobjects.Controls.Add(this.btntitletext); + this.pnlwindowsobjects.Controls.Add(this.btntitlebar); + this.pnlwindowsobjects.Dock = System.Windows.Forms.DockStyle.Left; + this.pnlwindowsobjects.Location = new System.Drawing.Point(0, 0); + this.pnlwindowsobjects.Name = "pnlwindowsobjects"; + this.pnlwindowsobjects.Size = new System.Drawing.Size(128, 143); + this.pnlwindowsobjects.TabIndex = 8; + // + // btnborders + // + this.btnborders.BackColor = System.Drawing.Color.White; + this.btnborders.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnborders.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnborders.Location = new System.Drawing.Point(4, 105); + this.btnborders.Name = "btnborders"; + this.btnborders.Size = new System.Drawing.Size(119, 29); + this.btnborders.TabIndex = 7; + this.btnborders.TabStop = false; + this.btnborders.Text = "Borders"; + this.btnborders.UseVisualStyleBackColor = false; + this.btnborders.Click += new System.EventHandler(this.btnborders_Click); + // + // btnbuttons + // + this.btnbuttons.BackColor = System.Drawing.Color.White; + this.btnbuttons.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnbuttons.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnbuttons.Location = new System.Drawing.Point(4, 70); + this.btnbuttons.Name = "btnbuttons"; + this.btnbuttons.Size = new System.Drawing.Size(119, 29); + this.btnbuttons.TabIndex = 6; + this.btnbuttons.TabStop = false; + this.btnbuttons.Text = "Buttons"; + this.btnbuttons.UseVisualStyleBackColor = false; + this.btnbuttons.Click += new System.EventHandler(this.btnbuttons_Click); + // + // btntitletext + // + this.btntitletext.BackColor = System.Drawing.Color.White; + this.btntitletext.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btntitletext.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btntitletext.Location = new System.Drawing.Point(4, 35); + this.btntitletext.Name = "btntitletext"; + this.btntitletext.Size = new System.Drawing.Size(119, 29); + this.btntitletext.TabIndex = 5; + this.btntitletext.TabStop = false; + this.btntitletext.Text = "Title Text"; + this.btntitletext.UseVisualStyleBackColor = false; + this.btntitletext.Click += new System.EventHandler(this.btntitletext_Click); + // + // btntitlebar + // + this.btntitlebar.BackColor = System.Drawing.Color.White; + this.btntitlebar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btntitlebar.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btntitlebar.Location = new System.Drawing.Point(4, 0); + this.btntitlebar.Name = "btntitlebar"; + this.btntitlebar.Size = new System.Drawing.Size(119, 29); + this.btntitlebar.TabIndex = 4; + this.btntitlebar.TabStop = false; + this.btntitlebar.Text = "Title Bar"; + this.btntitlebar.UseVisualStyleBackColor = false; + this.btntitlebar.Click += new System.EventHandler(this.btntitlebar_Click); + // + // btnapplauncher + // + this.btnapplauncher.BackColor = System.Drawing.Color.White; + this.btnapplauncher.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnapplauncher.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnapplauncher.Location = new System.Drawing.Point(4, 35); + this.btnapplauncher.Name = "btnapplauncher"; + this.btnapplauncher.Size = new System.Drawing.Size(119, 29); + this.btnapplauncher.TabIndex = 5; + this.btnapplauncher.Text = "App Launcher"; + this.btnapplauncher.UseVisualStyleBackColor = false; + this.btnapplauncher.Click += new System.EventHandler(this.btnapplauncher_Click); + // + // pgcontents + // + this.pgcontents.BackColor = System.Drawing.Color.White; + this.pgcontents.Controls.Add(this.pnldesktopoptions); + this.pgcontents.Controls.Add(this.pnlreset); + this.pgcontents.Controls.Add(this.pnlwindowsoptions); + this.pgcontents.Controls.Add(this.pnlshifterintro); + this.pgcontents.Controls.Add(this.catholder); + this.pgcontents.Controls.Add(this.Label1); + this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill; + this.pgcontents.Location = new System.Drawing.Point(2, 30); + this.pgcontents.Name = "pgcontents"; + this.pgcontents.Size = new System.Drawing.Size(596, 307); + this.pgcontents.TabIndex = 31; + // + // pnldesktopoptions + // + this.pnldesktopoptions.BackColor = System.Drawing.Color.White; + this.pnldesktopoptions.Controls.Add(this.pnldesktoppreview); + this.pnldesktopoptions.Controls.Add(this.DesktopOptionsPositioner); + this.pnldesktopoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnldesktopoptions.Location = new System.Drawing.Point(126, 0); + this.pnldesktopoptions.Name = "pnldesktopoptions"; + this.pnldesktopoptions.Size = new System.Drawing.Size(470, 307); + this.pnldesktopoptions.TabIndex = 16; + this.pnldesktopoptions.Visible = false; + // + // pnldesktoppreview + // + this.pnldesktoppreview.Controls.Add(this.predesktoppanel); + this.pnldesktoppreview.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnldesktoppreview.Location = new System.Drawing.Point(0, 0); + this.pnldesktoppreview.Name = "pnldesktoppreview"; + this.pnldesktoppreview.Size = new System.Drawing.Size(470, 170); + this.pnldesktoppreview.TabIndex = 0; + // + // predesktoppanel + // + this.predesktoppanel.BackColor = System.Drawing.Color.Gray; + this.predesktoppanel.Controls.Add(this.prepnlpanelbuttonholder); + this.predesktoppanel.Controls.Add(this.pretimepanel); + this.predesktoppanel.Controls.Add(this.preapplaunchermenuholder); + this.predesktoppanel.Dock = System.Windows.Forms.DockStyle.Top; + this.predesktoppanel.Location = new System.Drawing.Point(0, 0); + this.predesktoppanel.Name = "predesktoppanel"; + this.predesktoppanel.Size = new System.Drawing.Size(470, 25); + this.predesktoppanel.TabIndex = 1; + // + // prepnlpanelbuttonholder + // + this.prepnlpanelbuttonholder.BackColor = System.Drawing.Color.Transparent; + this.prepnlpanelbuttonholder.Controls.Add(this.prepnlpanelbutton); + this.prepnlpanelbuttonholder.Dock = System.Windows.Forms.DockStyle.Fill; + this.prepnlpanelbuttonholder.Location = new System.Drawing.Point(116, 0); + this.prepnlpanelbuttonholder.Name = "prepnlpanelbuttonholder"; + this.prepnlpanelbuttonholder.Padding = new System.Windows.Forms.Padding(2, 0, 0, 0); + this.prepnlpanelbuttonholder.Size = new System.Drawing.Size(257, 25); + this.prepnlpanelbuttonholder.TabIndex = 6; + // + // prepnlpanelbutton + // + this.prepnlpanelbutton.BackColor = System.Drawing.Color.Black; + this.prepnlpanelbutton.Controls.Add(this.pretbicon); + this.prepnlpanelbutton.Controls.Add(this.pretbctext); + this.prepnlpanelbutton.Location = new System.Drawing.Point(5, 3); + this.prepnlpanelbutton.Name = "prepnlpanelbutton"; + this.prepnlpanelbutton.Size = new System.Drawing.Size(126, 20); + this.prepnlpanelbutton.TabIndex = 18; + this.prepnlpanelbutton.Visible = false; + // + // pretbicon + // + this.pretbicon.BackColor = System.Drawing.Color.Transparent; + this.pretbicon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pretbicon.Location = new System.Drawing.Point(4, 2); + this.pretbicon.Name = "pretbicon"; + this.pretbicon.Size = new System.Drawing.Size(16, 16); + this.pretbicon.TabIndex = 1; + this.pretbicon.TabStop = false; + // + // pretbctext + // + this.pretbctext.AutoSize = true; + this.pretbctext.BackColor = System.Drawing.Color.Transparent; + this.pretbctext.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.pretbctext.ForeColor = System.Drawing.Color.White; + this.pretbctext.Location = new System.Drawing.Point(24, 2); + this.pretbctext.Name = "pretbctext"; + this.pretbctext.Size = new System.Drawing.Size(45, 16); + this.pretbctext.TabIndex = 0; + this.pretbctext.Text = "Shifter"; + // + // pretimepanel + // + this.pretimepanel.Controls.Add(this.prepaneltimetext); + this.pretimepanel.Dock = System.Windows.Forms.DockStyle.Right; + this.pretimepanel.Location = new System.Drawing.Point(373, 0); + this.pretimepanel.Name = "pretimepanel"; + this.pretimepanel.Size = new System.Drawing.Size(97, 25); + this.pretimepanel.TabIndex = 5; + // + // prepaneltimetext + // + this.prepaneltimetext.AutoSize = true; + this.prepaneltimetext.BackColor = System.Drawing.Color.Transparent; + this.prepaneltimetext.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.prepaneltimetext.Location = new System.Drawing.Point(5, 0); + this.prepaneltimetext.Name = "prepaneltimetext"; + this.prepaneltimetext.Size = new System.Drawing.Size(80, 24); + this.prepaneltimetext.TabIndex = 1; + this.prepaneltimetext.Text = "5000023"; + this.prepaneltimetext.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // preapplaunchermenuholder + // + this.preapplaunchermenuholder.Controls.Add(this.predesktopappmenu); + this.preapplaunchermenuholder.Dock = System.Windows.Forms.DockStyle.Left; + this.preapplaunchermenuholder.Location = new System.Drawing.Point(0, 0); + this.preapplaunchermenuholder.Name = "preapplaunchermenuholder"; + this.preapplaunchermenuholder.Size = new System.Drawing.Size(116, 25); + this.preapplaunchermenuholder.TabIndex = 4; + // + // predesktopappmenu + // + this.predesktopappmenu.AutoSize = false; + this.predesktopappmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ApplicationsToolStripMenuItem}); + this.predesktopappmenu.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; + this.predesktopappmenu.Location = new System.Drawing.Point(0, 0); + this.predesktopappmenu.Name = "predesktopappmenu"; + this.predesktopappmenu.Padding = new System.Windows.Forms.Padding(0); + this.predesktopappmenu.Size = new System.Drawing.Size(116, 24); + this.predesktopappmenu.TabIndex = 0; + this.predesktopappmenu.Text = "MenuStrip1"; + // + // ApplicationsToolStripMenuItem + // + this.ApplicationsToolStripMenuItem.AutoSize = false; + this.ApplicationsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.KnowledgeInputToolStripMenuItem, + this.ShiftoriumToolStripMenuItem, + this.ClockToolStripMenuItem, + this.TerminalToolStripMenuItem, + this.ShifterToolStripMenuItem, + this.ToolStripSeparator1, + this.ShutdownToolStripMenuItem}); + this.ApplicationsToolStripMenuItem.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.749999F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ApplicationsToolStripMenuItem.Name = "ApplicationsToolStripMenuItem"; + this.ApplicationsToolStripMenuItem.Padding = new System.Windows.Forms.Padding(0); + this.ApplicationsToolStripMenuItem.ShowShortcutKeys = false; + this.ApplicationsToolStripMenuItem.Size = new System.Drawing.Size(102, 24); + this.ApplicationsToolStripMenuItem.Text = "Applications"; + this.ApplicationsToolStripMenuItem.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal; + this.ApplicationsToolStripMenuItem.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; + // + // KnowledgeInputToolStripMenuItem + // + this.KnowledgeInputToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.KnowledgeInputToolStripMenuItem.Name = "KnowledgeInputToolStripMenuItem"; + this.KnowledgeInputToolStripMenuItem.ShowShortcutKeys = false; + this.KnowledgeInputToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.KnowledgeInputToolStripMenuItem.Text = "Knowledge Input"; + // + // ShiftoriumToolStripMenuItem + // + this.ShiftoriumToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ShiftoriumToolStripMenuItem.Name = "ShiftoriumToolStripMenuItem"; + this.ShiftoriumToolStripMenuItem.ShowShortcutKeys = false; + this.ShiftoriumToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.ShiftoriumToolStripMenuItem.Text = "Shiftorium"; + // + // ClockToolStripMenuItem + // + this.ClockToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ClockToolStripMenuItem.Name = "ClockToolStripMenuItem"; + this.ClockToolStripMenuItem.ShowShortcutKeys = false; + this.ClockToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.ClockToolStripMenuItem.Text = "Clock"; + // + // TerminalToolStripMenuItem + // + this.TerminalToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.TerminalToolStripMenuItem.Name = "TerminalToolStripMenuItem"; + this.TerminalToolStripMenuItem.ShowShortcutKeys = false; + this.TerminalToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.TerminalToolStripMenuItem.Text = "Terminal"; + // + // ShifterToolStripMenuItem + // + this.ShifterToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ShifterToolStripMenuItem.Name = "ShifterToolStripMenuItem"; + this.ShifterToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.ShifterToolStripMenuItem.Text = "Shifter"; + // + // ToolStripSeparator1 + // + this.ToolStripSeparator1.BackColor = System.Drawing.Color.Transparent; + this.ToolStripSeparator1.ForeColor = System.Drawing.Color.White; + this.ToolStripSeparator1.Name = "ToolStripSeparator1"; + this.ToolStripSeparator1.Size = new System.Drawing.Size(178, 6); + // + // ShutdownToolStripMenuItem + // + this.ShutdownToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ShutdownToolStripMenuItem.Name = "ShutdownToolStripMenuItem"; + this.ShutdownToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.ShutdownToolStripMenuItem.Text = "Shut Down"; + // + // DesktopOptionsPositioner + // + this.DesktopOptionsPositioner.Controls.Add(this.pnlpanelbuttonsoptions); + this.DesktopOptionsPositioner.Controls.Add(this.pnllauncheritems); + this.DesktopOptionsPositioner.Controls.Add(this.pnlapplauncheroptions); + this.DesktopOptionsPositioner.Controls.Add(this.pnlpanelclockoptions); + this.DesktopOptionsPositioner.Controls.Add(this.pnldesktopbackgroundoptions); + this.DesktopOptionsPositioner.Controls.Add(this.pnldesktoppaneloptions); + this.DesktopOptionsPositioner.Controls.Add(this.pnldesktopintro); + this.DesktopOptionsPositioner.Controls.Add(this.pnldesktopcategories); + this.DesktopOptionsPositioner.Dock = System.Windows.Forms.DockStyle.Bottom; + this.DesktopOptionsPositioner.Location = new System.Drawing.Point(0, 170); + this.DesktopOptionsPositioner.Name = "DesktopOptionsPositioner"; + this.DesktopOptionsPositioner.Size = new System.Drawing.Size(470, 137); + this.DesktopOptionsPositioner.TabIndex = 2; + // + // pnlapplauncheroptions + // + this.pnlapplauncheroptions.Controls.Add(this.btnshowlauncheritems); + this.pnlapplauncheroptions.Controls.Add(this.Label71); + this.pnlapplauncheroptions.Controls.Add(this.txtapplauncherwidth); + this.pnlapplauncheroptions.Controls.Add(this.Label72); + this.pnlapplauncheroptions.Controls.Add(this.txtappbuttonlabel); + this.pnlapplauncheroptions.Controls.Add(this.Label51); + this.pnlapplauncheroptions.Controls.Add(this.Label50); + this.pnlapplauncheroptions.Controls.Add(this.pnlmaintextcolour); + this.pnlapplauncheroptions.Controls.Add(this.comboappbuttontextstyle); + this.pnlapplauncheroptions.Controls.Add(this.comboappbuttontextfont); + this.pnlapplauncheroptions.Controls.Add(this.Label37); + this.pnlapplauncheroptions.Controls.Add(this.Label38); + this.pnlapplauncheroptions.Controls.Add(this.txtappbuttontextsize); + this.pnlapplauncheroptions.Controls.Add(this.Label39); + this.pnlapplauncheroptions.Controls.Add(this.Label40); + this.pnlapplauncheroptions.Controls.Add(this.pnlmenuitemsmouseover); + this.pnlapplauncheroptions.Controls.Add(this.Label41); + this.pnlapplauncheroptions.Controls.Add(this.pnlmenuitemscolour); + this.pnlapplauncheroptions.Controls.Add(this.Label42); + this.pnlapplauncheroptions.Controls.Add(this.pnlmainbuttonactivated); + this.pnlapplauncheroptions.Controls.Add(this.Label28); + this.pnlapplauncheroptions.Controls.Add(this.Label35); + this.pnlapplauncheroptions.Controls.Add(this.txtapplicationsbuttonheight); + this.pnlapplauncheroptions.Controls.Add(this.Label36); + this.pnlapplauncheroptions.Controls.Add(this.pnlmainbuttoncolour); + this.pnlapplauncheroptions.Controls.Add(this.Label43); + this.pnlapplauncheroptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlapplauncheroptions.Location = new System.Drawing.Point(128, 0); + this.pnlapplauncheroptions.Name = "pnlapplauncheroptions"; + this.pnlapplauncheroptions.Size = new System.Drawing.Size(342, 137); + this.pnlapplauncheroptions.TabIndex = 10; + this.pnlapplauncheroptions.Visible = false; + // + // btnshowlauncheritems + // + this.btnshowlauncheritems.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnshowlauncheritems.Location = new System.Drawing.Point(233, 106); + this.btnshowlauncheritems.Name = "btnshowlauncheritems"; + this.btnshowlauncheritems.Size = new System.Drawing.Size(75, 23); + this.btnshowlauncheritems.TabIndex = 34; + this.btnshowlauncheritems.Text = "Items >"; + this.btnshowlauncheritems.UseVisualStyleBackColor = true; + this.btnshowlauncheritems.Click += new System.EventHandler(this.btnshowlauncheritems_Click); + // + // Label71 + // + this.Label71.AutoSize = true; + this.Label71.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label71.Location = new System.Drawing.Point(204, 108); + this.Label71.Name = "Label71"; + this.Label71.Size = new System.Drawing.Size(22, 16); + this.Label71.TabIndex = 33; + this.Label71.Text = "px"; + // + // txtapplauncherwidth + // + this.txtapplauncherwidth.BackColor = System.Drawing.Color.White; + this.txtapplauncherwidth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtapplauncherwidth.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtapplauncherwidth.ForeColor = System.Drawing.Color.Black; + this.txtapplauncherwidth.Location = new System.Drawing.Point(149, 106); + this.txtapplauncherwidth.Name = "txtapplauncherwidth"; + this.txtapplauncherwidth.Size = new System.Drawing.Size(54, 22); + this.txtapplauncherwidth.TabIndex = 32; + this.txtapplauncherwidth.TextChanged += new System.EventHandler(this.txtapplauncherwidth_TextChanged); + // + // Label72 + // + this.Label72.AutoSize = true; + this.Label72.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label72.Location = new System.Drawing.Point(104, 108); + this.Label72.Name = "Label72"; + this.Label72.Size = new System.Drawing.Size(45, 16); + this.Label72.TabIndex = 31; + this.Label72.Text = "Width:"; + // + // txtappbuttonlabel + // + this.txtappbuttonlabel.BackColor = System.Drawing.Color.White; + this.txtappbuttonlabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtappbuttonlabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtappbuttonlabel.ForeColor = System.Drawing.Color.Black; + this.txtappbuttonlabel.Location = new System.Drawing.Point(54, 81); + this.txtappbuttonlabel.Name = "txtappbuttonlabel"; + this.txtappbuttonlabel.Size = new System.Drawing.Size(81, 22); + this.txtappbuttonlabel.TabIndex = 30; + this.txtappbuttonlabel.TextChanged += new System.EventHandler(this.txtappbuttonlabel_TextChanged); + // + // Label51 + // + this.Label51.AutoSize = true; + this.Label51.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label51.Location = new System.Drawing.Point(3, 84); + this.Label51.Name = "Label51"; + this.Label51.Size = new System.Drawing.Size(45, 16); + this.Label51.TabIndex = 29; + this.Label51.Text = "Label:"; + // + // Label50 + // + this.Label50.AutoSize = true; + this.Label50.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label50.Location = new System.Drawing.Point(141, 84); + this.Label50.Name = "Label50"; + this.Label50.Size = new System.Drawing.Size(37, 16); + this.Label50.TabIndex = 28; + this.Label50.Text = "Font:"; + // + // pnlmaintextcolour + // + this.pnlmaintextcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlmaintextcolour.Location = new System.Drawing.Point(156, 56); + this.pnlmaintextcolour.Name = "pnlmaintextcolour"; + this.pnlmaintextcolour.Size = new System.Drawing.Size(41, 20); + this.pnlmaintextcolour.TabIndex = 19; + this.pnlmaintextcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlmaintextcolour_MouseClick); + // + // comboappbuttontextstyle + // + this.comboappbuttontextstyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.comboappbuttontextstyle.FormattingEnabled = true; + this.comboappbuttontextstyle.Items.AddRange(new object[] { + "Bold", + "Italic", + "Regular", + "Strikeout", + "Underline"}); + this.comboappbuttontextstyle.Location = new System.Drawing.Point(244, 54); + this.comboappbuttontextstyle.Name = "comboappbuttontextstyle"; + this.comboappbuttontextstyle.Size = new System.Drawing.Size(64, 24); + this.comboappbuttontextstyle.TabIndex = 27; + this.comboappbuttontextstyle.SelectedIndexChanged += new System.EventHandler(this.comboappbuttontextstyle_SelectedIndexChanged); + // + // comboappbuttontextfont + // + this.comboappbuttontextfont.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.comboappbuttontextfont.FormattingEnabled = true; + this.comboappbuttontextfont.Location = new System.Drawing.Point(182, 80); + this.comboappbuttontextfont.Name = "comboappbuttontextfont"; + this.comboappbuttontextfont.Size = new System.Drawing.Size(125, 24); + this.comboappbuttontextfont.TabIndex = 26; + this.comboappbuttontextfont.SelectedIndexChanged += new System.EventHandler(this.comboappbuttontextfont_SelectedIndexChanged); + // + // Label37 + // + this.Label37.AutoSize = true; + this.Label37.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label37.Location = new System.Drawing.Point(201, 57); + this.Label37.Name = "Label37"; + this.Label37.Size = new System.Drawing.Size(41, 16); + this.Label37.TabIndex = 25; + this.Label37.Text = "Style:"; + // + // Label38 + // + this.Label38.AutoSize = true; + this.Label38.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label38.Location = new System.Drawing.Point(76, 57); + this.Label38.Name = "Label38"; + this.Label38.Size = new System.Drawing.Size(22, 16); + this.Label38.TabIndex = 24; + this.Label38.Text = "px"; + // + // txtappbuttontextsize + // + this.txtappbuttontextsize.BackColor = System.Drawing.Color.White; + this.txtappbuttontextsize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtappbuttontextsize.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtappbuttontextsize.ForeColor = System.Drawing.Color.Black; + this.txtappbuttontextsize.Location = new System.Drawing.Point(52, 55); + this.txtappbuttontextsize.Name = "txtappbuttontextsize"; + this.txtappbuttontextsize.Size = new System.Drawing.Size(23, 22); + this.txtappbuttontextsize.TabIndex = 23; + this.txtappbuttontextsize.TextChanged += new System.EventHandler(this.txtappbuttontextsize_TextChanged); + // + // Label39 + // + this.Label39.AutoSize = true; + this.Label39.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label39.Location = new System.Drawing.Point(2, 57); + this.Label39.Name = "Label39"; + this.Label39.Size = new System.Drawing.Size(49, 16); + this.Label39.TabIndex = 22; + this.Label39.Text = "T Size:"; + // + // Label40 + // + this.Label40.AutoSize = true; + this.Label40.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label40.Location = new System.Drawing.Point(102, 58); + this.Label40.Name = "Label40"; + this.Label40.Size = new System.Drawing.Size(50, 16); + this.Label40.TabIndex = 21; + this.Label40.Text = "Colour:"; + // + // pnlmenuitemsmouseover + // + this.pnlmenuitemsmouseover.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlmenuitemsmouseover.Location = new System.Drawing.Point(267, 31); + this.pnlmenuitemsmouseover.Name = "pnlmenuitemsmouseover"; + this.pnlmenuitemsmouseover.Size = new System.Drawing.Size(41, 20); + this.pnlmenuitemsmouseover.TabIndex = 20; + this.pnlmenuitemsmouseover.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlmenuitemsmouseover_MouseClick); + // + // Label41 + // + this.Label41.AutoSize = true; + this.Label41.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label41.Location = new System.Drawing.Point(177, 32); + this.Label41.Name = "Label41"; + this.Label41.Size = new System.Drawing.Size(84, 16); + this.Label41.TabIndex = 19; + this.Label41.Text = "Mouse Over:"; + // + // pnlmenuitemscolour + // + this.pnlmenuitemscolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlmenuitemscolour.Location = new System.Drawing.Point(128, 30); + this.pnlmenuitemscolour.Name = "pnlmenuitemscolour"; + this.pnlmenuitemscolour.Size = new System.Drawing.Size(41, 20); + this.pnlmenuitemscolour.TabIndex = 18; + this.pnlmenuitemscolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlmenuitemscolour_MouseClick); + // + // Label42 + // + this.Label42.AutoSize = true; + this.Label42.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label42.Location = new System.Drawing.Point(3, 32); + this.Label42.Name = "Label42"; + this.Label42.Size = new System.Drawing.Size(121, 16); + this.Label42.TabIndex = 17; + this.Label42.Text = "Menu Items Colour:"; + // + // pnlmainbuttonactivated + // + this.pnlmainbuttonactivated.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlmainbuttonactivated.Location = new System.Drawing.Point(267, 6); + this.pnlmainbuttonactivated.Name = "pnlmainbuttonactivated"; + this.pnlmainbuttonactivated.Size = new System.Drawing.Size(41, 20); + this.pnlmainbuttonactivated.TabIndex = 16; + this.pnlmainbuttonactivated.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlmainbuttonactivated_MouseClick); + // + // Label28 + // + this.Label28.AutoSize = true; + this.Label28.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label28.Location = new System.Drawing.Point(177, 7); + this.Label28.Name = "Label28"; + this.Label28.Size = new System.Drawing.Size(67, 16); + this.Label28.TabIndex = 15; + this.Label28.Text = "Activated:"; + // + // Label35 + // + this.Label35.AutoSize = true; + this.Label35.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label35.Location = new System.Drawing.Point(78, 108); + this.Label35.Name = "Label35"; + this.Label35.Size = new System.Drawing.Size(22, 16); + this.Label35.TabIndex = 14; + this.Label35.Text = "px"; + // + // txtapplicationsbuttonheight + // + this.txtapplicationsbuttonheight.BackColor = System.Drawing.Color.White; + this.txtapplicationsbuttonheight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtapplicationsbuttonheight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtapplicationsbuttonheight.ForeColor = System.Drawing.Color.Black; + this.txtapplicationsbuttonheight.Location = new System.Drawing.Point(54, 106); + this.txtapplicationsbuttonheight.Name = "txtapplicationsbuttonheight"; + this.txtapplicationsbuttonheight.Size = new System.Drawing.Size(23, 22); + this.txtapplicationsbuttonheight.TabIndex = 13; + this.txtapplicationsbuttonheight.TextChanged += new System.EventHandler(this.txtapplicationsbuttonheight_TextChanged); + // + // Label36 + // + this.Label36.AutoSize = true; + this.Label36.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label36.Location = new System.Drawing.Point(3, 108); + this.Label36.Name = "Label36"; + this.Label36.Size = new System.Drawing.Size(50, 16); + this.Label36.TabIndex = 12; + this.Label36.Text = "Height:"; + // + // pnlmainbuttoncolour + // + this.pnlmainbuttoncolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlmainbuttoncolour.Location = new System.Drawing.Point(128, 4); + this.pnlmainbuttoncolour.Name = "pnlmainbuttoncolour"; + this.pnlmainbuttoncolour.Size = new System.Drawing.Size(41, 20); + this.pnlmainbuttoncolour.TabIndex = 1; + this.pnlmainbuttoncolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlmainbuttoncolour_MouseClick); + // + // Label43 + // + this.Label43.AutoSize = true; + this.Label43.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label43.Location = new System.Drawing.Point(3, 7); + this.Label43.Name = "Label43"; + this.Label43.Size = new System.Drawing.Size(122, 16); + this.Label43.TabIndex = 0; + this.Label43.Text = "Main Button Colour:"; + // + // pnllauncheritems + // + this.pnllauncheritems.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnllauncheritems.Controls.Add(this.launcheritemtxtcolour); + this.pnllauncheritems.Controls.Add(this.Label116); + this.pnllauncheritems.Controls.Add(this.launcheritemstyle); + this.pnllauncheritems.Controls.Add(this.Label115); + this.pnllauncheritems.Controls.Add(this.launcheritemfont); + this.pnllauncheritems.Controls.Add(this.Label114); + this.pnllauncheritems.Controls.Add(this.txtlauncheritemtxtsize); + this.pnllauncheritems.Controls.Add(this.Label107); + this.pnllauncheritems.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnllauncheritems.Location = new System.Drawing.Point(128, 0); + this.pnllauncheritems.Name = "pnllauncheritems"; + this.pnllauncheritems.Size = new System.Drawing.Size(342, 137); + this.pnllauncheritems.TabIndex = 35; + // + // launcheritemtxtcolour + // + this.launcheritemtxtcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.launcheritemtxtcolour.Location = new System.Drawing.Point(239, 36); + this.launcheritemtxtcolour.Name = "launcheritemtxtcolour"; + this.launcheritemtxtcolour.Size = new System.Drawing.Size(41, 20); + this.launcheritemtxtcolour.TabIndex = 31; + this.launcheritemtxtcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.launcheritemtxtcolour_MouseClick); + // + // Label116 + // + this.Label116.AutoSize = true; + this.Label116.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label116.Location = new System.Drawing.Point(157, 37); + this.Label116.Name = "Label116"; + this.Label116.Size = new System.Drawing.Size(79, 16); + this.Label116.TabIndex = 30; + this.Label116.Text = "Text Colour:"; + // + // launcheritemstyle + // + this.launcheritemstyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.launcheritemstyle.FormattingEnabled = true; + this.launcheritemstyle.Items.AddRange(new object[] { + "Bold", + "Italic", + "Regular", + "Strikeout", + "Underline"}); + this.launcheritemstyle.Location = new System.Drawing.Point(54, 31); + this.launcheritemstyle.Name = "launcheritemstyle"; + this.launcheritemstyle.Size = new System.Drawing.Size(97, 24); + this.launcheritemstyle.TabIndex = 29; + this.launcheritemstyle.SelectedIndexChanged += new System.EventHandler(this.launcheritemstyle_SelectedIndexChanged); + // + // Label115 + // + this.Label115.AutoSize = true; + this.Label115.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); + this.Label115.Location = new System.Drawing.Point(8, 35); + this.Label115.Name = "Label115"; + this.Label115.Size = new System.Drawing.Size(41, 16); + this.Label115.TabIndex = 28; + this.Label115.Text = "Style:"; + // + // launcheritemfont + // + this.launcheritemfont.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.launcheritemfont.FormattingEnabled = true; + this.launcheritemfont.Location = new System.Drawing.Point(157, 4); + this.launcheritemfont.Name = "launcheritemfont"; + this.launcheritemfont.Size = new System.Drawing.Size(125, 24); + this.launcheritemfont.TabIndex = 27; + this.launcheritemfont.SelectedIndexChanged += new System.EventHandler(this.launcheritemfont_SelectedIndexChanged); + // + // Label114 + // + this.Label114.AutoSize = true; + this.Label114.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); + this.Label114.Location = new System.Drawing.Point(115, 6); + this.Label114.Name = "Label114"; + this.Label114.Size = new System.Drawing.Size(37, 16); + this.Label114.TabIndex = 15; + this.Label114.Text = "Font:"; + // + // txtlauncheritemtxtsize + // + this.txtlauncheritemtxtsize.BackColor = System.Drawing.Color.White; + this.txtlauncheritemtxtsize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtlauncheritemtxtsize.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtlauncheritemtxtsize.ForeColor = System.Drawing.Color.Black; + this.txtlauncheritemtxtsize.Location = new System.Drawing.Point(75, 4); + this.txtlauncheritemtxtsize.Name = "txtlauncheritemtxtsize"; + this.txtlauncheritemtxtsize.Size = new System.Drawing.Size(23, 22); + this.txtlauncheritemtxtsize.TabIndex = 14; + this.txtlauncheritemtxtsize.TextChanged += new System.EventHandler(this.txtlauncheritemtxtsize_TextChanged); + // + // Label107 + // + this.Label107.AutoSize = true; + this.Label107.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); + this.Label107.Location = new System.Drawing.Point(5, 6); + this.Label107.Name = "Label107"; + this.Label107.Size = new System.Drawing.Size(66, 16); + this.Label107.TabIndex = 0; + this.Label107.Text = "Text Size:"; + // + // pnlpanelclockoptions + // + this.pnlpanelclockoptions.Controls.Add(this.pnlclockbackgroundcolour); + this.pnlpanelclockoptions.Controls.Add(this.Label44); + this.pnlpanelclockoptions.Controls.Add(this.comboclocktextstyle); + this.pnlpanelclockoptions.Controls.Add(this.comboclocktextfont); + this.pnlpanelclockoptions.Controls.Add(this.Label26); + this.pnlpanelclockoptions.Controls.Add(this.Label29); + this.pnlpanelclockoptions.Controls.Add(this.txtclocktextfromtop); + this.pnlpanelclockoptions.Controls.Add(this.Label30); + this.pnlpanelclockoptions.Controls.Add(this.Label31); + this.pnlpanelclockoptions.Controls.Add(this.txtclocktextsize); + this.pnlpanelclockoptions.Controls.Add(this.Label32); + this.pnlpanelclockoptions.Controls.Add(this.Label33); + this.pnlpanelclockoptions.Controls.Add(this.pnlpanelclocktextcolour); + this.pnlpanelclockoptions.Controls.Add(this.Label34); + this.pnlpanelclockoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlpanelclockoptions.Location = new System.Drawing.Point(128, 0); + this.pnlpanelclockoptions.Name = "pnlpanelclockoptions"; + this.pnlpanelclockoptions.Size = new System.Drawing.Size(342, 137); + this.pnlpanelclockoptions.TabIndex = 15; + this.pnlpanelclockoptions.Visible = false; + // + // pnlclockbackgroundcolour + // + this.pnlclockbackgroundcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlclockbackgroundcolour.Location = new System.Drawing.Point(261, 5); + this.pnlclockbackgroundcolour.Name = "pnlclockbackgroundcolour"; + this.pnlclockbackgroundcolour.Size = new System.Drawing.Size(41, 20); + this.pnlclockbackgroundcolour.TabIndex = 20; + this.pnlclockbackgroundcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlclockbackgroundcolour_MouseClick); + // + // Label44 + // + this.Label44.AutoSize = true; + this.Label44.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label44.Location = new System.Drawing.Point(173, 7); + this.Label44.Name = "Label44"; + this.Label44.Size = new System.Drawing.Size(84, 16); + this.Label44.TabIndex = 19; + this.Label44.Text = "Background:"; + // + // comboclocktextstyle + // + this.comboclocktextstyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.comboclocktextstyle.FormattingEnabled = true; + this.comboclocktextstyle.Items.AddRange(new object[] { + "Bold", + "Italic", + "Regular", + "Strikeout", + "Underline"}); + this.comboclocktextstyle.Location = new System.Drawing.Point(209, 54); + this.comboclocktextstyle.Name = "comboclocktextstyle"; + this.comboclocktextstyle.Size = new System.Drawing.Size(99, 24); + this.comboclocktextstyle.TabIndex = 18; + this.comboclocktextstyle.SelectedIndexChanged += new System.EventHandler(this.comboclocktextstyle_SelectedIndexChanged); + // + // comboclocktextfont + // + this.comboclocktextfont.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.comboclocktextfont.FormattingEnabled = true; + this.comboclocktextfont.Location = new System.Drawing.Point(114, 28); + this.comboclocktextfont.Name = "comboclocktextfont"; + this.comboclocktextfont.Size = new System.Drawing.Size(192, 24); + this.comboclocktextfont.TabIndex = 17; + this.comboclocktextfont.SelectedIndexChanged += new System.EventHandler(this.comboclocktextfont_SelectedIndexChanged); + // + // Label26 + // + this.Label26.AutoSize = true; + this.Label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label26.Location = new System.Drawing.Point(166, 57); + this.Label26.Name = "Label26"; + this.Label26.Size = new System.Drawing.Size(41, 16); + this.Label26.TabIndex = 15; + this.Label26.Text = "Style:"; + // + // Label29 + // + this.Label29.AutoSize = true; + this.Label29.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label29.Location = new System.Drawing.Point(163, 82); + this.Label29.Name = "Label29"; + this.Label29.Size = new System.Drawing.Size(22, 16); + this.Label29.TabIndex = 11; + this.Label29.Text = "px"; + // + // txtclocktextfromtop + // + this.txtclocktextfromtop.BackColor = System.Drawing.Color.White; + this.txtclocktextfromtop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtclocktextfromtop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtclocktextfromtop.ForeColor = System.Drawing.Color.Black; + this.txtclocktextfromtop.Location = new System.Drawing.Point(139, 80); + this.txtclocktextfromtop.Name = "txtclocktextfromtop"; + this.txtclocktextfromtop.Size = new System.Drawing.Size(23, 22); + this.txtclocktextfromtop.TabIndex = 10; + this.txtclocktextfromtop.TextChanged += new System.EventHandler(this.txtclocktextfromtop_TextChanged); + // + // Label30 + // + this.Label30.AutoSize = true; + this.Label30.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label30.Location = new System.Drawing.Point(3, 82); + this.Label30.Name = "Label30"; + this.Label30.Size = new System.Drawing.Size(136, 16); + this.Label30.TabIndex = 9; + this.Label30.Text = "Clock Text From Top:"; + // + // Label31 + // + this.Label31.AutoSize = true; + this.Label31.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label31.Location = new System.Drawing.Point(138, 57); + this.Label31.Name = "Label31"; + this.Label31.Size = new System.Drawing.Size(22, 16); + this.Label31.TabIndex = 8; + this.Label31.Text = "px"; + // + // txtclocktextsize + // + this.txtclocktextsize.BackColor = System.Drawing.Color.White; + this.txtclocktextsize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtclocktextsize.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtclocktextsize.ForeColor = System.Drawing.Color.Black; + this.txtclocktextsize.Location = new System.Drawing.Point(114, 55); + this.txtclocktextsize.Name = "txtclocktextsize"; + this.txtclocktextsize.Size = new System.Drawing.Size(23, 22); + this.txtclocktextsize.TabIndex = 7; + this.txtclocktextsize.TextChanged += new System.EventHandler(this.txtclocktextsize_TextChanged); + // + // Label32 + // + this.Label32.AutoSize = true; + this.Label32.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label32.Location = new System.Drawing.Point(3, 57); + this.Label32.Name = "Label32"; + this.Label32.Size = new System.Drawing.Size(103, 16); + this.Label32.TabIndex = 6; + this.Label32.Text = "Clock Text Size:"; + // + // Label33 + // + this.Label33.AutoSize = true; + this.Label33.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label33.Location = new System.Drawing.Point(3, 32); + this.Label33.Name = "Label33"; + this.Label33.Size = new System.Drawing.Size(103, 16); + this.Label33.TabIndex = 2; + this.Label33.Text = "Clock Text Font:"; + // + // pnlpanelclocktextcolour + // + this.pnlpanelclocktextcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpanelclocktextcolour.Location = new System.Drawing.Point(121, 5); + this.pnlpanelclocktextcolour.Name = "pnlpanelclocktextcolour"; + this.pnlpanelclocktextcolour.Size = new System.Drawing.Size(41, 20); + this.pnlpanelclocktextcolour.TabIndex = 1; + this.pnlpanelclocktextcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlpanelclocktextcolour_MouseClick); + // + // Label34 + // + this.Label34.AutoSize = true; + this.Label34.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label34.Location = new System.Drawing.Point(3, 7); + this.Label34.Name = "Label34"; + this.Label34.Size = new System.Drawing.Size(116, 16); + this.Label34.TabIndex = 0; + this.Label34.Text = "Clock Text Colour:"; + // + // pnldesktopbackgroundoptions + // + this.pnldesktopbackgroundoptions.Controls.Add(this.pnldesktopcolour); + this.pnldesktopbackgroundoptions.Controls.Add(this.Label45); + this.pnldesktopbackgroundoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnldesktopbackgroundoptions.Location = new System.Drawing.Point(128, 0); + this.pnldesktopbackgroundoptions.Name = "pnldesktopbackgroundoptions"; + this.pnldesktopbackgroundoptions.Size = new System.Drawing.Size(342, 137); + this.pnldesktopbackgroundoptions.TabIndex = 10; + this.pnldesktopbackgroundoptions.Visible = false; + // + // pnldesktopcolour + // + this.pnldesktopcolour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pnldesktopcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnldesktopcolour.Location = new System.Drawing.Point(112, 5); + this.pnldesktopcolour.Name = "pnldesktopcolour"; + this.pnldesktopcolour.Size = new System.Drawing.Size(41, 20); + this.pnldesktopcolour.TabIndex = 3; + this.pnldesktopcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnldesktopcolour_MouseClick); + // + // Label45 + // + this.Label45.AutoSize = true; + this.Label45.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label45.Location = new System.Drawing.Point(3, 7); + this.Label45.Name = "Label45"; + this.Label45.Size = new System.Drawing.Size(104, 16); + this.Label45.TabIndex = 2; + this.Label45.Text = "Desktop Colour:"; + // + // pnldesktoppaneloptions + // + this.pnldesktoppaneloptions.Controls.Add(this.btnpanelbuttons); + this.pnldesktoppaneloptions.Controls.Add(this.Label27); + this.pnldesktoppaneloptions.Controls.Add(this.combodesktoppanelposition); + this.pnldesktoppaneloptions.Controls.Add(this.Label46); + this.pnldesktoppaneloptions.Controls.Add(this.Label47); + this.pnldesktoppaneloptions.Controls.Add(this.txtdesktoppanelheight); + this.pnldesktoppaneloptions.Controls.Add(this.Label48); + this.pnldesktoppaneloptions.Controls.Add(this.pnldesktoppanelcolour); + this.pnldesktoppaneloptions.Controls.Add(this.Label49); + this.pnldesktoppaneloptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnldesktoppaneloptions.Location = new System.Drawing.Point(128, 0); + this.pnldesktoppaneloptions.Name = "pnldesktoppaneloptions"; + this.pnldesktoppaneloptions.Size = new System.Drawing.Size(342, 137); + this.pnldesktoppaneloptions.TabIndex = 9; + this.pnldesktoppaneloptions.Visible = false; + // + // btnpanelbuttons + // + this.btnpanelbuttons.BackColor = System.Drawing.Color.White; + this.btnpanelbuttons.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnpanelbuttons.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnpanelbuttons.Location = new System.Drawing.Point(193, 101); + this.btnpanelbuttons.Name = "btnpanelbuttons"; + this.btnpanelbuttons.Size = new System.Drawing.Size(119, 29); + this.btnpanelbuttons.TabIndex = 8; + this.btnpanelbuttons.Text = "Panel Buttons >"; + this.btnpanelbuttons.UseVisualStyleBackColor = false; + this.btnpanelbuttons.Click += new System.EventHandler(this.btnpanelbuttons_Click); + // + // Label27 + // + this.Label27.Location = new System.Drawing.Point(3, 52); + this.Label27.Name = "Label27"; + this.Label27.Size = new System.Drawing.Size(290, 42); + this.Label27.TabIndex = 8; + this.Label27.Text = "Warning: If you set the panel position to the bottom you must hide your windows t" + + "askbar and restart ShiftOS on your host operating system to prevent a visual bug" + + "."; + // + // combodesktoppanelposition + // + this.combodesktoppanelposition.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.combodesktoppanelposition.FormattingEnabled = true; + this.combodesktoppanelposition.Items.AddRange(new object[] { + "Top", + "Bottom"}); + this.combodesktoppanelposition.Location = new System.Drawing.Point(103, 28); + this.combodesktoppanelposition.Name = "combodesktoppanelposition"; + this.combodesktoppanelposition.Size = new System.Drawing.Size(59, 24); + this.combodesktoppanelposition.TabIndex = 7; + this.combodesktoppanelposition.SelectedIndexChanged += new System.EventHandler(this.combodesktoppanelposition_SelectedIndexChanged); + // + // Label46 + // + this.Label46.AutoSize = true; + this.Label46.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label46.Location = new System.Drawing.Point(3, 31); + this.Label46.Name = "Label46"; + this.Label46.Size = new System.Drawing.Size(97, 16); + this.Label46.TabIndex = 6; + this.Label46.Text = "Panel Position:"; + // + // Label47 + // + this.Label47.AutoSize = true; + this.Label47.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label47.Location = new System.Drawing.Point(213, 7); + this.Label47.Name = "Label47"; + this.Label47.Size = new System.Drawing.Size(22, 16); + this.Label47.TabIndex = 5; + this.Label47.Text = "px"; + // + // txtdesktoppanelheight + // + this.txtdesktoppanelheight.BackColor = System.Drawing.Color.White; + this.txtdesktoppanelheight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtdesktoppanelheight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtdesktoppanelheight.ForeColor = System.Drawing.Color.Black; + this.txtdesktoppanelheight.Location = new System.Drawing.Point(189, 5); + this.txtdesktoppanelheight.Name = "txtdesktoppanelheight"; + this.txtdesktoppanelheight.Size = new System.Drawing.Size(23, 22); + this.txtdesktoppanelheight.TabIndex = 4; + this.txtdesktoppanelheight.TextChanged += new System.EventHandler(this.txtdesktoppanelheight_TextChanged); + // + // Label48 + // + this.Label48.AutoSize = true; + this.Label48.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label48.Location = new System.Drawing.Point(138, 7); + this.Label48.Name = "Label48"; + this.Label48.Size = new System.Drawing.Size(50, 16); + this.Label48.TabIndex = 2; + this.Label48.Text = "Height:"; + // + // pnldesktoppanelcolour + // + this.pnldesktoppanelcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnldesktoppanelcolour.Location = new System.Drawing.Point(92, 5); + this.pnldesktoppanelcolour.Name = "pnldesktoppanelcolour"; + this.pnldesktoppanelcolour.Size = new System.Drawing.Size(41, 20); + this.pnldesktoppanelcolour.TabIndex = 1; + this.pnldesktoppanelcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnldesktoppanelcolour_MouseClick); + // + // Label49 + // + this.Label49.AutoSize = true; + this.Label49.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label49.Location = new System.Drawing.Point(3, 7); + this.Label49.Name = "Label49"; + this.Label49.Size = new System.Drawing.Size(88, 16); + this.Label49.TabIndex = 0; + this.Label49.Text = "Panel Colour:"; + // + // pnldesktopintro + // + this.pnldesktopintro.Controls.Add(this.Label69); + this.pnldesktopintro.Controls.Add(this.Label70); + this.pnldesktopintro.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnldesktopintro.Location = new System.Drawing.Point(128, 0); + this.pnldesktopintro.Name = "pnldesktopintro"; + this.pnldesktopintro.Size = new System.Drawing.Size(342, 137); + this.pnldesktopintro.TabIndex = 17; + // + // Label69 + // + this.Label69.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label69.Location = new System.Drawing.Point(3, 20); + this.Label69.Name = "Label69"; + this.Label69.Size = new System.Drawing.Size(312, 113); + this.Label69.TabIndex = 1; + this.Label69.Text = resources.GetString("Label69.Text"); + this.Label69.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // Label70 + // + this.Label70.AutoSize = true; + this.Label70.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label70.Location = new System.Drawing.Point(86, -2); + this.Label70.Name = "Label70"; + this.Label70.Size = new System.Drawing.Size(148, 20); + this.Label70.TabIndex = 0; + this.Label70.Text = "Desktop Settings"; + // + // pnlpanelbuttonsoptions + // + this.pnlpanelbuttonsoptions.Controls.Add(this.pnlpanelbuttontextcolour); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label101); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttontexttop); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label104); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttontextside); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label106); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label93); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttontop); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label94); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttoninitalgap); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label108); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttonicontop); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label110); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttoniconside); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label112); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttoniconsize); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label105); + this.pnlpanelbuttonsoptions.Controls.Add(this.cbpanelbuttontextstyle); + this.pnlpanelbuttonsoptions.Controls.Add(this.cbpanelbuttonfont); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label100); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttontextsize); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label102); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label103); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label98); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttongap); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label99); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label96); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttonheight); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label97); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label92); + this.pnlpanelbuttonsoptions.Controls.Add(this.txtpanelbuttonwidth); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label91); + this.pnlpanelbuttonsoptions.Controls.Add(this.pnlpanelbuttoncolour); + this.pnlpanelbuttonsoptions.Controls.Add(this.Label95); + this.pnlpanelbuttonsoptions.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlpanelbuttonsoptions.Location = new System.Drawing.Point(128, 0); + this.pnlpanelbuttonsoptions.Name = "pnlpanelbuttonsoptions"; + this.pnlpanelbuttonsoptions.Size = new System.Drawing.Size(342, 137); + this.pnlpanelbuttonsoptions.TabIndex = 10; + this.pnlpanelbuttonsoptions.Visible = false; + // + // pnlpanelbuttontextcolour + // + this.pnlpanelbuttontextcolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlpanelbuttontextcolour.Location = new System.Drawing.Point(270, 57); + this.pnlpanelbuttontextcolour.Name = "pnlpanelbuttontextcolour"; + this.pnlpanelbuttontextcolour.Size = new System.Drawing.Size(41, 20); + this.pnlpanelbuttontextcolour.TabIndex = 50; + this.pnlpanelbuttontextcolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlpanelbuttontextcolour_MouseClick); + // + // Label101 + // + this.Label101.AutoSize = true; + this.Label101.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label101.Location = new System.Drawing.Point(219, 59); + this.Label101.Name = "Label101"; + this.Label101.Size = new System.Drawing.Size(50, 16); + this.Label101.TabIndex = 49; + this.Label101.Text = "Colour:"; + // + // txtpanelbuttontexttop + // + this.txtpanelbuttontexttop.BackColor = System.Drawing.Color.White; + this.txtpanelbuttontexttop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttontexttop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttontexttop.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttontexttop.Location = new System.Drawing.Point(225, 82); + this.txtpanelbuttontexttop.Name = "txtpanelbuttontexttop"; + this.txtpanelbuttontexttop.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttontexttop.TabIndex = 48; + this.txtpanelbuttontexttop.TextChanged += new System.EventHandler(this.txtpanelbuttontexttop_TextChanged); + // + // Label104 + // + this.Label104.AutoSize = true; + this.Label104.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label104.Location = new System.Drawing.Point(191, 84); + this.Label104.Name = "Label104"; + this.Label104.Size = new System.Drawing.Size(36, 16); + this.Label104.TabIndex = 47; + this.Label104.Text = "Top:"; + // + // txtpanelbuttontextside + // + this.txtpanelbuttontextside.BackColor = System.Drawing.Color.White; + this.txtpanelbuttontextside.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttontextside.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttontextside.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttontextside.Location = new System.Drawing.Point(165, 82); + this.txtpanelbuttontextside.Name = "txtpanelbuttontextside"; + this.txtpanelbuttontextside.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttontextside.TabIndex = 46; + this.txtpanelbuttontextside.TextChanged += new System.EventHandler(this.txtpanelbuttontextside_TextChanged); + // + // Label106 + // + this.Label106.AutoSize = true; + this.Label106.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label106.Location = new System.Drawing.Point(128, 84); + this.Label106.Name = "Label106"; + this.Label106.Size = new System.Drawing.Size(39, 16); + this.Label106.TabIndex = 45; + this.Label106.Text = "Side:"; + // + // Label93 + // + this.Label93.AutoSize = true; + this.Label93.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label93.Location = new System.Drawing.Point(292, 7); + this.Label93.Name = "Label93"; + this.Label93.Size = new System.Drawing.Size(22, 16); + this.Label93.TabIndex = 43; + this.Label93.Text = "px"; + // + // txtpanelbuttontop + // + this.txtpanelbuttontop.BackColor = System.Drawing.Color.White; + this.txtpanelbuttontop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttontop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttontop.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttontop.Location = new System.Drawing.Point(268, 5); + this.txtpanelbuttontop.Name = "txtpanelbuttontop"; + this.txtpanelbuttontop.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttontop.TabIndex = 42; + this.txtpanelbuttontop.TextChanged += new System.EventHandler(this.txtpanelbuttontop_TextChanged); + // + // Label94 + // + this.Label94.AutoSize = true; + this.Label94.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label94.Location = new System.Drawing.Point(233, 7); + this.Label94.Name = "Label94"; + this.Label94.Size = new System.Drawing.Size(36, 16); + this.Label94.TabIndex = 41; + this.Label94.Text = "Top:"; + // + // txtpanelbuttoninitalgap + // + this.txtpanelbuttoninitalgap.BackColor = System.Drawing.Color.White; + this.txtpanelbuttoninitalgap.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttoninitalgap.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttoninitalgap.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttoninitalgap.Location = new System.Drawing.Point(207, 5); + this.txtpanelbuttoninitalgap.Name = "txtpanelbuttoninitalgap"; + this.txtpanelbuttoninitalgap.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttoninitalgap.TabIndex = 40; + this.txtpanelbuttoninitalgap.TextChanged += new System.EventHandler(this.txtpanelbuttoninitalgap_TextChanged); + // + // Label108 + // + this.Label108.AutoSize = true; + this.Label108.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label108.Location = new System.Drawing.Point(137, 7); + this.Label108.Name = "Label108"; + this.Label108.Size = new System.Drawing.Size(70, 16); + this.Label108.TabIndex = 39; + this.Label108.Text = "Initial Gap:"; + // + // txtpanelbuttonicontop + // + this.txtpanelbuttonicontop.BackColor = System.Drawing.Color.White; + this.txtpanelbuttonicontop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttonicontop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttonicontop.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttonicontop.Location = new System.Drawing.Point(287, 108); + this.txtpanelbuttonicontop.Name = "txtpanelbuttonicontop"; + this.txtpanelbuttonicontop.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttonicontop.TabIndex = 37; + this.txtpanelbuttonicontop.TextChanged += new System.EventHandler(this.txtpanelbuttonicontop_TextChanged); + // + // Label110 + // + this.Label110.AutoSize = true; + this.Label110.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label110.Location = new System.Drawing.Point(221, 110); + this.Label110.Name = "Label110"; + this.Label110.Size = new System.Drawing.Size(64, 16); + this.Label110.TabIndex = 36; + this.Label110.Text = "Icon Top:"; + // + // txtpanelbuttoniconside + // + this.txtpanelbuttoniconside.BackColor = System.Drawing.Color.White; + this.txtpanelbuttoniconside.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttoniconside.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttoniconside.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttoniconside.Location = new System.Drawing.Point(180, 108); + this.txtpanelbuttoniconside.Name = "txtpanelbuttoniconside"; + this.txtpanelbuttoniconside.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttoniconside.TabIndex = 34; + this.txtpanelbuttoniconside.TextChanged += new System.EventHandler(this.txtpanelbuttoniconside_TextChanged); + // + // Label112 + // + this.Label112.AutoSize = true; + this.Label112.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label112.Location = new System.Drawing.Point(113, 110); + this.Label112.Name = "Label112"; + this.Label112.Size = new System.Drawing.Size(67, 16); + this.Label112.TabIndex = 33; + this.Label112.Text = "Icon Side:"; + // + // txtpanelbuttoniconsize + // + this.txtpanelbuttoniconsize.BackColor = System.Drawing.Color.White; + this.txtpanelbuttoniconsize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttoniconsize.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttoniconsize.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttoniconsize.Location = new System.Drawing.Point(70, 108); + this.txtpanelbuttoniconsize.Name = "txtpanelbuttoniconsize"; + this.txtpanelbuttoniconsize.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttoniconsize.TabIndex = 27; + this.txtpanelbuttoniconsize.TextChanged += new System.EventHandler(this.txtpanelbuttoniconsize_TextChanged); + // + // Label105 + // + this.Label105.AutoSize = true; + this.Label105.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label105.Location = new System.Drawing.Point(3, 110); + this.Label105.Name = "Label105"; + this.Label105.Size = new System.Drawing.Size(65, 16); + this.Label105.TabIndex = 26; + this.Label105.Text = "Icon Size:"; + // + // cbpanelbuttontextstyle + // + this.cbpanelbuttontextstyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbpanelbuttontextstyle.FormattingEnabled = true; + this.cbpanelbuttontextstyle.Items.AddRange(new object[] { + "Bold", + "Italic", + "Regular", + "Strikeout", + "Underline"}); + this.cbpanelbuttontextstyle.Location = new System.Drawing.Point(46, 83); + this.cbpanelbuttontextstyle.Name = "cbpanelbuttontextstyle"; + this.cbpanelbuttontextstyle.Size = new System.Drawing.Size(80, 24); + this.cbpanelbuttontextstyle.TabIndex = 25; + this.cbpanelbuttontextstyle.SelectedIndexChanged += new System.EventHandler(this.cbpanelbuttontextstyle_SelectedIndexChanged); + // + // cbpanelbuttonfont + // + this.cbpanelbuttonfont.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbpanelbuttonfont.FormattingEnabled = true; + this.cbpanelbuttonfont.Location = new System.Drawing.Point(70, 56); + this.cbpanelbuttonfont.Name = "cbpanelbuttonfont"; + this.cbpanelbuttonfont.Size = new System.Drawing.Size(147, 24); + this.cbpanelbuttonfont.TabIndex = 24; + this.cbpanelbuttonfont.SelectedIndexChanged += new System.EventHandler(this.cbpanelbuttonfont_SelectedIndexChanged); + // + // Label100 + // + this.Label100.AutoSize = true; + this.Label100.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label100.Location = new System.Drawing.Point(3, 86); + this.Label100.Name = "Label100"; + this.Label100.Size = new System.Drawing.Size(41, 16); + this.Label100.TabIndex = 23; + this.Label100.Text = "Style:"; + // + // txtpanelbuttontextsize + // + this.txtpanelbuttontextsize.BackColor = System.Drawing.Color.White; + this.txtpanelbuttontextsize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttontextsize.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttontextsize.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttontextsize.Location = new System.Drawing.Point(287, 82); + this.txtpanelbuttontextsize.Name = "txtpanelbuttontextsize"; + this.txtpanelbuttontextsize.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttontextsize.TabIndex = 21; + this.txtpanelbuttontextsize.TextChanged += new System.EventHandler(this.txtpanelbuttontextsize_TextChanged); + // + // Label102 + // + this.Label102.AutoSize = true; + this.Label102.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label102.Location = new System.Drawing.Point(252, 84); + this.Label102.Name = "Label102"; + this.Label102.Size = new System.Drawing.Size(37, 16); + this.Label102.TabIndex = 20; + this.Label102.Text = "Size:"; + // + // Label103 + // + this.Label103.AutoSize = true; + this.Label103.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label103.Location = new System.Drawing.Point(3, 60); + this.Label103.Name = "Label103"; + this.Label103.Size = new System.Drawing.Size(66, 16); + this.Label103.TabIndex = 19; + this.Label103.Text = "Text Font:"; + // + // Label98 + // + this.Label98.AutoSize = true; + this.Label98.BackColor = System.Drawing.Color.Transparent; + this.Label98.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label98.Location = new System.Drawing.Point(292, 33); + this.Label98.Name = "Label98"; + this.Label98.Size = new System.Drawing.Size(22, 16); + this.Label98.TabIndex = 14; + this.Label98.Text = "px"; + // + // txtpanelbuttongap + // + this.txtpanelbuttongap.BackColor = System.Drawing.Color.White; + this.txtpanelbuttongap.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttongap.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttongap.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttongap.Location = new System.Drawing.Point(268, 31); + this.txtpanelbuttongap.Name = "txtpanelbuttongap"; + this.txtpanelbuttongap.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttongap.TabIndex = 13; + this.txtpanelbuttongap.TextChanged += new System.EventHandler(this.txtpanelbuttongap_TextChanged); + // + // Label99 + // + this.Label99.AutoSize = true; + this.Label99.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label99.Location = new System.Drawing.Point(232, 33); + this.Label99.Name = "Label99"; + this.Label99.Size = new System.Drawing.Size(37, 16); + this.Label99.TabIndex = 12; + this.Label99.Text = "Gap:"; + // + // Label96 + // + this.Label96.AutoSize = true; + this.Label96.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label96.Location = new System.Drawing.Point(209, 34); + this.Label96.Name = "Label96"; + this.Label96.Size = new System.Drawing.Size(22, 16); + this.Label96.TabIndex = 11; + this.Label96.Text = "px"; + // + // txtpanelbuttonheight + // + this.txtpanelbuttonheight.BackColor = System.Drawing.Color.White; + this.txtpanelbuttonheight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttonheight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttonheight.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttonheight.Location = new System.Drawing.Point(185, 32); + this.txtpanelbuttonheight.Name = "txtpanelbuttonheight"; + this.txtpanelbuttonheight.Size = new System.Drawing.Size(23, 22); + this.txtpanelbuttonheight.TabIndex = 10; + this.txtpanelbuttonheight.TextChanged += new System.EventHandler(this.txtpanelbuttonheight_TextChanged); + // + // Label97 + // + this.Label97.AutoSize = true; + this.Label97.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label97.Location = new System.Drawing.Point(135, 34); + this.Label97.Name = "Label97"; + this.Label97.Size = new System.Drawing.Size(50, 16); + this.Label97.TabIndex = 9; + this.Label97.Text = "Height:"; + // + // Label92 + // + this.Label92.AutoSize = true; + this.Label92.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label92.Location = new System.Drawing.Point(114, 33); + this.Label92.Name = "Label92"; + this.Label92.Size = new System.Drawing.Size(22, 16); + this.Label92.TabIndex = 8; + this.Label92.Text = "px"; + // + // txtpanelbuttonwidth + // + this.txtpanelbuttonwidth.BackColor = System.Drawing.Color.White; + this.txtpanelbuttonwidth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtpanelbuttonwidth.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtpanelbuttonwidth.ForeColor = System.Drawing.Color.Black; + this.txtpanelbuttonwidth.Location = new System.Drawing.Point(88, 31); + this.txtpanelbuttonwidth.Name = "txtpanelbuttonwidth"; + this.txtpanelbuttonwidth.Size = new System.Drawing.Size(26, 22); + this.txtpanelbuttonwidth.TabIndex = 7; + this.txtpanelbuttonwidth.TextChanged += new System.EventHandler(this.txtpanelbuttonwidth_TextChanged); + // + // Label91 + // + this.Label91.AutoSize = true; + this.Label91.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label91.Location = new System.Drawing.Point(3, 33); + this.Label91.Name = "Label91"; + this.Label91.Size = new System.Drawing.Size(85, 16); + this.Label91.TabIndex = 6; + this.Label91.Text = "Button Width:"; + // + // pnlpanelbuttoncolour + // + this.pnlpanelbuttoncolour.Location = new System.Drawing.Point(94, 5); + this.pnlpanelbuttoncolour.Name = "pnlpanelbuttoncolour"; + this.pnlpanelbuttoncolour.Size = new System.Drawing.Size(41, 20); + this.pnlpanelbuttoncolour.TabIndex = 1; + this.pnlpanelbuttoncolour.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pnlpanelbuttoncolour_MouseClick); + // + // Label95 + // + this.Label95.AutoSize = true; + this.Label95.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label95.Location = new System.Drawing.Point(3, 7); + this.Label95.Name = "Label95"; + this.Label95.Size = new System.Drawing.Size(90, 16); + this.Label95.TabIndex = 0; + this.Label95.Text = "Button Colour:"; + // + // pnldesktopcategories + // + this.pnldesktopcategories.Controls.Add(this.btndesktopitself); + this.pnldesktopcategories.Controls.Add(this.btnpanelclock); + this.pnldesktopcategories.Controls.Add(this.btnapplauncher); + this.pnldesktopcategories.Controls.Add(this.btndesktoppanel); + this.pnldesktopcategories.Dock = System.Windows.Forms.DockStyle.Left; + this.pnldesktopcategories.Location = new System.Drawing.Point(0, 0); + this.pnldesktopcategories.Name = "pnldesktopcategories"; + this.pnldesktopcategories.Size = new System.Drawing.Size(128, 137); + this.pnldesktopcategories.TabIndex = 8; + // + // btndesktopitself + // + this.btndesktopitself.BackColor = System.Drawing.Color.White; + this.btndesktopitself.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btndesktopitself.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btndesktopitself.Location = new System.Drawing.Point(4, 105); + this.btndesktopitself.Name = "btndesktopitself"; + this.btndesktopitself.Size = new System.Drawing.Size(119, 29); + this.btndesktopitself.TabIndex = 7; + this.btndesktopitself.Text = "Desktop"; + this.btndesktopitself.UseVisualStyleBackColor = false; + this.btndesktopitself.Click += new System.EventHandler(this.btndesktopitself_Click); + // + // btnpanelclock + // + this.btnpanelclock.BackColor = System.Drawing.Color.White; + this.btnpanelclock.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnpanelclock.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnpanelclock.Location = new System.Drawing.Point(4, 70); + this.btnpanelclock.Name = "btnpanelclock"; + this.btnpanelclock.Size = new System.Drawing.Size(119, 29); + this.btnpanelclock.TabIndex = 6; + this.btnpanelclock.Text = "Panel Clock"; + this.btnpanelclock.UseVisualStyleBackColor = false; + this.btnpanelclock.Click += new System.EventHandler(this.btnpanelclock_Click); + // + // pnlreset + // + this.pnlreset.Controls.Add(this.Label113); + this.pnlreset.Controls.Add(this.btnresetallsettings); + this.pnlreset.Controls.Add(this.Label109); + this.pnlreset.Controls.Add(this.Label111); + this.pnlreset.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlreset.Location = new System.Drawing.Point(126, 0); + this.pnlreset.Name = "pnlreset"; + this.pnlreset.Size = new System.Drawing.Size(470, 307); + this.pnlreset.TabIndex = 18; + // + // Label113 + // + this.Label113.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label113.Location = new System.Drawing.Point(57, 231); + this.Label113.Name = "Label113"; + this.Label113.Size = new System.Drawing.Size(332, 33); + this.Label113.TabIndex = 5; + this.Label113.Text = "Warning! A Global Reset Is Irreversible!"; + this.Label113.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // btnresetallsettings + // + this.btnresetallsettings.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnresetallsettings.Font = new System.Drawing.Font("Cambria", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnresetallsettings.Location = new System.Drawing.Point(101, 145); + this.btnresetallsettings.Name = "btnresetallsettings"; + this.btnresetallsettings.Size = new System.Drawing.Size(255, 83); + this.btnresetallsettings.TabIndex = 4; + this.btnresetallsettings.TabStop = false; + this.btnresetallsettings.Text = "Reset All Settings"; + this.btnresetallsettings.UseVisualStyleBackColor = true; + this.btnresetallsettings.Click += new System.EventHandler(this.btnresetallsettings_Click); + // + // Label109 + // + this.Label109.BackColor = System.Drawing.Color.Transparent; + this.Label109.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label109.Location = new System.Drawing.Point(4, 40); + this.Label109.Name = "Label109"; + this.Label109.Size = new System.Drawing.Size(451, 66); + this.Label109.TabIndex = 3; + this.Label109.Text = resources.GetString("Label109.Text"); + this.Label109.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // Label111 + // + this.Label111.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label111.Location = new System.Drawing.Point(68, 4); + this.Label111.Name = "Label111"; + this.Label111.Size = new System.Drawing.Size(332, 33); + this.Label111.TabIndex = 2; + this.Label111.Text = "Global Settings Reset!"; + this.Label111.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // pnlshifterintro + // + this.pnlshifterintro.BackColor = System.Drawing.Color.White; + this.pnlshifterintro.Controls.Add(this.Label66); + this.pnlshifterintro.Controls.Add(this.Label65); + this.pnlshifterintro.Controls.Add(this.Label64); + this.pnlshifterintro.Controls.Add(this.Label63); + this.pnlshifterintro.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlshifterintro.Location = new System.Drawing.Point(126, 0); + this.pnlshifterintro.Name = "pnlshifterintro"; + this.pnlshifterintro.Size = new System.Drawing.Size(470, 307); + this.pnlshifterintro.TabIndex = 17; + // + // Label66 + // + this.Label66.BackColor = System.Drawing.Color.Transparent; + this.Label66.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label66.Location = new System.Drawing.Point(3, 227); + this.Label66.Name = "Label66"; + this.Label66.Size = new System.Drawing.Size(451, 65); + this.Label66.TabIndex = 3; + this.Label66.Text = resources.GetString("Label66.Text"); + this.Label66.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // Label65 + // + this.Label65.AutoSize = true; + this.Label65.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label65.Location = new System.Drawing.Point(53, 204); + this.Label65.Name = "Label65"; + this.Label65.Size = new System.Drawing.Size(352, 20); + this.Label65.TabIndex = 2; + this.Label65.Text = "You can earn codepoints using the Shifter!"; + // + // Label64 + // + this.Label64.BackColor = System.Drawing.Color.Transparent; + this.Label64.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label64.Location = new System.Drawing.Point(4, 32); + this.Label64.Name = "Label64"; + this.Label64.Size = new System.Drawing.Size(451, 163); + this.Label64.TabIndex = 1; + this.Label64.Text = resources.GetString("Label64.Text"); + this.Label64.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // Label63 + // + this.Label63.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label63.Location = new System.Drawing.Point(72, 0); + this.Label63.Name = "Label63"; + this.Label63.Size = new System.Drawing.Size(332, 29); + this.Label63.TabIndex = 0; + this.Label63.Text = "Welcome to the Shifter!"; + // + // catholder + // + this.catholder.BackColor = System.Drawing.Color.White; + this.catholder.Controls.Add(this.btnapply); + this.catholder.Controls.Add(this.btnreset); + this.catholder.Controls.Add(this.btnwindows); + this.catholder.Controls.Add(this.btndesktop); + this.catholder.Dock = System.Windows.Forms.DockStyle.Left; + this.catholder.Location = new System.Drawing.Point(0, 0); + this.catholder.Name = "catholder"; + this.catholder.Padding = new System.Windows.Forms.Padding(7); + this.catholder.Size = new System.Drawing.Size(126, 307); + this.catholder.TabIndex = 5; + // + // btnapply + // + this.btnapply.Dock = System.Windows.Forms.DockStyle.Bottom; + this.btnapply.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnapply.Font = new System.Drawing.Font("Cambria", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnapply.Location = new System.Drawing.Point(7, 271); + this.btnapply.Name = "btnapply"; + this.btnapply.Size = new System.Drawing.Size(112, 29); + this.btnapply.TabIndex = 3; + this.btnapply.TabStop = false; + this.btnapply.Text = "Apply Changes"; + this.btnapply.UseVisualStyleBackColor = true; + this.btnapply.Click += new System.EventHandler(this.btnapply_Click); + // + // btnreset + // + this.btnreset.BackColor = System.Drawing.Color.White; + this.btnreset.Dock = System.Windows.Forms.DockStyle.Top; + this.btnreset.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnreset.Font = new System.Drawing.Font("Cambria", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnreset.Location = new System.Drawing.Point(7, 65); + this.btnreset.Name = "btnreset"; + this.btnreset.Size = new System.Drawing.Size(112, 29); + this.btnreset.TabIndex = 8; + this.btnreset.TabStop = false; + this.btnreset.Text = "Reset"; + this.btnreset.UseVisualStyleBackColor = false; + this.btnreset.Click += new System.EventHandler(this.btnreset_Click); + // + // btnwindows + // + this.btnwindows.BackColor = System.Drawing.Color.White; + this.btnwindows.Dock = System.Windows.Forms.DockStyle.Top; + this.btnwindows.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnwindows.Font = new System.Drawing.Font("Cambria", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnwindows.Location = new System.Drawing.Point(7, 36); + this.btnwindows.Name = "btnwindows"; + this.btnwindows.Size = new System.Drawing.Size(112, 29); + this.btnwindows.TabIndex = 5; + this.btnwindows.TabStop = false; + this.btnwindows.Text = "Windows"; + this.btnwindows.UseVisualStyleBackColor = false; + this.btnwindows.Click += new System.EventHandler(this.btnwindows_Click); + // + // btndesktop + // + this.btndesktop.BackColor = System.Drawing.Color.White; + this.btndesktop.Dock = System.Windows.Forms.DockStyle.Top; + this.btndesktop.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btndesktop.Font = new System.Drawing.Font("Cambria", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btndesktop.Location = new System.Drawing.Point(7, 7); + this.btndesktop.Name = "btndesktop"; + this.btndesktop.Size = new System.Drawing.Size(112, 29); + this.btndesktop.TabIndex = 4; + this.btndesktop.TabStop = false; + this.btndesktop.Text = "Desktop"; + this.btndesktop.UseVisualStyleBackColor = false; + this.btndesktop.Click += new System.EventHandler(this.btndesktop_Click); + // + // Label1 + // + this.Label1.AutoSize = true; + this.Label1.ForeColor = System.Drawing.Color.White; + this.Label1.Location = new System.Drawing.Point(597, 3); + this.Label1.Name = "Label1"; + this.Label1.Size = new System.Drawing.Size(39, 13); + this.Label1.TabIndex = 1; + this.Label1.Text = "Label1"; + // + // Shifter + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(600, 339); + this.Controls.Add(this.pgcontents); + this.Name = "Shifter"; + this.Text = "Shifter"; + this.WindowIcon = global::ShiftOS.Properties.Resources.iconShifter; + this.WindowTitle = "Shifter"; + this.Controls.SetChildIndex(this.pgcontents, 0); + this.pnlbuttonoptions.ResumeLayout(false); + this.pnlrollupbuttonoptions.ResumeLayout(false); + this.pnlrollupbuttonoptions.PerformLayout(); + this.pnlminimizebuttonoptions.ResumeLayout(false); + this.pnlminimizebuttonoptions.PerformLayout(); + this.pnlclosebuttonoptions.ResumeLayout(false); + this.pnlclosebuttonoptions.PerformLayout(); + this.TitleButtonChoiceHolder.ResumeLayout(false); + this.TitleButtonChoiceHolder.PerformLayout(); + this.pnltitlebaroptions.ResumeLayout(false); + this.pnltitlebaroptions.PerformLayout(); + this.pnlwindowsoptions.ResumeLayout(false); + this.pnlwindowpreview.ResumeLayout(false); + this.PreviewTitleBar.ResumeLayout(false); + this.PreviewTitleBar.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.PreviewIconBox)).EndInit(); + this.PreviewBottom.ResumeLayout(false); + this.WindowOptionPositioner.ResumeLayout(false); + this.pnlborderoptions.ResumeLayout(false); + this.pnlborderoptions.PerformLayout(); + this.pnltitletextoptions.ResumeLayout(false); + this.pnltitletextoptions.PerformLayout(); + this.pnlwindowsintro.ResumeLayout(false); + this.pnlwindowsintro.PerformLayout(); + this.pnlwindowsobjects.ResumeLayout(false); + this.pgcontents.ResumeLayout(false); + this.pgcontents.PerformLayout(); + this.pnldesktopoptions.ResumeLayout(false); + this.pnldesktoppreview.ResumeLayout(false); + this.predesktoppanel.ResumeLayout(false); + this.prepnlpanelbuttonholder.ResumeLayout(false); + this.prepnlpanelbutton.ResumeLayout(false); + this.prepnlpanelbutton.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pretbicon)).EndInit(); + this.pretimepanel.ResumeLayout(false); + this.pretimepanel.PerformLayout(); + this.preapplaunchermenuholder.ResumeLayout(false); + this.predesktopappmenu.ResumeLayout(false); + this.predesktopappmenu.PerformLayout(); + this.DesktopOptionsPositioner.ResumeLayout(false); + this.pnlapplauncheroptions.ResumeLayout(false); + this.pnlapplauncheroptions.PerformLayout(); + this.pnllauncheritems.ResumeLayout(false); + this.pnllauncheritems.PerformLayout(); + this.pnlpanelclockoptions.ResumeLayout(false); + this.pnlpanelclockoptions.PerformLayout(); + this.pnldesktopbackgroundoptions.ResumeLayout(false); + this.pnldesktopbackgroundoptions.PerformLayout(); + this.pnldesktoppaneloptions.ResumeLayout(false); + this.pnldesktoppaneloptions.PerformLayout(); + this.pnldesktopintro.ResumeLayout(false); + this.pnldesktopintro.PerformLayout(); + this.pnlpanelbuttonsoptions.ResumeLayout(false); + this.pnlpanelbuttonsoptions.PerformLayout(); + this.pnldesktopcategories.ResumeLayout(false); + this.pnlreset.ResumeLayout(false); + this.pnlshifterintro.ResumeLayout(false); + this.pnlshifterintro.PerformLayout(); + this.catholder.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + internal System.Windows.Forms.Label Label80; + internal System.Windows.Forms.TextBox txticonfromtop; + internal System.Windows.Forms.Label Label81; + internal System.Windows.Forms.Label Label78; + internal System.Windows.Forms.TextBox txticonfromside; + internal System.Windows.Forms.Label Label79; + internal System.Windows.Forms.Label lbcornerwidthpx; + internal System.Windows.Forms.TextBox txttitlebarcornerwidth; + internal System.Windows.Forms.Label lbcornerwidth; + internal System.Windows.Forms.Panel pnltitlebarrightcornercolour; + internal System.Windows.Forms.Panel pnltitlebarleftcornercolour; + internal System.Windows.Forms.Label lbrightcornercolor; + internal System.Windows.Forms.Label lbleftcornercolor; + internal System.Windows.Forms.CheckBox cboxtitlebarcorners; + internal System.Windows.Forms.Label Label5; + internal System.Windows.Forms.TextBox txttitlebarheight; + internal System.Windows.Forms.Label Label4; + internal System.Windows.Forms.Panel pnltitlebarcolour; + internal System.Windows.Forms.ComboBox combotitletextposition; + internal System.Windows.Forms.Label Label2; + internal System.Windows.Forms.CheckBox cbindividualbordercolours; + internal System.Windows.Forms.Panel pnlbuttonoptions; + internal System.Windows.Forms.Panel pnlminimizebuttonoptions; + internal System.Windows.Forms.Label Label82; + internal System.Windows.Forms.Label Label83; + internal System.Windows.Forms.Panel pnlminimizebuttoncolour; + internal System.Windows.Forms.TextBox txtminimizebuttonside; + internal System.Windows.Forms.Label Label84; + internal System.Windows.Forms.Label Label85; + internal System.Windows.Forms.TextBox txtminimizebuttonheight; + internal System.Windows.Forms.Label Label86; + internal System.Windows.Forms.Label Label87; + internal System.Windows.Forms.TextBox txtminimizebuttontop; + internal System.Windows.Forms.Label Label88; + internal System.Windows.Forms.Label Label89; + internal System.Windows.Forms.TextBox txtminimizebuttonwidth; + internal System.Windows.Forms.Label Label90; + internal System.Windows.Forms.Panel pnlrollupbuttonoptions; + internal System.Windows.Forms.Label Label54; + internal System.Windows.Forms.Label Label55; + internal System.Windows.Forms.Panel pnlrollupbuttoncolour; + internal System.Windows.Forms.TextBox txtrollupbuttonside; + internal System.Windows.Forms.Label Label56; + internal System.Windows.Forms.Label Label57; + internal System.Windows.Forms.TextBox txtrollupbuttonheight; + internal System.Windows.Forms.Label Label58; + internal System.Windows.Forms.Label Label59; + internal System.Windows.Forms.TextBox txtrollupbuttontop; + internal System.Windows.Forms.Label Label60; + internal System.Windows.Forms.Label Label61; + internal System.Windows.Forms.TextBox txtrollupbuttonwidth; + internal System.Windows.Forms.Label Label62; + internal System.Windows.Forms.ComboBox combobuttonoption; + internal System.Windows.Forms.Label Label52; + internal System.Windows.Forms.Panel pnlclosebuttonoptions; + internal System.Windows.Forms.Label Label8; + internal System.Windows.Forms.Label Label11; + internal System.Windows.Forms.Panel pnlclosebuttoncolour; + internal System.Windows.Forms.TextBox txtclosebuttonfromside; + internal System.Windows.Forms.Label Label7; + internal System.Windows.Forms.Label Label12; + internal System.Windows.Forms.TextBox txtclosebuttonheight; + internal System.Windows.Forms.Label Label13; + internal System.Windows.Forms.Label Label6; + internal System.Windows.Forms.TextBox txtclosebuttonfromtop; + internal System.Windows.Forms.Label Label10; + internal System.Windows.Forms.Label Label14; + internal System.Windows.Forms.TextBox txtclosebuttonwidth; + internal System.Windows.Forms.Label Label9; + internal System.Windows.Forms.Button btndesktoppanel; + internal System.Windows.Forms.Panel pnlborderbottomrightcolour; + internal System.Windows.Forms.Label Label77; + internal System.Windows.Forms.Panel pnlborderbottomcolour; + internal System.Windows.Forms.Label Label76; + internal System.Windows.Forms.Panel pnlborderbottomleftcolour; + internal System.Windows.Forms.Label Label75; + internal System.Windows.Forms.Panel pnlborderrightcolour; + internal System.Windows.Forms.Label Label74; + internal System.Windows.Forms.Panel pnlborderleftcolour; + internal System.Windows.Forms.Label Label73; + internal System.Windows.Forms.Label Label15; + internal System.Windows.Forms.Panel pnlbordercolour; + internal System.Windows.Forms.TextBox txtbordersize; + internal System.Windows.Forms.Label Label3; + internal System.Windows.Forms.Label Label16; + internal System.Windows.Forms.Panel pnltitlebaroptions; + internal System.Windows.Forms.Panel pnlwindowsoptions; + internal System.Windows.Forms.Panel pnlborderoptions; + internal System.Windows.Forms.Panel pnltitletextoptions; + internal System.Windows.Forms.Label Label53; + internal System.Windows.Forms.ComboBox combotitletextstyle; + internal System.Windows.Forms.ComboBox combotitletextfont; + internal System.Windows.Forms.Label Label23; + internal System.Windows.Forms.Label Label17; + internal System.Windows.Forms.TextBox txttitletextside; + internal System.Windows.Forms.Label Label18; + internal System.Windows.Forms.Label Label19; + internal System.Windows.Forms.TextBox txttitletexttop; + internal System.Windows.Forms.Label Label20; + internal System.Windows.Forms.Label Label21; + internal System.Windows.Forms.TextBox txttitletextsize; + internal System.Windows.Forms.Label Label22; + internal System.Windows.Forms.Label Label24; + internal System.Windows.Forms.Panel pnltitletextcolour; + internal System.Windows.Forms.Label Label25; + internal System.Windows.Forms.Panel pnlwindowsintro; + internal System.Windows.Forms.Label Label68; + internal System.Windows.Forms.Label Label67; + internal System.Windows.Forms.Panel pnlwindowsobjects; + internal System.Windows.Forms.Button btnborders; + internal System.Windows.Forms.Button btnbuttons; + internal System.Windows.Forms.Button btntitletext; + internal System.Windows.Forms.Button btntitlebar; + internal System.Windows.Forms.Panel pnlwindowpreview; + internal System.Windows.Forms.Button btnapplauncher; + internal System.Windows.Forms.Panel pgcontents; + internal System.Windows.Forms.Panel pnlreset; + internal System.Windows.Forms.Label Label113; + internal System.Windows.Forms.Button btnresetallsettings; + internal System.Windows.Forms.Label Label109; + internal System.Windows.Forms.Label Label111; + internal System.Windows.Forms.Panel pnldesktopoptions; + internal System.Windows.Forms.Panel pnlapplauncheroptions; + internal System.Windows.Forms.Panel pnllauncheritems; + internal System.Windows.Forms.Panel launcheritemtxtcolour; + internal System.Windows.Forms.Label Label116; + internal System.Windows.Forms.ComboBox launcheritemstyle; + internal System.Windows.Forms.Label Label115; + internal System.Windows.Forms.ComboBox launcheritemfont; + internal System.Windows.Forms.Label Label114; + internal System.Windows.Forms.TextBox txtlauncheritemtxtsize; + internal System.Windows.Forms.Label Label107; + internal System.Windows.Forms.Button btnshowlauncheritems; + internal System.Windows.Forms.Label Label71; + internal System.Windows.Forms.TextBox txtapplauncherwidth; + internal System.Windows.Forms.Label Label72; + internal System.Windows.Forms.TextBox txtappbuttonlabel; + internal System.Windows.Forms.Label Label51; + internal System.Windows.Forms.Label Label50; + internal System.Windows.Forms.Panel pnlmaintextcolour; + internal System.Windows.Forms.ComboBox comboappbuttontextstyle; + internal System.Windows.Forms.ComboBox comboappbuttontextfont; + internal System.Windows.Forms.Label Label37; + internal System.Windows.Forms.Label Label38; + internal System.Windows.Forms.TextBox txtappbuttontextsize; + internal System.Windows.Forms.Label Label39; + internal System.Windows.Forms.Label Label40; + internal System.Windows.Forms.Panel pnlmenuitemsmouseover; + internal System.Windows.Forms.Label Label41; + internal System.Windows.Forms.Panel pnlmenuitemscolour; + internal System.Windows.Forms.Label Label42; + internal System.Windows.Forms.Panel pnlmainbuttonactivated; + internal System.Windows.Forms.Label Label28; + internal System.Windows.Forms.Label Label35; + internal System.Windows.Forms.TextBox txtapplicationsbuttonheight; + internal System.Windows.Forms.Label Label36; + internal System.Windows.Forms.Panel pnlmainbuttoncolour; + internal System.Windows.Forms.Label Label43; + internal System.Windows.Forms.Panel pnldesktoppreview; + internal System.Windows.Forms.Panel predesktoppanel; + internal System.Windows.Forms.FlowLayoutPanel prepnlpanelbuttonholder; + internal System.Windows.Forms.Panel prepnlpanelbutton; + internal System.Windows.Forms.PictureBox pretbicon; + internal System.Windows.Forms.Label pretbctext; + internal System.Windows.Forms.Panel pretimepanel; + internal System.Windows.Forms.Label prepaneltimetext; + internal System.Windows.Forms.Panel preapplaunchermenuholder; + internal System.Windows.Forms.MenuStrip predesktopappmenu; + internal System.Windows.Forms.ToolStripMenuItem ApplicationsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem KnowledgeInputToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ShiftoriumToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ClockToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem TerminalToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ShifterToolStripMenuItem; + internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator1; + internal System.Windows.Forms.ToolStripMenuItem ShutdownToolStripMenuItem; + internal System.Windows.Forms.Panel pnlpanelbuttonsoptions; + internal System.Windows.Forms.Panel pnlpanelbuttontextcolour; + internal System.Windows.Forms.Label Label101; + internal System.Windows.Forms.TextBox txtpanelbuttontexttop; + internal System.Windows.Forms.Label Label104; + internal System.Windows.Forms.TextBox txtpanelbuttontextside; + internal System.Windows.Forms.Label Label106; + internal System.Windows.Forms.Label Label93; + internal System.Windows.Forms.TextBox txtpanelbuttontop; + internal System.Windows.Forms.Label Label94; + internal System.Windows.Forms.TextBox txtpanelbuttoninitalgap; + internal System.Windows.Forms.Label Label108; + internal System.Windows.Forms.TextBox txtpanelbuttonicontop; + internal System.Windows.Forms.Label Label110; + internal System.Windows.Forms.TextBox txtpanelbuttoniconside; + internal System.Windows.Forms.Label Label112; + internal System.Windows.Forms.TextBox txtpanelbuttoniconsize; + internal System.Windows.Forms.Label Label105; + internal System.Windows.Forms.ComboBox cbpanelbuttontextstyle; + internal System.Windows.Forms.ComboBox cbpanelbuttonfont; + internal System.Windows.Forms.Label Label100; + internal System.Windows.Forms.TextBox txtpanelbuttontextsize; + internal System.Windows.Forms.Label Label102; + internal System.Windows.Forms.Label Label103; + internal System.Windows.Forms.Label Label98; + internal System.Windows.Forms.TextBox txtpanelbuttongap; + internal System.Windows.Forms.Label Label99; + internal System.Windows.Forms.Label Label96; + internal System.Windows.Forms.TextBox txtpanelbuttonheight; + internal System.Windows.Forms.Label Label97; + internal System.Windows.Forms.Label Label92; + internal System.Windows.Forms.TextBox txtpanelbuttonwidth; + internal System.Windows.Forms.Label Label91; + internal System.Windows.Forms.Panel pnlpanelbuttoncolour; + internal System.Windows.Forms.Label Label95; + internal System.Windows.Forms.Panel pnldesktoppaneloptions; + internal System.Windows.Forms.Button btnpanelbuttons; + internal System.Windows.Forms.Label Label27; + internal System.Windows.Forms.ComboBox combodesktoppanelposition; + internal System.Windows.Forms.Label Label46; + internal System.Windows.Forms.Label Label47; + internal System.Windows.Forms.TextBox txtdesktoppanelheight; + internal System.Windows.Forms.Label Label48; + internal System.Windows.Forms.Panel pnldesktoppanelcolour; + internal System.Windows.Forms.Label Label49; + internal System.Windows.Forms.Panel pnldesktopintro; + internal System.Windows.Forms.Label Label69; + internal System.Windows.Forms.Label Label70; + internal System.Windows.Forms.Panel pnlpanelclockoptions; + internal System.Windows.Forms.Panel pnlclockbackgroundcolour; + internal System.Windows.Forms.Label Label44; + internal System.Windows.Forms.ComboBox comboclocktextstyle; + internal System.Windows.Forms.ComboBox comboclocktextfont; + internal System.Windows.Forms.Label Label26; + internal System.Windows.Forms.Label Label29; + internal System.Windows.Forms.TextBox txtclocktextfromtop; + internal System.Windows.Forms.Label Label30; + internal System.Windows.Forms.Label Label31; + internal System.Windows.Forms.TextBox txtclocktextsize; + internal System.Windows.Forms.Label Label32; + internal System.Windows.Forms.Label Label33; + internal System.Windows.Forms.Panel pnlpanelclocktextcolour; + internal System.Windows.Forms.Label Label34; + internal System.Windows.Forms.Panel pnldesktopbackgroundoptions; + internal System.Windows.Forms.Panel pnldesktopcolour; + internal System.Windows.Forms.Label Label45; + internal System.Windows.Forms.Panel pnldesktopcategories; + internal System.Windows.Forms.Button btndesktopitself; + internal System.Windows.Forms.Button btnpanelclock; + internal System.Windows.Forms.Panel pnlshifterintro; + internal System.Windows.Forms.Label Label66; + internal System.Windows.Forms.Label Label65; + internal System.Windows.Forms.Label Label64; + internal System.Windows.Forms.Label Label63; + internal System.Windows.Forms.Panel catholder; + internal System.Windows.Forms.Button btnreset; + internal System.Windows.Forms.Button btnwindows; + internal System.Windows.Forms.Button btndesktop; + internal System.Windows.Forms.Button btnapply; + internal System.Windows.Forms.Label Label1; + private System.Windows.Forms.Panel PreviewTitleBar; + private System.Windows.Forms.PictureBox PreviewIconBox; + private System.Windows.Forms.Label PreviewTitleText; + private System.Windows.Forms.Panel PreviewMinimize; + private System.Windows.Forms.Panel PreviewRoll; + private System.Windows.Forms.Panel PreviewClose; + private System.Windows.Forms.Panel PreviewTitleRight; + private System.Windows.Forms.Panel PreviewTitleLeft; + private System.Windows.Forms.Panel PreviewBottom; + private System.Windows.Forms.Panel PreviewBottomRight; + private System.Windows.Forms.Panel PreviewBottomLeft; + private System.Windows.Forms.Panel PreviewLeft; + private System.Windows.Forms.Panel PreviewRight; + private System.Windows.Forms.Panel WindowOptionPositioner; + private System.Windows.Forms.Panel TitleButtonChoiceHolder; + private System.Windows.Forms.Panel DesktopOptionsPositioner; + } +} \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/Shifter.cs b/ShiftOS/ShiftOS/Programs/Shifter.cs new file mode 100644 index 0000000..da606a1 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/Shifter.cs @@ -0,0 +1,1678 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using ShiftOS.Windowing; +using ShiftOS.Metadata; + +namespace ShiftOS.Programs +{ + [Program("shifter", "Shifter", "Customize the look and feel of ShiftOS.")] + [Requires("shifter")] + [AppLauncherRequirement("alshifter")] + public partial class Shifter : Window + { + private SkinContext EditingSkin = null; + + public enum ShifterCategory + { + Intro, + Desktop, + Windows, + Reset + } + + public enum ShifterDesktopCategory + { + Intro, + Background, + Panel, + Clock, + PanelButtons, + AppLauncher, + LauncherItems + } + + public enum ShifterWindowCategory + { + Intro, + TitleBar, + TitleText, + Buttons, + Borders + } + + public enum ShifterTitleButton + { + Close, + Minimize, + Roll + } + + private ShifterDesktopCategory CurrentDesktopCategory = ShifterDesktopCategory.Intro; + private ShifterCategory CurrentCategory = ShifterCategory.Intro; + private ShifterWindowCategory CurrentWindowCategory = ShifterWindowCategory.Intro; + private ShifterTitleButton CurrentTitleButton = ShifterTitleButton.Close; + + public Shifter() + { + InitializeComponent(); + } + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + + AddFonts(); + + EditingSkin = CurrentSystem.GetSkinContext().MakeClone(); + + ResetAppLauncherRenderer(); + + combobuttonoption.Items.Clear(); + + foreach(var name in Enum.GetNames(typeof(ShifterTitleButton))) + { + combobuttonoption.Items.Add(name); + } + } + + private bool AssertModuleInstalled(Control InControl) + { + if(InControl.Text == "???") + { + CurrentSystem.ShowInfo("Shifter", "Shifter could not find the requested Shifter module."); + return false; + } + return true; + } + + private void ResetAppLauncherRenderer() + { + predesktopappmenu.Renderer = new ToolStripSkinRenderer(EditingSkin); + } + + protected override void OnDesktopUpdate() + { + // Determine master category visibility. + pnlshifterintro.Visible = CurrentCategory == ShifterCategory.Intro; + pnldesktopoptions.Visible = CurrentCategory == ShifterCategory.Desktop; + pnlwindowsoptions.Visible = CurrentCategory == ShifterCategory.Windows; + pnlreset.Visible = CurrentCategory == ShifterCategory.Reset; + + // Set up window category visibility. + pnlwindowsintro.Visible = CurrentWindowCategory == ShifterWindowCategory.Intro; + pnltitlebaroptions.Visible = CurrentWindowCategory == ShifterWindowCategory.TitleBar; + pnltitletextoptions.Visible = CurrentWindowCategory == ShifterWindowCategory.TitleText; + pnlborderoptions.Visible = CurrentWindowCategory == ShifterWindowCategory.Borders; + pnlbuttonoptions.Visible = CurrentWindowCategory == ShifterWindowCategory.Buttons; + + // Set up title button editor visibility. + pnlclosebuttonoptions.Visible = CurrentTitleButton == ShifterTitleButton.Close; + pnlrollupbuttonoptions.Visible = CurrentTitleButton == ShifterTitleButton.Roll; + pnlminimizebuttonoptions.Visible = CurrentTitleButton == ShifterTitleButton.Minimize; + + // Is the title button combo box dropped down? + if (!this.combobuttonoption.DroppedDown) + { + // Determine the text that gets displayed by the title button combo box. + this.combobuttonoption.SelectedIndex = (int)CurrentTitleButton; + } + + // Set up the preview for the Close Button. + SetupCloseButton(); + SetupRollButton(); + SetupMinimizeButton(); + + // Determine category accessibility. + SetModuleText(btnbuttons, "Buttons", "shifttitlebuttons"); + SetModuleText(btnborders, "Borders", "shiftborders"); + SetModuleText(btntitlebar, "Title Bar", "shifttitlebar"); + SetModuleText(btntitletext, "Title Text", "shifttitletext"); + + btnwindows.Text = (btntitlebar.Text == "???" && btntitletext.Text == "???" && btnborders.Text == "???" && btnbuttons.Text == "???") ? "???" : "Windows"; + + // Set up the titlebar. + SetupTitleBar(); + SetupTitleText(); + SetupBorders(); + + // Wow, only took me 6 hours to get the window skinning shit working lol + + // Determine desktop category visibility. + pnldesktopintro.Visible = CurrentDesktopCategory == ShifterDesktopCategory.Intro; + pnldesktopbackgroundoptions.Visible = CurrentDesktopCategory == ShifterDesktopCategory.Background; + pnldesktoppaneloptions.Visible = CurrentDesktopCategory == ShifterDesktopCategory.Panel; + pnlpanelbuttonsoptions.Visible = CurrentDesktopCategory == ShifterDesktopCategory.PanelButtons; + pnlapplauncheroptions.Visible = CurrentDesktopCategory == ShifterDesktopCategory.AppLauncher; + pnllauncheritems.Visible = CurrentDesktopCategory == ShifterDesktopCategory.LauncherItems; + pnlpanelclockoptions.Visible = CurrentDesktopCategory == ShifterDesktopCategory.Clock; + + // Determine desktop category accessibility. + SetModuleText(btndesktopitself, "Desktop", "shiftdesktop"); + SetModuleText(btndesktop, "Desktop", "shiftdesktop"); + SetModuleText(btndesktoppanel, "Desktop Panel", "shiftdesktoppanel"); + SetModuleText(btnapplauncher, "App Launcher", "shiftapplauncher"); + SetModuleText(btnpanelclock, "Panel Clock", "shiftpanelclock"); + SetModuleText(btnpanelbuttons, "Panel Buttons", "shiftpanelbuttons"); + + // Set up desktop preview. + SetupDesktop(); + + base.OnDesktopUpdate(); + } + + private void SetupDesktop() + { + if (EditingSkin.HasImage("desktopbackground")) + { + pnldesktoppreview.BackgroundImage = EditingSkin.GetImage("desktopbackground"); + pnldesktoppreview.BackColor = Color.Transparent; + pnldesktoppreview.BackgroundImageLayout = EditingSkin.GetSkinData().desktopbackgroundlayout; + } + else + { + pnldesktoppreview.BackgroundImage = null; + pnldesktoppreview.BackColor = EditingSkin.GetSkinData().desktopbackgroundcolour; + } + + pnldesktopcolour.BackColor = pnldesktoppreview.BackColor; + pnldesktopcolour.BackgroundImage = pnldesktoppreview.BackgroundImage; + pnldesktopcolour.BackgroundImageLayout = pnldesktoppreview.BackgroundImageLayout; + + predesktoppanel.Height = EditingSkin.GetSkinData().desktoppanelheight; + txtdesktoppanelheight.Text = predesktoppanel.Height.ToString(); + + if (!combodesktoppanelposition.DroppedDown) + combodesktoppanelposition.Text = EditingSkin.GetSkinData().desktoppanelposition; + + if (combodesktoppanelposition.Text == "Top") + { + predesktoppanel.Dock = DockStyle.Top; + } + else + { + predesktoppanel.Dock = DockStyle.Bottom; + } + + if (EditingSkin.HasImage("desktoppanel")) + { + predesktoppanel.BackgroundImage = EditingSkin.GetImage("desktoppanel"); + predesktoppanel.BackColor = Color.Transparent; + predesktoppanel.BackgroundImageLayout = EditingSkin.GetSkinData().desktoppanellayout; + } + else + { + predesktoppanel.BackColor = EditingSkin.GetSkinData().desktoppanelcolour; + predesktoppanel.BackgroundImage = null; + } + + pnldesktoppanelcolour.BackColor = predesktoppanel.BackColor; + pnldesktoppanelcolour.BackgroundImage = predesktoppanel.BackgroundImage; + pnldesktoppanelcolour.BackgroundImageLayout = predesktoppanel.BackgroundImageLayout; + + prepaneltimetext.Text = CurrentSystem.GetTimeOfDay(); + + this.pnlpanelclocktextcolour.BackColor = prepaneltimetext.ForeColor = EditingSkin.GetSkinData().clocktextcolour; + + if (EditingSkin.HasImage("panelclock")) + { + pretimepanel.BackgroundImage = EditingSkin.GetImage("panelclock"); + pretimepanel.BackColor = Color.Transparent; + pretimepanel.BackgroundImageLayout = EditingSkin.GetSkinData().panelclocklayout; + } + else + { + pretimepanel.BackColor = EditingSkin.GetSkinData().clockbackgroundcolor; + pretimepanel.BackgroundImage = null; + } + + pnlclockbackgroundcolour.BackColor = pretimepanel.BackColor; + pnlclockbackgroundcolour.BackgroundImage = pretimepanel.BackgroundImage; + pnlclockbackgroundcolour.BackgroundImageLayout = pretimepanel.BackgroundImageLayout; + + if (prepaneltimetext.Font.Name != EditingSkin.GetSkinData().panelclocktextfont || prepaneltimetext.Font.Size != EditingSkin.GetSkinData().panelclocktextsize || prepaneltimetext.Font.Style != EditingSkin.GetSkinData().panelclocktextstyle) + { + prepaneltimetext.Font = new Font(EditingSkin.GetSkinData().panelclocktextfont, EditingSkin.GetSkinData().panelclocktextsize, EditingSkin.GetSkinData().panelclocktextstyle); + } + + if (!comboclocktextfont.DroppedDown) + comboclocktextfont.Text = prepaneltimetext.Font.Name; + + if (!comboclocktextstyle.DroppedDown) + comboclocktextstyle.Text = prepaneltimetext.Font.Style.ToString(); + + txtclocktextsize.Text = prepaneltimetext.Font.Size.ToString(); + + pretimepanel.Width = prepaneltimetext.Width + 3; + + prepaneltimetext.Left = 0; + prepaneltimetext.Top = EditingSkin.GetSkinData().panelclocktexttop; + txtclocktextfromtop.Text = prepaneltimetext.Top.ToString(); + + // Most app launcher colors are dealt with by the skin renderer. + // Unlike 0.0.x, we don't use a separate renderer for previews, + // so the game already knows how to skin the app launcher preview + // in the exact same way it does the real thing. + // + // We still need to skin the app launcher button itself though. + + // This handles the app launhcher's name. + txtappbuttonlabel.Text = ApplicationsToolStripMenuItem.Text = EditingSkin.GetSkinData().applicationlaunchername; + + // I'm too lazy to do the font bullshit so I'm borrowing from the desktop code. + // Set up the font. + string appFontName = EditingSkin.GetSkinData().applicationbuttontextfont; + int appFontSize = EditingSkin.GetSkinData().applicationbuttontextsize; + FontStyle appFontStyle = EditingSkin.GetSkinData().applicationbuttontextstyle; + + if (ApplicationsToolStripMenuItem.Font.Name != appFontName || ApplicationsToolStripMenuItem.Font.Size != appFontSize || ApplicationsToolStripMenuItem.Font.Style != appFontStyle) + { + ApplicationsToolStripMenuItem.Font = new Font(appFontName, appFontSize, appFontStyle); + } + + string appItemFontName = EditingSkin.GetSkinData().launcheritemfont; + int appItemFontSize = EditingSkin.GetSkinData().launcheritemsize; + FontStyle appItemFontStyle = EditingSkin.GetSkinData().launcheritemstyle; + + foreach (var child in ApplicationsToolStripMenuItem.DropDownItems) + { + if (child is ToolStripMenuItem) + { + ToolStripMenuItem menuItem = child as ToolStripMenuItem; + if (menuItem.Font.Name != appItemFontName || menuItem.Font.Size != appItemFontSize || menuItem.Font.Style != appItemFontStyle) + { + menuItem.Font = new Font(appItemFontName, appItemFontSize, appItemFontStyle); + } + menuItem.ForeColor = EditingSkin.GetSkinData().launcheritemcolour; + } + } + + + + if (EditingSkin.HasImage("applauncher")) + { + predesktopappmenu.BackColor = Color.Transparent; + predesktopappmenu.BackgroundImage = EditingSkin.GetImage("applauncher"); + predesktopappmenu.BackgroundImageLayout = EditingSkin.GetSkinData().applauncherlayout; + } + else + { + predesktopappmenu.BackColor = EditingSkin.GetSkinData().applauncherbuttoncolour; + predesktopappmenu.BackgroundImage = null; + } + + preapplaunchermenuholder.Width = EditingSkin.GetSkinData().applaunchermenuholderwidth; + predesktopappmenu.Width = EditingSkin.GetSkinData().applaunchermenuholderwidth; + ApplicationsToolStripMenuItem.Height = EditingSkin.GetSkinData().applicationbuttonheight; + ApplicationsToolStripMenuItem.Width = EditingSkin.GetSkinData().applaunchermenuholderwidth; + + + ApplicationsToolStripMenuItem.Margin = new Padding(0); + ApplicationsToolStripMenuItem.Padding = new Padding(0); + predesktopappmenu.Margin = new Padding(0); + predesktopappmenu.Padding = new Padding(0); + preapplaunchermenuholder.Margin = new Padding(0); + preapplaunchermenuholder.Padding = new Padding(0); + preapplaunchermenuholder.Left = 0; + preapplaunchermenuholder.Top = 0; + predesktopappmenu.Left = 0; + predesktopappmenu.Top = 0; + + txtapplauncherwidth.Text = preapplaunchermenuholder.Width.ToString(); + txtapplicationsbuttonheight.Text = ApplicationsToolStripMenuItem.Height.ToString(); + txtappbuttontextsize.Text = ApplicationsToolStripMenuItem.Font.Size.ToString(); + + if(!comboappbuttontextfont.DroppedDown) + comboappbuttontextfont.Text = ApplicationsToolStripMenuItem.Font.Name; + if (!comboappbuttontextstyle.DroppedDown) + comboappbuttontextstyle.Text = ApplicationsToolStripMenuItem.Font.Style.ToString(); + + pnlmaintextcolour.BackColor = EditingSkin.GetSkinData().applicationsbuttontextcolour; + pnlmainbuttoncolour.BackColor = predesktopappmenu.BackColor; + pnlmainbuttoncolour.BackgroundImage = predesktopappmenu.BackgroundImage; + pnlmainbuttoncolour.BackgroundImageLayout = predesktopappmenu.BackgroundImageLayout; + pnlmenuitemscolour.BackColor = EditingSkin.GetSkinData().applauncherbackgroundcolour; + pnlmenuitemsmouseover.BackColor = EditingSkin.GetSkinData().applaunchermouseovercolour; + pnlmainbuttonactivated.BackColor = EditingSkin.GetSkinData().applauncherbuttonclickedcolour; + launcheritemtxtcolour.BackColor = EditingSkin.GetSkinData().launcheritemcolour; + if (!launcheritemfont.DroppedDown) + launcheritemfont.Text = EditingSkin.GetSkinData().launcheritemfont; + txtlauncheritemtxtsize.Text = EditingSkin.GetSkinData().launcheritemsize.ToString(); + if(!launcheritemstyle.DroppedDown) + launcheritemstyle.Text = EditingSkin.GetSkinData().launcheritemstyle.ToString(); + + // Shit man, the App Launcher's done. Now let's do the panel buttons. + prepnlpanelbuttonholder.Padding = new Padding(EditingSkin.GetSkinData().panelbuttoninitialgap, EditingSkin.GetSkinData().panelbuttonfromtop, 0, 0); + prepnlpanelbutton.Padding = new Padding(0, 0, EditingSkin.GetSkinData().panelbuttongap, 0); + prepnlpanelbutton.Size = new Size(EditingSkin.GetSkinData().panelbuttonwidth, EditingSkin.GetSkinData().panelbuttonheight); + pretbicon.Location = new Point(EditingSkin.GetSkinData().panelbuttoniconside, EditingSkin.GetSkinData().panelbuttonicontop); + pretbctext.Location = new Point(EditingSkin.GetSkinData().panelbuttontextside, EditingSkin.GetSkinData().panelbuttontexttop); + pnlpanelbuttontextcolour.BackColor = pretbctext.ForeColor = EditingSkin.GetSkinData().panelbuttontextcolour; + + prepnlpanelbutton.Visible = prepnlpanelbuttonholder.Visible = CurrentSystem.HasShiftoriumUpgrade("panelbuttons"); + + if(EditingSkin.HasImage("panelbutton")) + { + prepnlpanelbutton.BackColor = Color.Transparent; + prepnlpanelbutton.BackgroundImage = EditingSkin.GetImage("panelbutton"); + prepnlpanelbutton.BackgroundImageLayout = EditingSkin.GetSkinData().panelbuttonlayout; + } + else + { + prepnlpanelbutton.BackgroundImage = null; + prepnlpanelbutton.BackColor = EditingSkin.GetSkinData().panelbuttoncolour; + } + + pnlpanelbuttoncolour.BackColor = prepnlpanelbutton.BackColor; + pnlpanelbuttoncolour.BackgroundImage = prepnlpanelbutton.BackgroundImage; + pnlpanelbuttoncolour.BackgroundImageLayout = prepnlpanelbutton.BackgroundImageLayout; + pretbicon.Size = new Size(EditingSkin.GetSkinData().panelbuttoniconsize, EditingSkin.GetSkinData().panelbuttoniconsize); + + string pfont = EditingSkin.GetSkinData().panelbuttontextfont; + int psize = EditingSkin.GetSkinData().panelbuttontextsize; + FontStyle pstyle = EditingSkin.GetSkinData().panelbuttontextstyle; + + if(pretbctext.Font.Name != pfont || pretbctext.Font.Size != psize || pretbctext.Font.Style != pstyle) + { + pretbctext.Font = new Font(pfont, psize, pstyle); + } + + txtpanelbuttoninitalgap.Text = prepnlpanelbuttonholder.Padding.Left.ToString(); + txtpanelbuttongap.Text = prepnlpanelbutton.Padding.Right.ToString(); + txtpanelbuttonwidth.Text = prepnlpanelbutton.Width.ToString(); + txtpanelbuttonheight.Text = prepnlpanelbutton.Height.ToString(); + txtpanelbuttontop.Text = prepnlpanelbuttonholder.Padding.Top.ToString(); + txtpanelbuttontextside.Text = pretbctext.Left.ToString(); + txtpanelbuttontexttop.Text = pretbctext.Top.ToString(); + txtpanelbuttoniconside.Text = pretbicon.Left.ToString(); + txtpanelbuttonicontop.Text = pretbicon.Top.ToString(); + txtpanelbuttoniconsize.Text = pretbicon.Width.ToString(); + txtpanelbuttontextsize.Text = pretbctext.Font.Size.ToString(); + if (!cbpanelbuttonfont.DroppedDown) + cbpanelbuttonfont.Text = pretbctext.Font.Name; + if (!cbpanelbuttontextstyle.DroppedDown) + cbpanelbuttontextstyle.Text = pretbctext.Font.Style.ToString(); + } + + private void SetupTitleBar() + { + PreviewTitleBar.Height = EditingSkin.GetSkinData().titlebarheight; + PreviewTitleRight.Width = PreviewTitleLeft.Width = EditingSkin.GetSkinData().titlebarcornerwidth; + + if(EditingSkin.HasImage("titlebar")) + { + PreviewTitleBar.BackColor = Color.Transparent; + PreviewTitleBar.BackgroundImage = EditingSkin.GetImage("titlebar"); + PreviewTitleBar.BackgroundImageLayout = EditingSkin.GetSkinData().titlebarlayout; + } + else + { + PreviewTitleBar.BackColor = EditingSkin.GetSkinData().titlebarcolour; + PreviewTitleBar.BackgroundImage = null; + } + + pnltitlebarcolour.BackColor = PreviewTitleBar.BackColor; + pnltitlebarcolour.BackgroundImage = PreviewTitleBar.BackgroundImage; + pnltitlebarcolour.BackgroundImageLayout = PreviewTitleBar.BackgroundImageLayout; + + txttitlebarheight.Text = PreviewTitleBar.Height.ToString(); + + cboxtitlebarcorners.Checked = EditingSkin.GetSkinData().enablecorners; + + txttitlebarcornerwidth.Text = PreviewTitleRight.Width.ToString(); + + foreach(Control control in pnltitlebaroptions.Controls) + { + if (control.Tag == null) + continue; + + if(control.Tag.ToString() == "TitleCornerOptions") + { + control.Visible = EditingSkin.GetSkinData().enablecorners; + } + else if(control.Tag.ToString() == "TitleIconsInstalled") + { + control.Visible = CurrentSystem.HasShiftoriumUpgrade("titleicons"); + } + } + + PreviewIconBox.Left = EditingSkin.GetSkinData().titleiconfromside; + PreviewIconBox.Top = EditingSkin.GetSkinData().titleiconfromtop; + + txticonfromside.Text = PreviewIconBox.Left.ToString(); + txticonfromtop.Text = PreviewIconBox.Top.ToString(); + + if (EditingSkin.HasImage("leftcorner")) + { + if (PreviewTitleLeft.BackgroundImage != EditingSkin.GetImage("leftcorner")) + PreviewTitleLeft.BackgroundImage = EditingSkin.GetImage("leftcorner"); + PreviewTitleLeft.BackgroundImageLayout = EditingSkin.GetSkinData().leftcornerlayout; + PreviewTitleLeft.BackColor = Color.Transparent; + } + else + { + PreviewTitleLeft.BackColor = EditingSkin.GetSkinData().leftcornercolour; + PreviewTitleLeft.BackgroundImage = null; + } + + if (EditingSkin.HasImage("rightcorner")) + { + if (PreviewTitleRight.BackgroundImage != EditingSkin.GetImage("rightcorner")) + PreviewTitleRight.BackgroundImage = EditingSkin.GetImage("rightcorner"); + PreviewTitleRight.BackgroundImageLayout = EditingSkin.GetSkinData().rightcornerlayout; + PreviewTitleRight.BackColor = Color.Transparent; + } + else + { + PreviewTitleRight.BackColor = EditingSkin.GetSkinData().rightcornercolour; + PreviewTitleRight.BackgroundImage = null; + } + + pnltitlebarleftcornercolour.BackColor = PreviewTitleLeft.BackColor; + pnltitlebarleftcornercolour.BackgroundImage = PreviewTitleLeft.BackgroundImage; + pnltitlebarleftcornercolour.BackgroundImageLayout = PreviewTitleLeft.BackgroundImageLayout; + + pnltitlebarrightcornercolour.BackColor = PreviewTitleRight.BackColor; + pnltitlebarrightcornercolour.BackgroundImage = PreviewTitleRight.BackgroundImage; + pnltitlebarrightcornercolour.BackgroundImageLayout = PreviewTitleRight.BackgroundImageLayout; + + } + + private void SetModuleText(Control InControl, string InText, string InUpgrade) + { + if(CurrentSystem.HasShiftoriumUpgrade(InUpgrade)) + { + InControl.Text = InText; + } + else + { + InControl.Text = "???"; + } + } + + private void SetupCloseButton() + { + PreviewClose.Size = EditingSkin.GetSkinData().closebtnsize; + PreviewClose.Left = PreviewTitleBar.Width - PreviewClose.Width - EditingSkin.GetSkinData().closebtnfromside; + PreviewClose.Top = EditingSkin.GetSkinData().closebtnfromtop; + + if (EditingSkin.HasImage("closebtn")) + { + PreviewClose.BackgroundImage = EditingSkin.GetImage("closebtn"); + PreviewClose.BackgroundImageLayout = EditingSkin.GetSkinData().closebtnlayout; + PreviewClose.BackColor = Color.Transparent; + } + else + { + PreviewClose.BackColor = EditingSkin.GetSkinData().closebtncolour; + PreviewClose.BackgroundImage = null; + } + + pnlclosebuttoncolour.BackColor = PreviewClose.BackColor; + pnlclosebuttoncolour.BackgroundImage = PreviewClose.BackgroundImage; + pnlclosebuttoncolour.BackgroundImageLayout = PreviewClose.BackgroundImageLayout; + + txtclosebuttonwidth.Text = PreviewClose.Width.ToString(); + txtclosebuttonheight.Text = PreviewClose.Height.ToString(); + + txtclosebuttonfromtop.Text = EditingSkin.GetSkinData().closebtnfromtop.ToString(); + txtclosebuttonfromside.Text = EditingSkin.GetSkinData().closebtnfromside.ToString(); + } + + private void SetupRollButton() + { + PreviewRoll.Size = EditingSkin.GetSkinData().rollbtnsize; + PreviewRoll.Left = PreviewTitleBar.Width - PreviewRoll.Width - EditingSkin.GetSkinData().rollbtnfromside; + PreviewRoll.Top = EditingSkin.GetSkinData().rollbtnfromtop; + + if (EditingSkin.HasImage("rollbtn")) + { + PreviewRoll.BackgroundImage = EditingSkin.GetImage("rollbtn"); + PreviewRoll.BackgroundImageLayout = EditingSkin.GetSkinData().rollbtnlayout; + PreviewRoll.BackColor = Color.Transparent; + } + else + { + PreviewRoll.BackColor = EditingSkin.GetSkinData().rollbtncolour; + PreviewRoll.BackgroundImage = null; + } + + pnlrollupbuttoncolour.BackColor = PreviewRoll.BackColor; + pnlrollupbuttoncolour.BackgroundImage = PreviewRoll.BackgroundImage; + pnlrollupbuttoncolour.BackgroundImageLayout = PreviewRoll.BackgroundImageLayout; + + txtrollupbuttonwidth.Text = PreviewRoll.Width.ToString(); + txtrollupbuttonheight.Text = PreviewRoll.Height.ToString(); + + txtrollupbuttontop.Text = EditingSkin.GetSkinData().rollbtnfromtop.ToString(); + txtrollupbuttonside.Text = EditingSkin.GetSkinData().rollbtnfromside.ToString(); + } + + private void AddFonts() + { + // Get the installed fonts collection. + var allFonts = new System.Drawing.Text.InstalledFontCollection(); + + // Get an array of the system's font familiies. + FontFamily[] fontFamilies = allFonts.Families; + + // Display the font families. + foreach (FontFamily myFont in fontFamilies) + { + combotitletextfont.Items.Add(myFont.Name); + comboclocktextfont.Items.Add(myFont.Name); + comboappbuttontextfont.Items.Add(myFont.Name); + cbpanelbuttonfont.Items.Add(myFont.Name); + launcheritemfont.Items.Add(myFont.Name); + } + } + + + private void SetupMinimizeButton() + { + PreviewMinimize.Size = EditingSkin.GetSkinData().minbtnsize; + PreviewMinimize.Left = PreviewTitleBar.Width - PreviewMinimize.Width - EditingSkin.GetSkinData().minbtnfromside; + PreviewMinimize.Top = EditingSkin.GetSkinData().minbtnfromtop; + + if (EditingSkin.HasImage("minbtn")) + { + PreviewMinimize.BackgroundImage = EditingSkin.GetImage("minbtn"); + PreviewMinimize.BackgroundImageLayout = EditingSkin.GetSkinData().minbtnlayout; + PreviewMinimize.BackColor = Color.Transparent; + } + else + { + PreviewMinimize.BackColor = EditingSkin.GetSkinData().minbtncolour; + PreviewMinimize.BackgroundImage = null; + } + + pnlminimizebuttoncolour.BackColor = PreviewMinimize.BackColor; + pnlminimizebuttoncolour.BackgroundImage = PreviewMinimize.BackgroundImage; + pnlminimizebuttoncolour.BackgroundImageLayout = PreviewMinimize.BackgroundImageLayout; + + txtminimizebuttonwidth.Text = PreviewMinimize.Width.ToString(); + txtminimizebuttonheight.Text = PreviewMinimize.Height.ToString(); + + txtminimizebuttontop.Text = EditingSkin.GetSkinData().minbtnfromtop.ToString(); + txtminimizebuttonside.Text = EditingSkin.GetSkinData().minbtnfromside.ToString(); + } + + private void SetupBorders() + { + foreach (Control ctrl in pnlborderoptions.Controls) + { + if (ctrl.Tag == null) + continue; + + if (ctrl.Tag.ToString() == "BorderCorners") + ctrl.Visible = EditingSkin.GetSkinData().enablebordercorners; + } + + cbindividualbordercolours.Checked = EditingSkin.GetSkinData().enablebordercorners; + + // The left border will be our background pivot. If individual border skinning is + // off, every other border will steal properties from this one. + + if (EditingSkin.HasImage("borderleft")) + { + PreviewLeft.BackgroundImage = EditingSkin.GetImage("borderleft"); + PreviewLeft.BackgroundImageLayout = EditingSkin.GetSkinData().borderleftlayout; + PreviewLeft.BackColor = Color.Transparent; + } + else + { + PreviewLeft.BackgroundImage = null; + PreviewLeft.BackColor = EditingSkin.GetSkinData().borderleftcolour; + } + + if (!EditingSkin.GetSkinData().enablebordercorners) + { + pnlbordercolour.BackColor = PreviewRight.BackColor = PreviewBottom.BackColor = PreviewBottomLeft.BackColor = PreviewBottomRight.BackColor = PreviewLeft.BackColor; + pnlbordercolour.BackgroundImage = PreviewRight.BackgroundImage = PreviewBottom.BackgroundImage = PreviewBottomLeft.BackgroundImage = PreviewBottomRight.BackgroundImage = PreviewLeft.BackgroundImage; + pnlbordercolour.BackgroundImageLayout = PreviewRight.BackgroundImageLayout = PreviewBottom.BackgroundImageLayout = PreviewBottomLeft.BackgroundImageLayout = PreviewBottomRight.BackgroundImageLayout = PreviewLeft.BackgroundImageLayout; + } + else + { + // Left Border button + pnlborderleftcolour.BackColor = pnlbordercolour.BackColor = PreviewLeft.BackColor; + pnlborderleftcolour.BackgroundImage = pnlbordercolour.BackgroundImage = PreviewLeft.BackgroundImage; + pnlborderleftcolour.BackgroundImageLayout = pnlbordercolour.BackgroundImageLayout = PreviewLeft.BackgroundImageLayout; + + + // Right border + if (EditingSkin.HasImage("borderright")) + { + PreviewRight.BackgroundImage = EditingSkin.GetImage("borderright"); + PreviewRight.BackColor = Color.Transparent; + PreviewRight.BackgroundImageLayout = EditingSkin.GetSkinData().borderrightlayout; + } + else + { + PreviewRight.BackgroundImage = null; + PreviewRight.BackColor = EditingSkin.GetSkinData().borderrightcolour; + } + + pnlborderrightcolour.BackColor = PreviewRight.BackColor; + pnlborderrightcolour.BackgroundImage = PreviewRight.BackgroundImage; + pnlborderrightcolour.BackgroundImageLayout = PreviewRight.BackgroundImageLayout; + + // Bottom border + if (EditingSkin.HasImage("borderbottom")) + { + PreviewBottom.BackgroundImage = EditingSkin.GetImage("borderbottom"); + PreviewBottom.BackColor = Color.Transparent; + PreviewBottom.BackgroundImageLayout = EditingSkin.GetSkinData().borderbottomlayout; + } + else + { + PreviewBottom.BackgroundImage = null; + PreviewBottom.BackColor = EditingSkin.GetSkinData().borderbottomcolour; + } + + pnlborderbottomcolour.BackColor = PreviewBottom.BackColor; + pnlborderbottomcolour.BackgroundImage = PreviewBottom.BackgroundImage; + pnlborderbottomcolour.BackgroundImageLayout = PreviewBottom.BackgroundImageLayout; + + // Bottom Right border + if (EditingSkin.HasImage("bottomrightcorner")) + { + PreviewBottomRight.BackgroundImage = EditingSkin.GetImage("bottomrightcorner"); + PreviewBottomRight.BackColor = Color.Transparent; + PreviewBottomRight.BackgroundImageLayout = EditingSkin.GetSkinData().bottomrightcornerlayout; + } + else + { + PreviewBottomRight.BackgroundImage = null; + PreviewBottomRight.BackColor = EditingSkin.GetSkinData().bottomrightcornercolour; + } + + pnlborderbottomrightcolour.BackColor = PreviewBottomRight.BackColor; + pnlborderbottomrightcolour.BackgroundImage = PreviewBottomRight.BackgroundImage; + pnlborderbottomrightcolour.BackgroundImageLayout = PreviewBottomRight.BackgroundImageLayout; + + // Bottom Left border + if (EditingSkin.HasImage("bottomleftcorner")) + { + PreviewBottomLeft.BackgroundImage = EditingSkin.GetImage("bottomleftcorner"); + PreviewBottomLeft.BackColor = Color.Transparent; + PreviewBottomLeft.BackgroundImageLayout = EditingSkin.GetSkinData().bottomleftcornerlayout; + } + else + { + PreviewBottomLeft.BackgroundImage = null; + PreviewBottomLeft.BackColor = EditingSkin.GetSkinData().bottomleftcornercolour; + } + + pnlborderbottomleftcolour.BackColor = PreviewBottomLeft.BackColor; + pnlborderbottomleftcolour.BackgroundImage = PreviewBottomLeft.BackgroundImage; + pnlborderbottomleftcolour.BackgroundImageLayout = PreviewBottomLeft.BackgroundImageLayout; + + } + + // Set the border width for ALL borders. + PreviewLeft.Width = PreviewRight.Width = PreviewBottom.Height = EditingSkin.GetSkinData().borderwidth; + + // Set the text of the Border Width textbox. + txtbordersize.Text = PreviewLeft.Width.ToString(); + } + + private void SetupTitleText() + { + PreviewTitleText.ForeColor = EditingSkin.GetSkinData().titletextcolour; + pnltitletextcolour.BackColor = PreviewTitleText.ForeColor; + + if(PreviewTitleText.Font.Name != EditingSkin.GetSkinData().titletextfontfamily || PreviewTitleText.Font.Size != EditingSkin.GetSkinData().titletextfontsize || PreviewTitleText.Font.Style != EditingSkin.GetSkinData().titletextfontstyle) + { + PreviewTitleText.Font = new Font(EditingSkin.GetSkinData().titletextfontfamily, EditingSkin.GetSkinData().titletextfontsize, EditingSkin.GetSkinData().titletextfontstyle); + } + + if(!combotitletextfont.DroppedDown) + combotitletextfont.Text = PreviewTitleText.Font.Name; + if (!combotitletextstyle.DroppedDown) + combotitletextstyle.Text = PreviewTitleText.Font.Style.ToString(); + if (!combotitletextposition.DroppedDown) + combotitletextposition.Text = EditingSkin.GetSkinData().titletextposition; + + if(EditingSkin.GetSkinData().titletextposition == "Left") + { + PreviewTitleText.Left = EditingSkin.GetSkinData().titletextfromside; + txttitletextside.Text = PreviewTitleText.Left.ToString(); + } + else + { + PreviewTitleText.Left = (PreviewTitleBar.Width - PreviewTitleText.Width) / 2; + txttitletextside.Text = EditingSkin.GetSkinData().titletextfromside.ToString(); + } + PreviewTitleText.Top = EditingSkin.GetSkinData().titletextfromtop; + txttitletexttop.Text = PreviewTitleText.Top.ToString(); + + this.txttitletextsize.Text = PreviewTitleText.Font.Size.ToString(); + } + + private void btndesktop_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + { + CurrentCategory = ShifterCategory.Desktop; + CurrentDesktopCategory = ShifterDesktopCategory.Intro; + } + } + + private void btnwindows_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + { + CurrentCategory = ShifterCategory.Windows; + CurrentWindowCategory = ShifterWindowCategory.Intro; + } + } + + private void btnreset_Click(object sender, EventArgs e) + { + if(AssertModuleInstalled(sender as Control)) + CurrentCategory = ShifterCategory.Reset; + } + + private void btnresetallsettings_Click(object sender, EventArgs e) + { + CurrentSystem.AskYesNo("Shifter - Global Reset", "Do you really want to globally reset ShiftOS's settings?", (answer) => + { + if(answer) + { + // Reset the shifter skin context as well. + EditingSkin.Reset(); + + // Reset the system skin context. + this.CurrentSystem.GetSkinContext().Reset(); + + // Notify of the reset. + CurrentSystem.ShowInfo("Shifter - Global Reset", "Global reset complete - all settings have been reset to their factory defaults."); + } + }); + } + + private void btntitlebar_Click(object sender, EventArgs e) + { + if(AssertModuleInstalled(sender as Control)) + CurrentWindowCategory = ShifterWindowCategory.TitleBar; + } + + private void btntitletext_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + CurrentWindowCategory = ShifterWindowCategory.TitleText; + } + + + + private void btnbuttons_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + { + CurrentWindowCategory = ShifterWindowCategory.Buttons; + CurrentTitleButton = ShifterTitleButton.Close; + } + } + + private void btnborders_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + CurrentWindowCategory = ShifterWindowCategory.Borders; + } + + private void combobuttonoption_SelectedIndexChanged(object sender, EventArgs e) + { + int index = combobuttonoption.SelectedIndex; + if (index != (int)CurrentTitleButton) + CurrentTitleButton = (ShifterTitleButton)index; + } + + private void pnlclosebuttoncolour_MouseClick(object sender, MouseEventArgs e) + { + if(e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Close Button Color", EditingSkin.GetSkinData().closebtncolour, (color) => + { + EditingSkin.GetSkinData().closebtncolour = color; + }); + } + else if(e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Close Button", EditingSkin.GetImage("closebtn"), EditingSkin.GetSkinData().closebtnlayout, (image, layout) => + { + EditingSkin.SetImage("closebtn", image); + EditingSkin.GetSkinData().closebtnlayout = layout; + }); + } + } + + private void btnapply_Click(object sender, EventArgs e) + { + // Apply the skin. + CurrentSystem.ApplySkin(EditingSkin); + + // Notify the player. + CurrentSystem.ShowInfo("Shifter", "Your new settings have successfully been applied!"); + } + + private void cboxtitlebarcorners_CheckedChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().enablecorners = cboxtitlebarcorners.Checked; + } + + private void txtclosebuttonheight_TextChanged(object sender, EventArgs e) + { + int height = 0; + if (int.TryParse(txtclosebuttonheight.Text, out height)) + EditingSkin.GetSkinData().closebtnsize.Height = height; + } + + private void txtclosebuttonwidth_TextChanged(object sender, EventArgs e) + { + int width = 0; + if (int.TryParse(txtclosebuttonwidth.Text, out width)) + EditingSkin.GetSkinData().closebtnsize.Width = width; + + } + + private void txtclosebuttonfromtop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().closebtnfromtop = x; + } + + private void txtclosebuttonfromside_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().closebtnfromside = x; + + } + + private void txtminimizebuttonheight_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().minbtnsize.Height = x; + + } + + private void txtminimizebuttonwidth_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().minbtnsize.Width = x; + + } + + private void txtminimizebuttontop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().minbtnfromtop = x; + + } + + private void txtminimizebuttonside_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().minbtnfromside = x; + + } + + private void pnlminimizebuttoncolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if(e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Minimize Button Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().minbtncolour = color; + }); + } + else if(e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Minimize Button", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("minbtn", image); + EditingSkin.GetSkinData().minbtnlayout = layout; + }); + } + } + + private void pnlrollupbuttoncolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Roll Button Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().rollbtncolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Roll Button", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("rollbtn", image); + EditingSkin.GetSkinData().rollbtnlayout = layout; + }); + } + + } + + private void txtrollupbuttonheight_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().rollbtnsize.Height = x; + + } + + private void txtrollupbuttonwidth_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().rollbtnsize.Width = x; + + } + + private void txtrollupbuttontop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().rollbtnfromtop = x; + + } + + private void txtrollupbuttonside_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().rollbtnfromside = x; + + } + + private void txttitlebarheight_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().titlebarheight = x; + + } + + private void txttitlebarcornerwidth_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().titlebarcornerwidth = x; + + } + + private void txticonfromside_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().titleiconfromside = x; + + } + + private void txticonfromtop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().titleiconfromtop = x; + + } + + private void pnltitlebarcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Title Bar Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().titlebarcolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Title Bar", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("titlebar", image); + EditingSkin.GetSkinData().titlebarlayout = layout; + }); + } + + } + + private void pnltitlebarleftcornercolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Title Left Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().leftcornercolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Title Left", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("leftcorner", image); + EditingSkin.GetSkinData().leftcornerlayout = layout; + }); + } + + } + + private void pnltitlebarrightcornercolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Title Right Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().rightcornercolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Title Right", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("rightcorner", image); + EditingSkin.GetSkinData().rightcornerlayout = layout; + }); + } + + } + + private void pnltitletextcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Title Text Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().titletextcolour = color; + }); + } + + } + + private void combotitletextfont_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().titletextfontfamily = combotitletextfont.Text; + } + + private void combotitletextposition_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().titletextposition = combotitletextposition.Text; + } + + private void combotitletextstyle_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().titletextfontstyle = (FontStyle)Enum.Parse(typeof(FontStyle), combotitletextstyle.Text); + } + + private void txttitletextsize_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().titletextfontsize = x; + + } + + private void txttitletexttop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().titletextfromtop = x; + + } + + private void txttitletextside_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().titletextfromside = x; + + } + + private void cbindividualbordercolours_CheckedChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().enablebordercorners = cbindividualbordercolours.Checked; + } + + private void txtbordersize_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().borderwidth = x; + + } + + private void pnlbordercolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Window Border Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().borderleftcolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Window Border Color", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("borderleft", image); + EditingSkin.GetSkinData().borderleftlayout = layout; + }); + } + + } + + private void pnlborderbottomcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Window Border Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().borderbottomcolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Window Border Color", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("borderbottom", image); + EditingSkin.GetSkinData().borderbottomlayout = layout; + }); + } + + } + + private void pnlborderrightcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Window Border Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().borderrightcolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Window Border Color", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("borderright", image); + EditingSkin.GetSkinData().borderrightlayout = layout; + }); + } + + } + + private void pnlborderbottomleftcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Window Border Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().bottomleftcornercolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Window Border Color", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("bottomleftcorner", image); + EditingSkin.GetSkinData().bottomleftcornerlayout = layout; + }); + } + + } + + private void pnlborderbottomrightcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Window Border Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().bottomrightcornercolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Window Border Color", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("bottomrightcorner", image); + EditingSkin.GetSkinData().bottomrightcornerlayout = layout; + }); + } + + } + + private void btndesktopitself_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + CurrentDesktopCategory = ShifterDesktopCategory.Background; + } + + private void btnpanelclock_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + CurrentDesktopCategory = ShifterDesktopCategory.Clock; + + } + + private void btnapplauncher_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + CurrentDesktopCategory = ShifterDesktopCategory.AppLauncher; + + } + + private void btndesktoppanel_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + CurrentDesktopCategory = ShifterDesktopCategory.Panel; + } + + private void btnshowlauncheritems_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + CurrentDesktopCategory = ShifterDesktopCategory.LauncherItems; + } + + private void btnpanelbuttons_Click(object sender, EventArgs e) + { + if (AssertModuleInstalled(sender as Control)) + CurrentDesktopCategory = ShifterDesktopCategory.PanelButtons; + } + + private void combodesktoppanelposition_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().desktoppanelposition = combodesktoppanelposition.Text; + } + + private void txtdesktoppanelheight_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().desktoppanelheight = x; + } + + private void pnldesktoppanelcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Desktop Panel Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().desktoppanelcolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Desktop Panel", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("desktoppanel", image); + EditingSkin.GetSkinData().desktoppanellayout = layout; + }); + } + + } + + private void pnldesktopcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Desktop Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().desktopbackgroundcolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Desktop Background", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("desktopbackground", image); + EditingSkin.GetSkinData().desktopbackgroundlayout = layout; + }); + } + } + + private void comboclocktextfont_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().panelclocktextfont = comboclocktextfont.Text; + } + + private void comboclocktextstyle_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().panelclocktextstyle = (FontStyle)Enum.Parse(typeof(FontStyle), comboclocktextstyle.Text); + } + + private void txtclocktextsize_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelclocktextsize = x; + } + + private void txtclocktextfromtop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelclocktexttop = x; + } + + private void pnlpanelclocktextcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if(e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Panel Clock Text Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().clocktextcolour = color; + }); + } + } + + private void pnlclockbackgroundcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Panel Clock Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().clockbackgroundcolor = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Panel Clock", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("panelclock", image); + EditingSkin.GetSkinData().panelclocklayout = layout; + }); + } + + } + + private void txtappbuttonlabel_TextChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().applicationlaunchername = txtappbuttonlabel.Text; + } + + private void txtlauncheritemtxtsize_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().launcheritemsize = x; + + } + + private void launcheritemfont_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().launcheritemfont = launcheritemfont.Text; + } + + private void launcheritemstyle_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().launcheritemstyle = (FontStyle)Enum.Parse(typeof(FontStyle), launcheritemstyle.Text); + } + + private void txtappbuttontextsize_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().applicationbuttontextsize = x; + + } + + private void txtapplicationsbuttonheight_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().applicationbuttonheight = x; + } + + private void txtapplauncherwidth_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().applaunchermenuholderwidth = x; + } + + private void comboappbuttontextfont_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().applicationbuttontextfont = (sender as Control).Text; + } + + private void comboappbuttontextstyle_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().applicationbuttontextstyle = (FontStyle)Enum.Parse(typeof(FontStyle), (sender as Control).Text); + } + + private void pnlmenuitemscolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("App Launcher Menu Item Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().applauncherbackgroundcolour = color; + }); + } + + } + + private void pnlmaintextcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("App Launcher Text Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().applicationsbuttontextcolour = color; + }); + } + + } + + private void pnlmainbuttoncolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("App Launcher Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().applauncherbuttoncolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("App Launcher", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("applauncher", image); + EditingSkin.GetSkinData().applauncherlayout = layout; + }); + } + + } + + private void pnlmenuitemsmouseover_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("App Launcher Item Mouse Over", control.BackColor, (color) => + { + EditingSkin.GetSkinData().applaunchermouseovercolour = color; + }); + } + } + + private void pnlmainbuttonactivated_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("App Launcher Activated Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().applauncherbuttonclickedcolour = color; + }); + } + + } + + private void launcheritemtxtcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("App Launcher Item Text Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().launcheritemcolour = color; + }); + } + + } + + private void cbpanelbuttontextstyle_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().panelbuttontextstyle = (FontStyle)Enum.Parse(typeof(FontStyle), cbpanelbuttontextstyle.Text); + } + + private void cbpanelbuttonfont_SelectedIndexChanged(object sender, EventArgs e) + { + EditingSkin.GetSkinData().panelbuttontextfont = cbpanelbuttonfont.Text; + } + + private void txtpanelbuttoniconsize_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttoniconsize = x; + } + + private void txtpanelbuttoniconside_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttoniconside = x; + } + + private void txtpanelbuttonicontop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttonicontop = x; + } + + private void txtpanelbuttontextsize_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttontextsize = x; + } + + private void txtpanelbuttontexttop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttontexttop = x; + } + + private void txtpanelbuttontextside_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttontextside = x; + } + + private void txtpanelbuttongap_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttongap = x; + } + + private void txtpanelbuttonheight_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttonheight = x; + } + + private void txtpanelbuttonwidth_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttonwidth = x; + } + + private void txtpanelbuttontop_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttonfromtop = x; + } + + private void txtpanelbuttoninitalgap_TextChanged(object sender, EventArgs e) + { + int x = 0; + if (int.TryParse((sender as Control).Text, out x)) + EditingSkin.GetSkinData().panelbuttoninitialgap = x; + } + + private void pnlpanelbuttontextcolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Panel Button Text Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().panelbuttontextcolour = color; + }); + } + + } + + private void pnlpanelbuttoncolour_MouseClick(object sender, MouseEventArgs e) + { + var control = sender as Control; + if (e.Button == MouseButtons.Left) + { + CurrentSystem.AskForColor("Panel Button Color", control.BackColor, (color) => + { + EditingSkin.GetSkinData().panelbuttoncolour = color; + }); + } + else if (e.Button == MouseButtons.Right && CurrentSystem.HasShiftoriumUpgrade("skinning")) + { + CurrentSystem.AskForGraphic("Panel Button", control.BackgroundImage, control.BackgroundImageLayout, (image, layout) => + { + EditingSkin.SetImage("panelbutton", image); + EditingSkin.GetSkinData().panelbuttonlayout = layout; + }); + } + + } + } +} diff --git a/ShiftOS/ShiftOS/Programs/Shifter.resx b/ShiftOS/ShiftOS/Programs/Shifter.resx new file mode 100644 index 0000000..aac2e80 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/Shifter.resx @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Welcome to the windows settings panel. Here you can modify the appearance of the controls that are displayed on your open windows. Just select a sub option to the left to get started! + +The preview window above will track your modifications live until you click "Apply Changes". + + + 314, 45 + + + 314, 45 + + + Welcome to the desktop settings panel. Here you can modify the appearance of the controls that are displayed on your desktop. Just select a sub option to the left to get started! + +The preview desktop above will track your modifications live until you click "Apply Changes". + + + After spending hours customizing ShiftOS you may want to reset all settings to their default values so you can have a clean slate. Remember that once you reset your settings you can't undo your actions so only do so if you truly want to abandon all the customizations you have made to ShiftOS. + + + + + That's right! Simply by customizing your ShiftOS interface you can earn as many codepoints as you like. The amount of codepoints you earn will be calculated and displayed the moment you press "Apply Changes". The more time you spend customizing the more codepoints you will earn! + + + + The shifter is an application that allows you to modify various features in ShiftOS. Initially the user interface of ShiftOS is very dull however you can use the Shifter and various sub programs within the Shifter such as the "Colour Picker" to improve the appearance of ShiftOS. + +The basic process of modifying your ShiftOS interface is very simple. You first choose a main category on the left which will bring up a list of sub categories. Next select a sub category to display your list of customization options. Once you have modified the appropriate settings click Apply Changes to confirm your choices. + + + \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/Terminal.cs b/ShiftOS/ShiftOS/Programs/Terminal.cs index ad5c4a2..7db51c8 100644 --- a/ShiftOS/ShiftOS/Programs/Terminal.cs +++ b/ShiftOS/ShiftOS/Programs/Terminal.cs @@ -34,14 +34,29 @@ namespace ShiftOS.Programs // Make ourselves maximized if the borders are hidden. this.WindowState = ShowShiftOSBorders ? FormWindowState.Normal : FormWindowState.Maximized; + // Terminal scrollbar upgrade. + if(CurrentSystem.HasShiftoriumUpgrade("terminalscrollbar")) + { + TerminalControl.ScrollBars = ScrollBars.Vertical; + } + else + { + TerminalControl.ScrollBars = ScrollBars.None; + } + base.OnDesktopUpdate(); } public void Write(string text) { TerminalControl.SelectionStart = TerminalControl.Text.Length; - TerminalControl.AppendText(text); + TerminalControl.Text += text; TerminalControl.SelectionStart = TerminalControl.Text.Length; + + if(CurrentSystem.HasShiftoriumUpgrade("autoscrollterminal")) + { + TerminalControl.ScrollToCaret(); + } } public void WriteLine(string text) diff --git a/ShiftOS/ShiftOS/Programs/TextPad.Designer.cs b/ShiftOS/ShiftOS/Programs/TextPad.Designer.cs new file mode 100644 index 0000000..d8d61b2 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/TextPad.Designer.cs @@ -0,0 +1,169 @@ +namespace ShiftOS.Programs +{ + partial class TextPad + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextPad)); + this.btnopen = new System.Windows.Forms.Button(); + this.btnnew = new System.Windows.Forms.Button(); + this.btnsave = new System.Windows.Forms.Button(); + this.pnlbreak = new System.Windows.Forms.Panel(); + this.pnloptions = new System.Windows.Forms.Panel(); + this.pgcontents = new System.Windows.Forms.Panel(); + this.txtuserinput = new System.Windows.Forms.TextBox(); + this.pnloptions.SuspendLayout(); + this.pgcontents.SuspendLayout(); + this.SuspendLayout(); + // + // btnopen + // + this.btnopen.BackColor = System.Drawing.Color.White; + this.btnopen.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnopen.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnopen.Image = global::ShiftOS.Properties.Resources.openicon; + this.btnopen.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnopen.Location = new System.Drawing.Point(86, 4); + this.btnopen.Name = "btnopen"; + this.btnopen.Size = new System.Drawing.Size(76, 31); + this.btnopen.TabIndex = 1; + this.btnopen.Text = "Open"; + this.btnopen.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btnopen.UseVisualStyleBackColor = false; + this.btnopen.Click += new System.EventHandler(this.btnopen_Click); + // + // btnnew + // + this.btnnew.BackColor = System.Drawing.Color.White; + this.btnnew.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnnew.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnnew.Image = ((System.Drawing.Image)(resources.GetObject("btnnew.Image"))); + this.btnnew.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnnew.Location = new System.Drawing.Point(4, 4); + this.btnnew.Name = "btnnew"; + this.btnnew.Size = new System.Drawing.Size(76, 31); + this.btnnew.TabIndex = 0; + this.btnnew.Text = "New"; + this.btnnew.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btnnew.UseVisualStyleBackColor = false; + this.btnnew.Click += new System.EventHandler(this.btnnew_Click); + // + // btnsave + // + this.btnsave.BackColor = System.Drawing.Color.White; + this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnsave.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnsave.Image = global::ShiftOS.Properties.Resources.saveicon; + this.btnsave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnsave.Location = new System.Drawing.Point(168, 4); + this.btnsave.Name = "btnsave"; + this.btnsave.Size = new System.Drawing.Size(76, 31); + this.btnsave.TabIndex = 2; + this.btnsave.Text = "Save"; + this.btnsave.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btnsave.UseVisualStyleBackColor = false; + this.btnsave.Click += new System.EventHandler(this.btnsave_Click); + // + // pnlbreak + // + this.pnlbreak.BackColor = System.Drawing.Color.White; + this.pnlbreak.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pnlbreak.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pnlbreak.ForeColor = System.Drawing.Color.Black; + this.pnlbreak.Location = new System.Drawing.Point(0, 365); + this.pnlbreak.Name = "pnlbreak"; + this.pnlbreak.Size = new System.Drawing.Size(796, 15); + this.pnlbreak.TabIndex = 2; + // + // pnloptions + // + this.pnloptions.BackColor = System.Drawing.Color.White; + this.pnloptions.Controls.Add(this.btnsave); + this.pnloptions.Controls.Add(this.btnopen); + this.pnloptions.Controls.Add(this.btnnew); + this.pnloptions.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pnloptions.Location = new System.Drawing.Point(0, 380); + this.pnloptions.Name = "pnloptions"; + this.pnloptions.Size = new System.Drawing.Size(796, 38); + this.pnloptions.TabIndex = 1; + this.pnloptions.Visible = false; + // + // pgcontents + // + this.pgcontents.Controls.Add(this.txtuserinput); + this.pgcontents.Controls.Add(this.pnlbreak); + this.pgcontents.Controls.Add(this.pnloptions); + this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill; + this.pgcontents.Location = new System.Drawing.Point(2, 30); + this.pgcontents.Name = "pgcontents"; + this.pgcontents.Size = new System.Drawing.Size(796, 418); + this.pgcontents.TabIndex = 25; + // + // txtuserinput + // + this.txtuserinput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtuserinput.BackColor = System.Drawing.Color.White; + this.txtuserinput.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.txtuserinput.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtuserinput.ForeColor = System.Drawing.Color.Black; + this.txtuserinput.Location = new System.Drawing.Point(4, 2); + this.txtuserinput.Multiline = true; + this.txtuserinput.Name = "txtuserinput"; + this.txtuserinput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtuserinput.Size = new System.Drawing.Size(794, 360); + this.txtuserinput.TabIndex = 0; + // + // TextPad + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.pgcontents); + this.Name = "TextPad"; + this.Text = "TextPad"; + this.WindowIcon = global::ShiftOS.Properties.Resources.iconTextPad; + this.WindowTitle = "TextPad"; + this.Controls.SetChildIndex(this.pgcontents, 0); + this.pnloptions.ResumeLayout(false); + this.pgcontents.ResumeLayout(false); + this.pgcontents.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + internal System.Windows.Forms.Button btnopen; + internal System.Windows.Forms.Button btnnew; + internal System.Windows.Forms.Button btnsave; + internal System.Windows.Forms.Panel pnlbreak; + internal System.Windows.Forms.Panel pnloptions; + internal System.Windows.Forms.Panel pgcontents; + internal System.Windows.Forms.TextBox txtuserinput; + } +} \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Programs/TextPad.cs b/ShiftOS/ShiftOS/Programs/TextPad.cs new file mode 100644 index 0000000..14fede7 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/TextPad.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ShiftOS.Windowing; +using ShiftOS.Metadata; +using System.Windows.Forms; + +namespace ShiftOS.Programs +{ + [Program("textpad", "TextPad", "Write and edit text documents.")] + [Requires("textpad")] + [AppLauncherRequirement("altextpad")] + public partial class TextPad : Window + { + public TextPad() + { + InitializeComponent(); + } + + protected override void OnDesktopUpdate() + { + base.OnDesktopUpdate(); + + pnloptions.Visible = CurrentSystem.HasShiftoriumUpgrade("textpadnew") | CurrentSystem.HasShiftoriumUpgrade("textpadopen") || CurrentSystem.HasShiftoriumUpgrade("textpadsave"); + + btnnew.Visible = CurrentSystem.HasShiftoriumUpgrade("textpadnew"); + btnopen.Visible = CurrentSystem.HasShiftoriumUpgrade("textpadopen"); + btnsave.Visible = CurrentSystem.HasShiftoriumUpgrade("textpadsave"); + + pnlbreak.Visible = pnloptions.Visible; + } + + private void btnnew_Click(object sender, EventArgs e) + { + txtuserinput.Text = ""; + } + + private void btnopen_Click(object sender, EventArgs e) + { + CurrentSystem.AskForFile(new[] { ".txt" }, false, (path) => + { + var fs = CurrentSystem.GetFilesystem(); + txtuserinput.Text = fs.ReadAllText(path); + return true; + }); + } + + private void btnsave_Click(object sender, EventArgs e) + { + CurrentSystem.AskForFile(new[] { ".txt" }, true, (path) => + { + var fs = CurrentSystem.GetFilesystem(); + fs.WriteAllText(path, txtuserinput.Text); + return true; + }); + } + } +} diff --git a/ShiftOS/ShiftOS/Programs/TextPad.resx b/ShiftOS/ShiftOS/Programs/TextPad.resx new file mode 100644 index 0000000..5b99445 --- /dev/null +++ b/ShiftOS/ShiftOS/Programs/TextPad.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAABkAAAAYCAYAAAAPtVbGAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL + DAAACwwBP0AiyAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAABUSURBVEhL + 7dVBDsAgCERRuP+hx7BoqkbaTIsr5yfsDI+dhi4zg7t/mqcG5O1xVhwXk1WKZFA5soK2IPOeEmROCJUQ + KiFUQqiEUB2CXF/n34k9d0ADy/9Q+T1v5iIAAAAASUVORK5CYII= + + + \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Properties/Resources.Designer.cs b/ShiftOS/ShiftOS/Properties/Resources.Designer.cs index 1f2dd3e..972a452 100644 --- a/ShiftOS/ShiftOS/Properties/Resources.Designer.cs +++ b/ShiftOS/ShiftOS/Properties/Resources.Designer.cs @@ -785,6 +785,45 @@ namespace ShiftOS.Properties { } } + /// + /// Looks up a localized string similar to { + /// "gray": { + /// 1: [ + /// "Black", + /// "Gray", + /// "White" + /// ], + /// 2: [ + /// "Black", + /// "DimGray", + /// "Gray", + /// "LightGray", + /// "White" + /// ] + /// } + ///}. + /// + internal static string ColorPickerDefaults { + get { + return ResourceManager.GetString("ColorPickerDefaults", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to { + /// 0: 0, + /// 1: 3, + /// 2: 5, + /// 3: 9, + /// 4: 16 + ///}. + /// + internal static string ColorPickerLevels { + get { + return ResourceManager.GetString("ColorPickerLevels", resourceCulture); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -2399,11 +2438,10 @@ namespace ShiftOS.Properties { /// /// Looks up a localized string similar to [ /// { - /// "ID": "gray", - /// "Name": "Gray", - /// "Cost": 20, - /// "Tutorial": "Originally the screen could only display black and white but now with the ability to display gray it's easier and more efficient to display more information and controls on the screen.\r\n\r\nYou can now set the colour of screen controls including the background to gray using Shifter and even draw in gray within Artpad.", - /// "Description": "Everything doesn't always have to be black and white. Give your programs and GUI some [rest of string was truncated]";. + /// "ID": "autoscrollterminal", + /// "Name": "Auto Scroll Terminal", + /// "Description": "Getting sick of the terminal filling up with text leaving you not knowing what you have typed unless you start typing more?\r\n\r\nThen buy this upgrade to keep the terminal scrolled to the bottom so you can always see the latest stuff you've typed.", + /// "Tutorial": "Buggy terminal Fixed! Although your terminal may not get filled up that much when it's full screen it certainly will if you find a way to make t [rest of string was truncated]";. /// internal static string UpgradeDatabase { get { diff --git a/ShiftOS/ShiftOS/Properties/Resources.resx b/ShiftOS/ShiftOS/Properties/Resources.resx index 6c41e3f..d6a2a6f 100644 --- a/ShiftOS/ShiftOS/Properties/Resources.resx +++ b/ShiftOS/ShiftOS/Properties/Resources.resx @@ -1120,4 +1120,10 @@ ..\Resources\3beepvirus.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\ColorPickerDefaults.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\ColorPickerLevels.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Resources/ColorPickerDefaults.txt b/ShiftOS/ShiftOS/Resources/ColorPickerDefaults.txt new file mode 100644 index 0000000..f56e7c2 --- /dev/null +++ b/ShiftOS/ShiftOS/Resources/ColorPickerDefaults.txt @@ -0,0 +1,419 @@ +{ + "gray": { + 1: [ + "Black", + "Gray", + "White" + ], + 2: [ + "Black", + "DimGray", + "Gray", + "LightGray", + "White" + ], + 3: [ + "Black", + "DimGray", + "Gray", + "DarkGray", + "Silver", + "LightGray", + "Gainsboro", + "WhiteSmoke", + "White" + ], + 4: [ + "Black", + "DimGray", + "Gray", + "DarkGray", + "Silver", + "LightGray", + "Gainsboro", + "WhiteSmoke", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White" + ] + }, + "purple": { + 1: [ + "Purple" + ], + 2: [ + "Indigo", + "Purple", + "MediumPurple" + ], + 3: [ + "Indigo", + "DarkSlateBlue", + "Purple", + "DarkOrchid", + "DarkViolet", + "BlueViolet", + "SlateBlue", + "MediumSlateBlue", + "MediumPurple", + "MediumOrchid", + "Magenta", + "Orchid", + "Violet", + "Plum", + "Thistle", + "Lavender" + ], + 4: [ + "Indigo", + "DarkSlateBlue", + "Purple", + "DarkOrchid", + "DarkViolet", + "BlueViolet", + "SlateBlue", + "MediumSlateBlue", + "MediumPurple", + "MediumOrchid", + "Magenta", + "Orchid", + "Violet", + "Plum", + "Thistle", + "Lavender" + ] + }, + "blue": { + 1: [ + "Blue" + ], + 2: [ + "Navy", + "Blue", + "LightBlue" + ], + 3: [ + "MidnightBlue", + "Navy", + "Blue", + "RoyalBlue", + "CornflowerBlue", + "DeepSkyBlue", + "SkyBlue", + "LightBlue", + "LightSteelBlue", + "Cyan", + "Aquamarine", + "DarkTurquoise", + "MediumAquamarine", + "CadetBlue", + "Teal", + "White" + ], + 4: [ + "MidnightBlue", + "Navy", + "Blue", + "RoyalBlue", + "CornflowerBlue", + "DeepSkyBlue", + "SkyBlue", + "LightBlue", + "LightSteelBlue", + "Cyan", + "Aquamarine", + "DarkTurquoise", + "MediumAquamarine", + "CadetBlue", + "Teal", + "White" + ] + }, + "green": { + 1: [ + "Green" + ], + 2: [ + "DarkGreen", + "Green", + "LightGreen" + ], + 3: [ + "DarkGreen", + "Green", + "SeaGreen", + "MediumSeaGreen", + "DarkSeaGreen", + "LightGreen", + "MediumSpringGreen", + "SpringGreen", + "GreenYellow", + "LawnGreen", + "Lime", + "LimeGreen", + "YellowGreen", + "OliveDrab", + "Olive", + "DarkOliveGreen" + ], + 4: [ + "DarkGreen", + "Green", + "SeaGreen", + "MediumSeaGreen", + "DarkSeaGreen", + "LightGreen", + "MediumSpringGreen", + "SpringGreen", + "GreenYellow", + "LawnGreen", + "Lime", + "LimeGreen", + "YellowGreen", + "OliveDrab", + "Olive", + "DarkOliveGreen" + ] + }, + "yellow": { + 1: [ + "Yellow" + ], + 2: [ + "DarkKhaki", + "Yellow", + "PaleGoldenrod" + ], + 3: [ + "DarkKhaki", + "Yellow", + "Khaki", + "PaleGoldenrod", + "PeachPuff", + "Moccasin", + "PapayaWhip", + "LightGoldenrodYellow", + "LemonChiffon", + "LightYellow" + ], + 4: [ + "DarkKhaki", + "Yellow", + "Khaki", + "PaleGoldenrod", + "PeachPuff", + "Moccasin", + "PapayaWhip", + "LightGoldenrodYellow", + "LemonChiffon", + "LightYellow", + "White", + "White", + "White", + "White", + "White", + "White" + ] + }, + "orange": { + 1: [ + "DarkOrange" + ], + 2: [ + "OrangeRed", + "DarkOrange", + "Orange" + ], + 3: [ + "OrangeRed", + "Tomato", + "Coral", + "DarkOrange", + "Orange", + "Gold" + ], + 4: [ + "OrangeRed", + "Tomato", + "Coral", + "DarkOrange", + "Orange", + "Gold", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White" + ] + }, + "brown": { + 1: [ + "Sienna" + ], + 2: [ + "SaddleBrown", + "Sienna", + "BurlyWood" + ], + 3: [ + "Maroon", + "Brown", + "Sienna", + "SaddleBrown", + "Chocolate", + "Peru", + "DarkGoldenrod", + "Goldenrod", + "SandyBrown", + "RosyBrown", + "Tan", + "BurlyWood", + "Wheat", + "NavajoWhite", + "Bisque", + "BlanchedAlmond" + ], + 4: [ + "Maroon", + "Brown", + "Sienna", + "SaddleBrown", + "Chocolate", + "Peru", + "DarkGoldenrod", + "Goldenrod", + "SandyBrown", + "RosyBrown", + "Tan", + "BurlyWood", + "Wheat", + "NavajoWhite", + "Bisque", + "BlanchedAlmond" + ] + }, + "red": { + 1: [ + "Red" + ], + 2: [ + "DarkRed", + "Red", + "Salmon" + ], + 3: [ + "DarkRed", + "Red", + "Firebrick", + "Crimson", + "IndianRed", + "LightCoral", + "DarkSalmon", + "Salmon", + "LightSalmon" + ], + 4: [ + "DarkRed", + "Red", + "Firebrick", + "Crimson", + "IndianRed", + "LightCoral", + "DarkSalmon", + "Salmon", + "LightSalmon", + "White", + "White", + "White", + "White", + "White", + "White", + "White" + ] + }, + "pink": { + 1: [ + "HotPink" + ], + 2: [ + "DeepPink", + "HotPink", + "LightPink" + ], + 3: [ + "MediumVioletRed", + "PaleVioletRed", + "DeepPink", + "HotPink", + "LightPink", + "Pink" + ], + 4: [ + "MediumVioletRed", + "PaleVioletRed", + "DeepPink", + "HotPink", + "LightPink", + "Pink", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White" + ] + }, + "any": { + 1: [ + "White" + ], + 2: [ + "White", + "White", + "White", + "White" + ], + 3: [ + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White" + ], + 4: [ + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White", + "White" + ] + } +} \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Resources/ColorPickerLevels.txt b/ShiftOS/ShiftOS/Resources/ColorPickerLevels.txt new file mode 100644 index 0000000..f8938d6 --- /dev/null +++ b/ShiftOS/ShiftOS/Resources/ColorPickerLevels.txt @@ -0,0 +1,17 @@ +{ + "gray": { + 0: 0, + 1: 3, + 2: 5, + 3: 8, + 4: 16 + }, + "purple": { + 0: 0, + 1: 1, + 2: 3, + 3: 16, + 4: 16 + }, + +} \ No newline at end of file diff --git a/ShiftOS/ShiftOS/Resources/UpgradeDatabase.json b/ShiftOS/ShiftOS/Resources/UpgradeDatabase.json index 19868ff..ac92d70 100644 --- a/ShiftOS/ShiftOS/Resources/UpgradeDatabase.json +++ b/ShiftOS/ShiftOS/Resources/UpgradeDatabase.json @@ -4,7 +4,9 @@ "Name": "Auto Scroll Terminal", "Description": "Getting sick of the terminal filling up with text leaving you not knowing what you have typed unless you start typing more?\r\n\r\nThen buy this upgrade to keep the terminal scrolled to the bottom so you can always see the latest stuff you've typed.", "Tutorial": "Buggy terminal Fixed! Although your terminal may not get filled up that much when it's full screen it certainly will if you find a way to make the terminal smaller.\r\n\r\nEvery time you press enter the terminal will now automatically scroll you to bottom so you can always see the latest terminal output.", - "Cost": 5 + "Cost": 5, + "PreInstallTip": "The Terminal can only show one screen of text and won't show anything typed off-screen.", + "UsageTip": "The Terminal now scrolls to the cursor when new text is added." }, { "ID": "osname", @@ -14,353 +16,27 @@ "Cost": 15, "Requires": [ "customusername" - ] + ], + "PreInstallTip": "You cannot change your computer's OS name.", + "UsageTip": "You can change your computer's OS name with \"set osname \"." }, { "ID": "customusername", "Name": "Custom Username", "Description": "Sick of being known as \"User\"? Want to be recognized and labeled? Then you need to replace the default username with your own!\r\n\r\nIf you want ShiftOS to refer to you by name then you are going to need this upgrade.", "Tutorial": "Well, isn't this special? The terminal will now display any name you want it to. Even the ShiftOS desktop and some other applications will refer to you by the username you set.\r\n\r\nTo set your username simply type \"set username\" in the terminal followed by the name you want (spaces not allowed).", - "Cost": 15 + "Cost": 15, + "PreInstallTip": "You cannot change your computer's username.", + "UsageTip": "You can change your computer's username with \"set username \"." }, { "ID": "gray", "Name": "Gray", "Description": "Everything doesn't always have to be black and white. Give your programs and GUI some depth by mixing black and white together to form grey.\r\n\r\nNote: You are unable to make controls grey until you buy the Shifter.", "Tutorial": "Originally the screen could only display black and white but now with the ability to display gray it's easier and more efficient to display more information and controls on the screen.\r\n\r\nYou can now set the colour of screen controls including the background to gray using Shifter and even draw in gray within Artpad.", - "Cost": 20 - }, - { - "ID": "artpad", - "Name": "Artpad", - "Description": "Ever wanted to play around with pixels on your screen?\r\n\r\nWell it looks like your newest companion may become the Artpad but be sure you know your x and y coordinates!", - "Tutorial": "Ah, I knew you were an artist at heart. Get your pixel setter ready and your magnifying glass, you’ll need it to see your 2 pixel masterpiece.\r\n\r\nMore tools, more pixels and more colours would be helpful though so be on the lookout for more upgrades.", - "Cost": 75, - "Requires": [ - "gray" - ] - }, - { - "ID": "artpad4colorpallettes", - "Name": "Artpad 4 Color pallettes", - "Description": "Having just 2 colours in your work may give it an interesting style but overall its very limiting.\r\n\r\nThis upgrade will double the amount of usable colour pallettes in the Artpad to allow you quick access to a wider range of colours.", - "Tutorial": "Two new black colour pallettes are available for you to use in the artpad.\r\n\r\nIf you would like to change the colour of any of the colour pallettes you can do so by right clicking them and then selecting a colour you would like to be from the colour picker.", - "Cost": 10, - "Requires": [ - "artpad" - ] - }, - { - "ID": "artpad8colorpallettes", - "Name": "Artpad 8 Color pallettes", - "Description": "4 colour pallettes is still very limiting and a lot less than your average paint program.\r\n\r\nThis upgrade will double the amount of usable colour pallettes in the Artpad to allow you quick access to a wider range of colours.", - "Tutorial": "Four new black colour pallettes are available for you to use in the artpad.\r\n\r\nIf you would like to change the colour of any of the colour pallettes you can do so by right clicking them and then selecting a colour you would like to be from the colour picker.", "Cost": 20, - "Requires": [ - "artpad4colorpallettes" - ] - }, - { - "ID": "artpad16colorpallettes", - "Name": "Artpad 16 Color pallettes", - "Description": "8 colours is still going to leave you changing the colour of your pallettes quite often.\r\n\r\nThis upgrade will double the amount of usable colour pallettes in the Artpad to allow you quick access to a wider range of colours.", - "Tutorial": "Eight new black colour pallettes are available for you to use in the artpad.\r\n\r\nIf you would like to change the colour of any of the colour pallettes you can do so by right clicking them and then selecting a colour you would like to be from the colour picker.", - "Cost": 35, - "Requires": [ - "artpad8colorpallettes" - ] - }, - { - "ID": "artpad32colorpallettes", - "Name": "Artpad 32 Color pallettes", - "Description": "16 colours is definitely usable but it certainly could get better than that right?\r\n\r\nThis upgrade will double the amount of usable colour pallettes in the Artpad to allow you quick access to a wider range of colours.", - "Tutorial": "Sixteen new black colour pallettes are available for you to use in the artpad.\r\n\r\nIf you would like to change the colour of any of the colour pallettes you can do so by right clicking them and then selecting a colour you would like to be from the colour picker.", - "Cost": 50, - "Requires": [ - "artpad16colorpallettes" - ] - }, - { - "ID": "artpad64colorpallettes", - "Name": "Artpad 64 Color pallettes", - "Description": "32 colours is slightly more than average for a paint program but don’t you want extreme?\r\n\r\nThis upgrade will double the amount of usable colour pallettes in the Artpad to allow you quick access to a wider range of colours.", - "Tutorial": "Thirty Two new black colour pallettes are available for you to use in the artpad.\r\n\r\nIf you would like to change the colour of any of the colour pallettes you can do so by right clicking them and then selecting a colour you would like to be from the colour picker.", - "Cost": 100, - "Requires": [ - "artpad32colorpallettes" - ] - }, - { - "ID": "artpad128colorpallettes", - "Name": "Artpad 128 Color pallettes", - "Description": "For some people 64 colour pallettes may already be overkill but for the extremists like yourself it’s just not enough.\r\n\r\nThis upgrade will double the amount of usable colour pallettes in the Artpad to allow you quick access to a wider range of colours.", - "Tutorial": "Sixty Four new black colour pallettes are available for you to use in the artpad.\r\n\r\nIf you would like to change the colour of any of the colour pallettes you can do so by right clicking them and then selecting a colour you would like to be from the colour picker.", - "Cost": 150, - "Requires": [ - "artpad64colorpallettes" - ] - }, - { - "ID": "artpadcustompallettes", - "Name": "Artpad Custom pallettes", - "Description": "It can be annoying when things are set in stone and can’t be changed.\r\n\r\nLet’s not let that happen to the Artpad by programming the colour pallettes to be resizable by the user.", - "Tutorial": "Nice! The colour pallettes are now able to be resized any time you like and you can even adjust the spaces between pallettes.\r\n\r\nTo resize the colour pallettes simply middle click any of them and a special settings window will pop up.", - "Cost": 75, - "Requires": [ - "artpad128colorpallettes" - ] - }, - { - "ID": "artpadnew", - "Name": "Artpad New", - "Description": "Ever wanted to start a fresh with a new canvas without restarting Artpad\r\n\r\nWith a little research it may be possible to add a button to do just that whenever you want.", - "Tutorial": "Much better. A new button that looks like a folded page should now be in your tool set.\r\n\r\nBy clicking the button you should be able create a new canvas and even type in a new size for it as many times as you like without opening and closing Artpad.", - "Cost": 10, - "Requires": [ - "artpad" - ] - }, - { - "ID": "artpadpixellimit4", - "Name": "Artpad Pixel Limit 4", - "Description": "With just two pixels you can’t make very interesting artworks.\r\n\r\nDoubling the pixel limit to 4 should more than double the variety of unique creations you can make with the artpad.", - "Tutorial": "This increased pixel limit has unlocked the ability to make canvases in artpad totaling 4 whole pixels.\r\n\r\nYou can make a variety of interesting artworks such as um, a 4 pixel high tower or a 4 pixel tower lying on its side and err, other stuff.", - "Cost": 10, - "Requires": [ - "artpad" - ] - }, - { - "ID": "artpadpixellimit8", - "Name": "Artpad Pixel Limit 8", - "Description": "Earlier I lied about 4 pixels giving you many different types of unique artistic opportunities.\r\n\r\nA pixel limit of 8 may be a little limiting though and its still dirt cheap.", - "Tutorial": "Great you can now have canvases with a total of 8 pixels.\r\n\r\nIt may not seem like much but… oh I give up, it’s still hopeless. On the bright side you can always buy another upgrade.", - "Cost": 20, - "Requires": [ - "artpadpixellimit4" - ] - }, - { - "ID": "artpadpixellimit16", - "Name": "Artpad Pixel Limit 16", - "Description": "8 pixels may not be great but 16 is looking a little more pristine.\r\n\r\nIt may be a silly rhyme but it’s true.", - "Tutorial": "You’ve just doubled your pixel limit from 8 to 16.\r\n\r\nYou can now make a very cramped smiley face without a nose or a quarter of a chess board if you put your mind to it.", - "Cost": 30, - "Requires": [ - "artpadpixellimit8" - ] - }, - { - "ID": "artpadpixellimit64", - "Name": "Artpad Pixel Limit 64", - "Description": "Step right up to a pixel limit 4x greater than your current one.\r\n\r\nIsn’t it usually double you say? Well this time around its quadruple but unfortunately it does come with a dearer price.", - "Tutorial": "Finally you are starting to make it into deeper waters.\r\n\r\nI’m not quite sure what I meant by that but if you’re drawing ocean scenes you could make them deeper and if you’re up to it you could draw a full chessboard without and pieces on it.", - "Cost": 50, - "Requires": [ - "artpadpixellimit16" - ] - }, - { - "ID": "artpadpixellimit256", - "Name": "Artpad Pixel Limit 256", - "Description": "Finally we are on the verge on a decent pixel limit. Think of what you could do with 256 pixels\r\n\r\nThe width and height of your canvas could be huge!", - "Tutorial": "Actually I just realized that with 256 pixels the biggest canvas size you can make is 16 by 16 pixels.\r\n\r\nStill that’s enough pixels to make a picture of a grave yard with gravestones and sad faces right?", - "Cost": 75, - "Requires": [ - "artpadpixellimit64" - ] - }, - { - "ID": "artpadpixellimit1024", - "Name": "Artpad Pixel Limit 1024", - "Description": "Ahh, now we’re talking. This is an upgrade that will do you a world of good.\r\n\r\nIt’s a shame it’s is so expensive but good things always come at a cost.", - "Tutorial": "Designing things like UI elements should be a breeze with this limit.\r\n\r\nMany icon designers used to make their icons at a resolution of 32 by 32 pixels so if you want to make those kind of icons then you’re all set.", - "Cost": 100, - "Requires": [ - "artpadpixellimit256" - ] - }, - { - "ID": "artpadpixellimit4096", - "Name": "Artpad Pixel Limit 4096", - "Description": " With a pixel limit of 4096 you would have the ability to make canvases 64 by 64 pixels.\r\n\r\nDo you really think you will need this high of a pixel limit?", - "Tutorial": "Finally we are nearing the point where you are able to draw freely at a zoom level of 1x.\r\n\r\nOverall though 4096 pixels is still not good for large free hand sketch-like drawings.", - "Cost": 150, - "Requires": [ - "artpadpixellimit1024" - ] - }, - { - "ID": "artpadpixellimit16384", - "Name": "Artpad Pixel Limit 16384", - "Description": "You may think your current pixel limit is good but you aren’t seen nothing yet.\r\n\r\nFor some true 4x zoomed freehand drawing don’t miss this upgrade.", - "Tutorial": "Awesome! Now you can try and do some free hand drawing at 4x magnification with a canvas size of 160 by 100\r\n\r\nYou may even be able to design tiny website banners.", - "Cost": 200, - "Requires": [ - "artpadpixellimit4096" - ] - }, - { - "ID": "artpadpixellimit65536", - "Name": "Artpad Pixel Limit 65536", - "Description": "Oh come on how much higher can the pixel limit go?\r\n\r\nI doubt you actually need it but aren’t you curious how much higher this goes?", - "Tutorial": "Go ahead and celebrate your seemingly limitless pixel limit for a moment and don’t look at the upgrade list.\r\n\r\nYou couldn’t resist looking and making this upgrade seem so small could you? That’s right, you’re an upgrade away from truly limitless pixels.", - "Cost": 250, - "Requires": [ - "artpadpixellimit16384" - ] - }, - { - "ID": "artpadlimitlesspixels", - "Name": "Artpad Limitless Pixels", - "Description": "This is what you’ve been waiting for all this time after purchasing all those pixel limit upgrades\r\n\r\nIt may be ultra-expensive but you won’t have to ever get another after this one.", - "Tutorial": "Congratulations you now have absolutely no pixel limit and can create canvases as big as you want as long as your own computer can handle it.\r\n\r\nGo ahead and make yourself a native resolution desktop background to celebrate!", - "Cost": 350, - "Requires": [ - "artpadpixellimit65536" - ] - }, - { - "ID": "artpadpixelplacer", - "Name": "Artpad Pixel Placer", - "Description": "The pixel setter allows you to set pixels but do you really want to go around trying to pinpoint and calculate x and y coordinates\r\n\r\nClicking the pixel you want to change directly would be much more efficient don’t you agree?", - "Tutorial": "Now with the new Pixel Placer you have the power to simply click any pixel to change its colour.\r\n\r\nSimply left click a colour pallette then click any pixel on your canvas to set it to that colour. You can also right click your colour pallettes to change their colour.", - "Cost": 20, - "Requires": [ - "artpad" - ] - }, - { - "ID": "artpadppmovementmode", - "Name": "Artpad PP Movement Mode", - "Description": "Constantly clicking each individual pixel on your canvas using the Pixel Placer can be very time consuming and tiring for your hands\r\n\r\nWouldn’t it be easier to just click and drag? Well there’s an upgrade for that!", - "Tutorial": "The Pixel Placer now has a movement mode option. Simply Click the Pixel Placer tool and you will see the Movement Mode Switch in the options panel.\r\n\r\nWhen movement mode is on you can click and drag slowly to draw pixels with the mouse. Be slow otherwise it may skip pixels though.", - "Cost": 20, - "Requires": [ - "artpadpixelplacer" - ] - }, - { - "ID": "artpadpencil", - "Name": "Artpad Pencil", - "Description": "Does the buggy Pixel placer movement mode annoy you when it skips pixels?\r\n\r\nWell with a little more research we may be able to develop a new tool that can draw much more smoothly.", - "Tutorial": "Fantastic! You now have a new pencil tool which you can access from the toolbox.\r\n\r\nYou can now draw as fast as you want freehand and it won’t skip a single pixel. You can also draw with three different levels of thickness which can be set in the pencil’s option panel.", - "Cost": 30, - "Requires": [ - "artpadppmovementmode" - ] - }, - { - "ID": "artpaderaser", - "Name": "Artpad Eraser", - "Description": "Made a little mistake and want to erase it? Sounds like you need an eraser\r\n\r\nWith a little bit of research an eraser tool may not be too far away as overall its just a paintbrush set to the colour of the canvas.", - "Tutorial": "Your toolbox now has a new addition to it, An Eraser!\r\n\r\nThe eraser tool can be circular or square and any size you want. Clicking and dragging on the canvas will remove any colour on it and replace it with the default canvas colour which in most cases will be white.", - "Cost": 20, - "Requires": [ - "artpadpencil" - ] - }, - { - "ID": "artpadfilltool", - "Name": "Artpad Fill Tool", - "Description": "Instead of coloring in every single individual pixel sometimes it is more appropriate to simply draw an outline and instantly fill a space in.\r\n\r\nIf that’s a feature you’re interested in then you should definitely buy this upgrade.", - "Tutorial": "Fantastic! You now have a new fill tool which you can access from the toolbox.\r\n\r\nTo use the fill tool you simply have to click it, choose a colour then click a pixel on the canvas and it and every surrounding pixel matching its colour will become the new colour you set.", - "Cost": 60, - "Requires": [ - "artpadppmovementmode" - ] - }, - { - "ID": "artpadlinetool", - "Name": "Artpad Line Tool", - "Description": "Having difficulty drawing strait lines? Then you obviously need a line tool.\r\n\r\nWith a line tool you will be able to draw straight lines from any point to any point on your canvas.", - "Tutorial": "Great! You got a line tool. You can begin using it by selecting the tool from your toolbox.\r\n\r\nSimply click and drag on your canvas to draw a horizontal, vertical or diagonal line on your canvas.", - "Cost": 30, - "Requires": [ - "artpadppmovementmode" - ] - }, - { - "ID": "artpadovaltool", - "Name": "Artpad Oval Tool", - "Description": "Drawing perfect circles is a very tricky process especially if zoomed right in on the canvas\r\n\r\nWith a bit of research we may be able to discover a tool that calculates how to draw circles without much effort on our side.", - "Tutorial": "The new oval tool now allows you to draw circles and ovals with the mouse just by clicking and dragging on the canvas.\r\n\r\nYou can also change the inside and outside colour of the ovals and change their border width in the options panel.", - "Cost": 40, - "Requires": [ - "artpadlinetool" - ] - }, - { - "ID": "artpadpaintbrush", - "Name": "Artpad Paint Brush", - "Description": "Ever wanted to paint with a tool that can paint free handedly and be big, small, circular or square?\r\n\r\nThis paint brush tool may be the tool you want then and its pretty cheap too.", - "Tutorial": "You now have access to the paintbrush tool which you can use simply by clicking on its icon in the tool box.\r\n\r\nA good thing about the paint brush is that you can set its size to a specific value in pixels making it perfect for a variety of different situations.", - "Cost": 30, - "Requires": [ - "artpadpencil" - ] - }, - { - "ID": "artpadrectangletool", - "Name": "Artpad Rectangle Tool", - "Description": "Drawing perfect squares is a time consuming process especially if you are trying to draw them perfectly straight\r\n\r\nWith a bit of research we may be able to discover a tool that calculates how to draw squares without much effort on our side.", - "Tutorial": "The new rectangle tool now allows you to draw squares and rectangles with the mouse just by clicking and dragging on the canvas.\r\n\r\nYou can also change the inside and outside colour of the rectangles and change their border width in the options panel.", - "Cost": 40, - "Requires": [ - "artpadlinetool" - ] - }, - { - "ID": "artpadsave", - "Name": "Artpad Save", - "Description": "Artpad may be fun to play around with but wouldn’t saving be an amazing feature?\r\n\r\nSaving your pictures may even generate codepoints and the saved pictures might be able to be used for something.", - "Tutorial": "Now with your new saving ability you can save all those amazing artpad creations to be viewed at any point in the future\r\n\r\nEvery time you save a picture the amount of codepoints you earned for making it will appear briefly as title text or in an info box.", - "Cost": 50, - "Requires": [ - "artpadnew", - "fileskimmer" - ] - }, - { - "ID": "artpadload", - "Name": "Artpad Load", - "Description": "Sometimes after making something and saving it you wish to alter it slightly to enhance it\r\n\r\nA load feature in the Artpad should let you modify saved .pic files by allowing you to load them up again with the click of a button.", - "Tutorial": "You should now be able to load old .pic files by clicking the load button in your tool box and choosing the file you want with the file opener\r\n\r\nThe image will then pop up in artpad and you can get right to editing.", - "Cost": 50, - "Requires": [ - "artpadnew", - "fileskimmer" - ] - }, - { - "ID": "artpadtexttool", - "Name": "Artpad Text Tool", - "Description": "drawing text is very difficult but if you can pull it off then well done, nice accomplishment!\r\n\r\nFor those who can’t though research into a text drawing tool would be very handy unless you don’t require text in your artwork.", - "Tutorial": "A text tool is now sitting in your toolbox waiting patiently for you to use it.\r\n\r\nSimply choose a font, colour and size then type something in and click and drag the mouse to move the text around on the canvas until you are happy with its position. Once you’re done release the mouse and the text will be placed in the spot you chose.", - "Cost": 45, - "Requires": [ - "artpadppmovementmode" - ] - }, - { - "ID": "artpadundo", - "Name": "Artpad Undo", - "Description": "Ever spilt your paint over your masterpiece? It’s an awful feeling right?\r\n\r\nWell in situations like these an undo feature would be very useful so for backup I would definitely get this upgrade.", - "Tutorial": "From now on a line draw too long or the wrong splash of colour can’t hurt you anymore.\r\n\r\nAn undo button has been added to your toolbox and any time you make a mistake on your canvas you can fix it with a single click of that button.", - "Cost": 40, - "Requires": [ - "artpad" - ] - }, - { - "ID": "artpadredo", - "Name": "Artpad Redo", - "Description": "Ever clicked undo too many times and found that you have lost a large portion of work\r\n\r\nFor cases like these a redo button can be quite handy but obviously you could save your codepoints by just being careful with the undo button.", - "Tutorial": "Now that you can redo any undone actions you are totally free to cycle forwards and backwards through your work.\r\n\r\nIf you really wanted you could undo all your work then keep clicking redo to watch the creation of your entire picture.", - "Cost": 40, - "Requires": [ - "artpadundo" - ] + "PreInstallTip": "ShiftOS can only display black and white.", + "UsageTip": "ShiftOS can display black, white and gray." }, { "ID": "desktoppanel", @@ -382,17 +58,6 @@ "desktoppanel" ] }, - { - "ID": "alartpad", - "Name": "AL Artpad", - "Description": "What's the point of an App Launcher if it can't launch all your apps? \r\n\r\nUse this tweak to add a shortcut to artpad in your app launcher so you can launch it at any time with just a few clicks.", - "Tutorial": "Your App Launcher is now more complete and will allow you to launch artpad at any time you like.\r\n\r\nBe sure to buy tweaks to add all your installed programs to the app launcher so you never have to use the terminal to open up a program ever again!", - "Cost": 5, - "Requires": [ - "applaunchermenu", - "artpad" - ] - }, { "ID": "alknowledgeinput", "Name": "AL Knowledge Input", @@ -816,7 +481,7 @@ "Tutorial": "Brilliant! A skinning system is now in place. You now have a new graphic picker and skin loader at your disposal.\r\n\r\nRight click colour boxes in the Shifter to bring up the graphic picker instead of the colour picker.", "Cost": 80, "Requires": [ - "artpad", + "customgrayshades", "fileskimmer", "shifter" ] @@ -1053,8 +718,11 @@ "Tutorial": "Well, Isn't this heaven! The terminal will now display a scroll bar when windowed! It may not seem like much but it will certainly help if you need to backtrack on previous output in the terminal.\r\n\r\nPlease note that the scrollbar will only appear when the terminal is windowed and can't display all text at once.", "Cost": 20, "Requires": [ - "windowedterminal" - ] + "windowedterminal", + "autoscrollterminal" + ], + "PreInstallTip": "The Terminal cannot be scrolled.", + "UsageTip": "The Terminal has a scroll bar on its right side that lets you scroll up and down." }, { "ID": "windowsanywhere", diff --git a/ShiftOS/ShiftOS/ShiftOS.csproj b/ShiftOS/ShiftOS/ShiftOS.csproj index 22df0bf..8f9265d 100644 --- a/ShiftOS/ShiftOS/ShiftOS.csproj +++ b/ShiftOS/ShiftOS/ShiftOS.csproj @@ -90,12 +90,36 @@ Clock.cs + + Form + + + ColorPicker.cs + Form FileSkimmer.cs + + Form + + + GraphicPicker.cs + + + Form + + + Infobox.cs + + + Form + + + Shifter.cs + Form @@ -108,6 +132,12 @@ Terminal.cs + + Form + + + TextPad.cs + True @@ -135,15 +165,30 @@ Clock.cs + + ColorPicker.cs + FileSkimmer.cs + + GraphicPicker.cs + + + Infobox.cs + + + Shifter.cs + Shiftorium.cs Terminal.cs + + TextPad.cs + ResXFileCodeGenerator Designer @@ -172,7 +217,8 @@ - + + diff --git a/ShiftOS/ShiftOS/Skin.cs b/ShiftOS/ShiftOS/Skin.cs index 5aad87b..b1442d5 100644 --- a/ShiftOS/ShiftOS/Skin.cs +++ b/ShiftOS/ShiftOS/Skin.cs @@ -62,7 +62,6 @@ namespace ShiftOS public string titletextfontfamily = "Microsoft Sans Serif"; public int titletextfontsize = 10; public FontStyle titletextfontstyle = FontStyle.Bold; - public string titletextpos = "Left"; public int titletextfromtop = 3; public int titletextfromside = 24; public Color titletextcolour = Color.White; diff --git a/ShiftOS/ShiftOS/SkinContext.cs b/ShiftOS/ShiftOS/SkinContext.cs index d4f7a19..8ee863e 100644 --- a/ShiftOS/ShiftOS/SkinContext.cs +++ b/ShiftOS/ShiftOS/SkinContext.cs @@ -28,6 +28,94 @@ namespace ShiftOS return _skin; } + public SkinContext MakeClone() + { + var ctx = new SkinContext(); + ctx._skin = JsonConvert.DeserializeObject(JsonConvert.SerializeObject(_skin)); + ctx._skinimages = new Dictionary(); + foreach (var kvs in _skinimages) + { + var image = kvs.Value; + if (image == null) + continue; + ctx._skinimages.Add(kvs.Key, new Bitmap(image)); + } + return ctx; + } + + public void SaveToDisk(FilesystemContext InFilesystem) + { + // Does the skin data folder exist? + if (InFilesystem.DirectoryExists("/Shiftum42/Skins/Loaded")) + { + InFilesystem.DeleteDirectory("/Shiftum42/Skins/Loaded", true); + } + + // Create the skin data directory. + InFilesystem.CreateDirectory("/Shiftum42/Skins/Loaded"); + + // Serialize the data blob. + string dataJson = JsonConvert.SerializeObject(_skin); + + // Write the data blob to the disk. + InFilesystem.WriteAllText("/Shiftum42/Skins/Loaded/data.dat", dataJson); + + // For every loaded image... + foreach(var kvs in _skinimages) + { + // Get the GDI image. + var image = kvs.Value; + + // If it's null, skip it. + if (image == null) + continue; + + // Open a file stream for the image. + using (var stream = InFilesystem.Open("/Shiftum42/Skins/Loaded/" + kvs.Key, FileMode.OpenOrCreate)) + { + // Save the image in PNG format. + image.Save(stream, System.Drawing.Imaging.ImageFormat.Png); + } + } + + } + + public void SetImage(string key, Image value) + { + if (_skinimages.ContainsKey(key)) + { + if (value == null) + _skinimages.Remove(key); + else + { + _skinimages[key].Dispose(); + _skinimages[key] = value; + } + } + else + { + if (value == null) + return; + + _skinimages.Add(key, value); + } + } + + public void Reset() + { + Console.WriteLine("Resetting skin context..."); + while(_skinimages.Count > 0) + { + var kvs = _skinimages.First(); + Console.WriteLine(" --> Unloading image {0}...", kvs.Key); + kvs.Value.Dispose(); + _skinimages.Remove(kvs.Key); + } + Console.WriteLine(" --> Creating default skin data..."); + _skin = new Skin(); + Console.WriteLine(" --> Reset complete."); + } + public void LoadFromDisk(SystemContext InSystemContext) { var fs = InSystemContext.GetFilesystem(); @@ -83,17 +171,14 @@ namespace ShiftOS { if (!path.EndsWith("data.dat")) { - using (var stream = fs.OpenRead(path)) - { - var image = Image.FromStream(stream); + var image = fs.LoadImage(path); - string filenameWithoutExtension = Path.GetFileNameWithoutExtension(path); + string filenameWithoutExtension = Path.GetFileNameWithoutExtension(path); - Console.WriteLine(" --> Loaded: {0}", path); - Console.WriteLine(" --> Storing as: {0}", filenameWithoutExtension); + Console.WriteLine(" --> Loaded: {0}", path); + Console.WriteLine(" --> Storing as: {0}", filenameWithoutExtension); - _skinimages.Add(filenameWithoutExtension, image); - } + _skinimages.Add(filenameWithoutExtension, image); } } } @@ -391,12 +476,7 @@ namespace ShiftOS private Image GetImage(FilesystemContext fs, string path) { - if (!fs.FileExists(path)) - return null; - using (var stream = fs.OpenRead(path)) - { - return Image.FromStream(stream); - } + return fs.LoadImage(path); } private void PhilLoadDesktopPanelAndClock(StreamReader stream) @@ -508,7 +588,7 @@ namespace ShiftOS // Line 38 is a string representing the title text position - centered or // left. Why Phil decided a string is a good idea instead of a boolean, we may never know. - _skin.titletextpos = stream.ReadLine(); + _skin.titletextposition = stream.ReadLine(); // And right after that - line 39 and 40 - is the position for the title text as a 2d point. _skin.titletextfromtop = Convert.ToInt32(stream.ReadLine()); @@ -550,7 +630,7 @@ namespace ShiftOS _skin.applicationlaunchername = stream.ReadLine(); Console.WriteLine(" --> Read Title Text Position"); - _skin.titletextpos = stream.ReadLine(); + _skin.titletextposition = stream.ReadLine(); } public bool HasImage(string ImageKey) diff --git a/ShiftOS/ShiftOS/SystemContext.cs b/ShiftOS/ShiftOS/SystemContext.cs index 95da1d5..2a97ced 100644 --- a/ShiftOS/ShiftOS/SystemContext.cs +++ b/ShiftOS/ShiftOS/SystemContext.cs @@ -12,6 +12,7 @@ using System.Threading.Tasks; using System.Drawing; using System.IO; using System.Security.Cryptography; +using ShiftOS.Programs; namespace ShiftOS { @@ -380,6 +381,113 @@ namespace ShiftOS return _installedUpgrades.Contains(InUpgrade); } + public void AskForColor(string colorTitle, Color oldColor, Action callback) + { + var picker = new ColorPicker(); + picker.ColorName = colorTitle; + picker.OldColor = oldColor; + picker.Callback = callback; + _windows.Add(picker); + picker.SetSystemContext(this); + picker.FormClosed += (o, a) => + { + _windows.Remove(picker); + }; + picker.Show(); + } + + public void AskForGraphic(string GraphicName, Image OldGraphic, ImageLayout OldLayout, Action Callback) + { + var picker = new GraphicPicker(); + picker.SetSystemContext(this); + picker.GraphicName = GraphicName; + picker.Callback = Callback; + picker.CurrentGraphic = OldGraphic; + picker.CurrentLayout = OldLayout; + + _windows.Add(picker); + picker.Show(); + + picker.FormClosed += (o, a) => + { + _windows.Remove(picker); + }; + } + + /// + /// Clones the specified skin context and applies it, saving it to the disk. + /// + /// The skin context containing data to apply. + public void ApplySkin(SkinContext InContext) + { + _skinContext = InContext.MakeClone(); + _skinContext.SaveToDisk(_filesystem); + } + + public void AskForFile(string[] filters, bool save, Func callback) + { + var fileskimmer = new FileSkimmer(); + fileskimmer.SetSystemContext(this); + fileskimmer.SetFilters(filters); + fileskimmer.Mode = (save) ? FileSkimmerMode.Save : FileSkimmerMode.Open; + fileskimmer.FileOpenCallback = callback; + _windows.Add(fileskimmer); + fileskimmer.FormClosed += (o, a) => + { + _windows.Remove(fileskimmer); + }; + fileskimmer.Show(); + } + + public void AskForText(string title, string message, Func callback) + { + var info = new Infobox(); + _windows.Add(info); + info.WindowTitle = title; + info.Info = message; + info.SetSystemContext(this); + info.Mode = InfoboxMode.TextInput; + info.TextSubmitted = callback; + info.FormClosed += (o, a) => + { + _windows.Remove(info); + }; + info.Show(); + + } + + + public void AskYesNo(string title, string message, Action callback) + { + var info = new Infobox(); + _windows.Add(info); + info.WindowTitle = title; + info.Info = message; + info.SetSystemContext(this); + info.Mode = InfoboxMode.YesNo; + info.ChoiceMade = callback; + info.FormClosed += (o, a) => + { + _windows.Remove(info); + }; + info.Show(); + + } + + public void ShowInfo(string title, string message) + { + var info = new Infobox(); + _windows.Add(info); + info.WindowTitle = title; + info.Info = message; + info.SetSystemContext(this); + info.FormClosed += (o, a) => + { + _windows.Remove(info); + }; + info.Show(); + } + public bool LaunchProgram(string InExecutableName) { // Does the program exist in our typemap? @@ -633,5 +741,34 @@ namespace ShiftOS } } } + + public string GetProgramDescription(string InProgramExe) + { + var meta = _programMetadata.FirstOrDefault(x => x.ExecutableName == InProgramExe); + if (meta == null) + return ""; + return meta.Description; + } + + public IEnumerable GetUsefulTips() + { + yield return "You can type in the name of a program in Terminal to open it."; + yield return "Commands will tell you their usage when you use them incorrectly."; + yield return "You can type 'help [command]' to see info about a specific command."; + + foreach(var upgrade in _upgrades) + { + if(HasShiftoriumUpgrade(upgrade.ID)) + { + if (!string.IsNullOrWhiteSpace(upgrade.UsageTip)) + yield return upgrade.UsageTip; + } + else + { + if (!string.IsNullOrWhiteSpace(upgrade.PreInstallTip)) + yield return upgrade.PreInstallTip; + } + } + } } } diff --git a/ShiftOS/ShiftOS/ToolStripSkinRenderer.cs b/ShiftOS/ShiftOS/ToolStripSkinRenderer.cs index b6129a9..bd1c95f 100644 --- a/ShiftOS/ShiftOS/ToolStripSkinRenderer.cs +++ b/ShiftOS/ShiftOS/ToolStripSkinRenderer.cs @@ -16,17 +16,29 @@ namespace ShiftOS { CurrentSystem = InSystem; } + + public ToolStripSkinRenderer(SkinContext InSkinPreview) : base(new ToolStripSkinColorTable(InSkinPreview)) + { + + } } public class ToolStripSkinColorTable : ProfessionalColorTable { private SystemContext CurrentSystem; + private SkinContext _previewSkin = null; public ToolStripSkinColorTable(SystemContext InSystem) { CurrentSystem = InSystem; } + public ToolStripSkinColorTable(SkinContext InPreviewSkin) + { + _previewSkin = InPreviewSkin; + } + + public SkinContext Skin => (_previewSkin == null) ? CurrentSystem.GetSkinContext() : _previewSkin; public override Color ButtonSelectedHighlight => ButtonSelectedGradientMiddle; public override Color ButtonSelectedHighlightBorder => ButtonSelectedBorder; @@ -71,7 +83,7 @@ namespace ShiftOS public override Color GripLight => Color.White; - public override Color ImageMarginGradientBegin => CurrentSystem.GetSkinContext().GetSkinData().applauncherbackgroundcolour; + public override Color ImageMarginGradientBegin => Skin.GetSkinData().applauncherbackgroundcolour; public override Color ImageMarginGradientMiddle => ImageMarginGradientBegin; @@ -83,21 +95,21 @@ namespace ShiftOS public override Color ImageMarginRevealedGradientEnd => Color.Gray; - public override Color MenuStripGradientBegin => (CurrentSystem.GetSkinContext().HasImage("applauncher") ? Color.Transparent : CurrentSystem.GetSkinContext().GetSkinData().applauncherbuttoncolour); + public override Color MenuStripGradientBegin => (Skin.HasImage("applauncher") ? Color.Transparent : Skin.GetSkinData().applauncherbuttoncolour); public override Color MenuStripGradientEnd => MenuStripGradientBegin; - public override Color MenuItemSelected => CurrentSystem.GetSkinContext().GetSkinData().applaunchermouseovercolour; + public override Color MenuItemSelected => Skin.GetSkinData().applaunchermouseovercolour; - public override Color MenuItemBorder => (CurrentSystem.GetSkinContext().HasImage("applauncher") ? Color.Transparent : MenuItemSelected); + public override Color MenuItemBorder => (Skin.HasImage("applauncher") ? Color.Transparent : MenuItemSelected); - public override Color MenuBorder => (CurrentSystem.GetSkinContext().HasImage("applauncher") ? Color.Transparent : CurrentSystem.GetSkinContext().GetSkinData().applauncherbackgroundcolour); + public override Color MenuBorder => (Skin.HasImage("applauncher") ? Color.Transparent : Skin.GetSkinData().applauncherbackgroundcolour); - public override Color MenuItemSelectedGradientBegin => MenuItemSelected; + public override Color MenuItemSelectedGradientBegin => (Skin.HasImage("applauncher") || Skin.HasImage("applaunchermouseover") ? Color.Transparent : MenuItemSelected); public override Color MenuItemSelectedGradientEnd => MenuItemSelectedGradientBegin; - public override Color MenuItemPressedGradientBegin => (CurrentSystem.GetSkinContext().HasImage("applauncher") ? Color.Transparent : CurrentSystem.GetSkinContext().GetSkinData().applauncherbuttonclickedcolour); + public override Color MenuItemPressedGradientBegin => (Skin.HasImage("applauncher") || Skin.HasImage("applauncherclick") ? Color.Transparent : Skin.GetSkinData().applauncherbuttonclickedcolour); public override Color MenuItemPressedGradientMiddle => MenuItemPressedGradientBegin; @@ -107,7 +119,7 @@ namespace ShiftOS public override Color RaftingContainerGradientEnd => RaftingContainerGradientEnd; - public override Color SeparatorDark => Color.Black; + public override Color SeparatorDark => Skin.GetSkinData().launcheritemcolour; public override Color SeparatorLight => SeparatorDark; @@ -117,7 +129,7 @@ namespace ShiftOS public override Color ToolStripBorder => Color.Gray; - public override Color ToolStripDropDownBackground => MenuStripGradientBegin; + public override Color ToolStripDropDownBackground => Skin.GetSkinData().applauncherbackgroundcolour; public override Color ToolStripGradientBegin => Color.Gray; diff --git a/ShiftOS/ShiftOS/Upgrade.cs b/ShiftOS/ShiftOS/Upgrade.cs index 05653a4..c3ed504 100644 --- a/ShiftOS/ShiftOS/Upgrade.cs +++ b/ShiftOS/ShiftOS/Upgrade.cs @@ -15,7 +15,12 @@ namespace ShiftOS private int _codepoints; private string[] _dependencies; private bool _finalized = false; - + private string _prebuyTip = null; + private string _installedTip = null; + + public string UsageTip { get => _installedTip; set => _installedTip = value; } + public string PreInstallTip { get => _prebuyTip; set => _prebuyTip = value; } + public string ImageResource { get; set; } public string Tutorial diff --git a/ShiftOS/ShiftOS/Windowing/Window.cs b/ShiftOS/ShiftOS/Windowing/Window.cs index 50f6602..1d06084 100644 --- a/ShiftOS/ShiftOS/Windowing/Window.cs +++ b/ShiftOS/ShiftOS/Windowing/Window.cs @@ -65,7 +65,7 @@ namespace ShiftOS.Windowing // Set the title text position. this.TitleText.Top = skindata.titletextfromtop; - if(skindata.titletextpos == "Left") + if(skindata.titletextposition == "Left") { this.TitleText.Left = skindata.titletextfromside; }