diff options
| author | MichaelTheShifter <[email protected]> | 2016-06-25 08:10:03 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-06-25 08:10:03 -0400 |
| commit | 84f689b91a73e512b035df40bbcf556b008a3b81 (patch) | |
| tree | da1020b2b5866c7ce300ac7b9c97112fe80fa1b3 /source/WindowsFormsApplication1/Dialogs | |
| parent | 6707e2076a63dafab686fd533c95fb8ceb6c23fa (diff) | |
| download | shiftos-c--84f689b91a73e512b035df40bbcf556b008a3b81.tar.gz shiftos-c--84f689b91a73e512b035df40bbcf556b008a3b81.tar.bz2 shiftos-c--84f689b91a73e512b035df40bbcf556b008a3b81.zip | |
Sort source code into folders.
It feels better to know what's responsible for what... Plus I removed
some un-needed C# stuff.
Diffstat (limited to 'source/WindowsFormsApplication1/Dialogs')
6 files changed, 6903 insertions, 0 deletions
diff --git a/source/WindowsFormsApplication1/Dialogs/Color_Picker.Designer.cs b/source/WindowsFormsApplication1/Dialogs/Color_Picker.Designer.cs new file mode 100644 index 0000000..bc68a96 --- /dev/null +++ b/source/WindowsFormsApplication1/Dialogs/Color_Picker.Designer.cs @@ -0,0 +1,3573 @@ +using System; + +namespace ShiftOS +{ + partial class Color_Picker + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + private void InitializeComponent() + { + this.pgcontents = 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.Label32 = new System.Windows.Forms.Label(); + this.txtredsblue = new System.Windows.Forms.TextBox(); + this.txtredsred = new System.Windows.Forms.TextBox(); + this.Label33 = new System.Windows.Forms.Label(); + this.Label34 = new System.Windows.Forms.Label(); + this.txtredsgreen = 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.pnlred4 = 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.pnlred5 = new System.Windows.Forms.Panel(); + 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.pnlbrowncolours = new System.Windows.Forms.Panel(); + this.pnlbrownoptions = 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.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.pnlbrown10 = new System.Windows.Forms.Panel(); + this.pnlbrown8 = 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.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.Label15 = new System.Windows.Forms.Label(); + this.txtgreensred = new System.Windows.Forms.TextBox(); + this.txtgreensgreen = new System.Windows.Forms.TextBox(); + this.Label16 = new System.Windows.Forms.Label(); + this.Label18 = new System.Windows.Forms.Label(); + this.txtgreensblue = new System.Windows.Forms.TextBox(); + this.pnlgreencustomcolour = new System.Windows.Forms.Panel(); + this.pnlgreen16 = new System.Windows.Forms.Panel(); + this.pnlgreen12 = new System.Windows.Forms.Panel(); + this.pnlgreen14 = new System.Windows.Forms.Panel(); + this.pnlgreen10 = new System.Windows.Forms.Panel(); + this.pnlgreen8 = new System.Windows.Forms.Panel(); + this.pnlgreen4 = new System.Windows.Forms.Panel(); + this.pnlgreen6 = 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.pnlgreen1 = new System.Windows.Forms.Panel(); + this.lblgreenlevel = new System.Windows.Forms.Label(); + this.Label9 = new System.Windows.Forms.Label(); + this.pnlbluecolours = new System.Windows.Forms.Panel(); + 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.pnlbluecustomcolour = new System.Windows.Forms.Panel(); + this.pnlblue16 = new System.Windows.Forms.Panel(); + this.pnlblue12 = 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.pnlblue6 = 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.pnlblue9 = new System.Windows.Forms.Panel(); + this.pnlblue5 = 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.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.pnlpurple3 = 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.pnlgraycolours = 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.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.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.txtanysblue = new System.Windows.Forms.TextBox(); + this.pnlanycustomcolour = new System.Windows.Forms.Panel(); + 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.pnlany8 = 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.Panel1 = 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.pgcontents.SuspendLayout(); + this.pnlpinkcolours.SuspendLayout(); + this.pnlpinkoptions.SuspendLayout(); + this.pnlredcolours.SuspendLayout(); + this.pnlredoptions.SuspendLayout(); + this.pnlbrowncolours.SuspendLayout(); + this.pnlbrownoptions.SuspendLayout(); + this.pnlorangecolours.SuspendLayout(); + this.pnlorangeoptions.SuspendLayout(); + this.pnlyellowcolours.SuspendLayout(); + this.pnlyellowoptions.SuspendLayout(); + this.pnlgreencolours.SuspendLayout(); + this.pnlgreenoptions.SuspendLayout(); + this.pnlbluecolours.SuspendLayout(); + this.pnlblueoptions.SuspendLayout(); + this.pnlpurplecolours.SuspendLayout(); + this.pnlpurpleoptions.SuspendLayout(); + this.pnlgraycolours.SuspendLayout(); + this.pnlanycolours.SuspendLayout(); + this.pnlanyoptions.SuspendLayout(); + this.Panel1.SuspendLayout(); + this.SuspendLayout(); + // + // pgcontents + // + this.pgcontents.Controls.Add(this.pnlpinkcolours); + this.pgcontents.Controls.Add(this.pnlredcolours); + this.pgcontents.Controls.Add(this.pnlbrowncolours); + this.pgcontents.Controls.Add(this.pnlorangecolours); + this.pgcontents.Controls.Add(this.pnlyellowcolours); + this.pgcontents.Controls.Add(this.pnlgreencolours); + this.pgcontents.Controls.Add(this.pnlbluecolours); + this.pgcontents.Controls.Add(this.pnlpurplecolours); + this.pgcontents.Controls.Add(this.pnlgraycolours); + this.pgcontents.Controls.Add(this.pnlanycolours); + this.pgcontents.Controls.Add(this.Panel1); + this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill; + this.pgcontents.Location = new System.Drawing.Point(0, 0); + this.pgcontents.Name = "pgcontents"; + this.pgcontents.Size = new System.Drawing.Size(447, 600); + this.pgcontents.TabIndex = 20; + // + // 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, 521); + this.pnlpinkcolours.Name = "pnlpinkcolours"; + this.pnlpinkcolours.Size = new System.Drawing.Size(447, 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; + this.txtpinksgreen.TextChanged += new System.EventHandler(this.txtpinksred_TextChanged); + // + // 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; + this.txtpinksred.TextChanged += new System.EventHandler(this.txtpinksred_TextChanged); + // + // 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; + this.txtpinksblue.TextChanged += new System.EventHandler(this.txtpinksred_TextChanged); + // + // 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.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, 475); + this.pnlredcolours.Name = "pnlredcolours"; + this.pnlredcolours.Size = new System.Drawing.Size(447, 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; + // + // 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:"; + // + // 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; + // + // 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; + // + // 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:"; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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.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"; + // + // 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, 429); + this.pnlbrowncolours.Name = "pnlbrowncolours"; + this.pnlbrowncolours.Size = new System.Drawing.Size(447, 46); + this.pnlbrowncolours.TabIndex = 8; + this.pnlbrowncolours.Visible = false; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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.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"; + // + // 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, 383); + this.pnlorangecolours.Name = "pnlorangecolours"; + this.pnlorangecolours.Size = new System.Drawing.Size(447, 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.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, 337); + this.pnlyellowcolours.Name = "pnlyellowcolours"; + this.pnlyellowcolours.Size = new System.Drawing.Size(447, 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.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, 291); + this.pnlgreencolours.Name = "pnlgreencolours"; + this.pnlgreencolours.Size = new System.Drawing.Size(447, 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; + // + // 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; + // + // 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:"; + // + // 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:"; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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.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"; + // + // 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"; + // + // 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, 245); + this.pnlbluecolours.Name = "pnlbluecolours"; + this.pnlbluecolours.Size = new System.Drawing.Size(447, 46); + this.pnlbluecolours.TabIndex = 4; + this.pnlbluecolours.Visible = false; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // + // 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.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"; + // + // 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, 199); + this.pnlpurplecolours.Name = "pnlpurplecolours"; + this.pnlpurplecolours.Size = new System.Drawing.Size(447, 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; + // + // 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; + // + // 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.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"; + // + // 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, 153); + this.pnlgraycolours.Name = "pnlgraycolours"; + this.pnlgraycolours.Size = new System.Drawing.Size(447, 46); + this.pnlgraycolours.TabIndex = 2; + this.pnlgraycolours.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; + this.txtcustomgrayshade.TextChanged += new System.EventHandler(this.txtcustomgrayshade_TextChanged); + // + // 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; + // + // 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.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, 107); + this.pnlanycolours.Name = "pnlanycolours"; + this.pnlanycolours.Size = new System.Drawing.Size(447, 46); + this.pnlanycolours.TabIndex = 1; + this.pnlanycolours.Visible = false; + // + // 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; + this.pnlanyoptions.MouseLeave += new System.EventHandler(this.pnlanyoptions_MouseLeave); + // + // 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; + this.txtanysgreen.TextChanged += new System.EventHandler(this.txtanysred_TextChanged); + // + // 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; + this.txtanysred.TextChanged += new System.EventHandler(this.txtanysred_TextChanged); + // + // 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:"; + // + // 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; + this.txtanysblue.TextChanged += new System.EventHandler(this.txtanysred_TextChanged); + // + // 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; + // + // 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; + // + // 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; + // + // 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.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"; + // + // Panel1 + // + this.Panel1.BackColor = System.Drawing.Color.White; + this.Panel1.Controls.Add(this.lblnewcolourrgb); + this.Panel1.Controls.Add(this.lblnewcolourname); + this.Panel1.Controls.Add(this.Label26); + this.Panel1.Controls.Add(this.Label17); + this.Panel1.Controls.Add(this.lbloldcolourrgb); + this.Panel1.Controls.Add(this.lbloldcolourname); + this.Panel1.Controls.Add(this.Label14); + this.Panel1.Controls.Add(this.pnlnewcolour); + this.Panel1.Controls.Add(this.pnloldcolour); + this.Panel1.Controls.Add(this.lblobjecttocolour); + this.Panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.Panel1.Location = new System.Drawing.Point(0, 0); + this.Panel1.Name = "Panel1"; + this.Panel1.Size = new System.Drawing.Size(447, 107); + this.Panel1.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 Colour"; + this.Label14.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // pnlnewcolour + // + 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; + // + // pnloldcolour + // + 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; + // + // 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; + // + // Color_Picker + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(447, 600); + this.Controls.Add(this.pgcontents); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.KeyPreview = true; + this.Name = "Color_Picker"; + this.Text = "Colour_Picker"; + this.TopMost = true; + this.Load += new System.EventHandler(this.Color_Picker_Load); + this.pgcontents.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.pnlbrowncolours.ResumeLayout(false); + this.pnlbrowncolours.PerformLayout(); + this.pnlbrownoptions.ResumeLayout(false); + this.pnlbrownoptions.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.pnlbluecolours.ResumeLayout(false); + this.pnlbluecolours.PerformLayout(); + this.pnlblueoptions.ResumeLayout(false); + this.pnlblueoptions.PerformLayout(); + this.pnlpurplecolours.ResumeLayout(false); + this.pnlpurplecolours.PerformLayout(); + this.pnlpurpleoptions.ResumeLayout(false); + this.pnlpurpleoptions.PerformLayout(); + this.pnlgraycolours.ResumeLayout(false); + this.pnlgraycolours.PerformLayout(); + this.pnlanycolours.ResumeLayout(false); + this.pnlanycolours.PerformLayout(); + this.pnlanyoptions.ResumeLayout(false); + this.pnlanyoptions.PerformLayout(); + this.Panel1.ResumeLayout(false); + this.Panel1.PerformLayout(); + this.ResumeLayout(false); + + } + internal System.Windows.Forms.Panel pgcontents; + internal System.Windows.Forms.Panel pnlanycolours; + 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 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.Panel Panel1; + internal System.Windows.Forms.Panel pnlnewcolour; + internal System.Windows.Forms.Panel pnloldcolour; + internal System.Windows.Forms.Label lblobjecttocolour; + 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 pnlpinkcolours; + 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 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 pnlred4; + 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.Panel pnlred5; + 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.Panel pnlbrowncolours; + internal System.Windows.Forms.Panel pnlbrown16; + internal System.Windows.Forms.Panel pnlbrown12; + internal System.Windows.Forms.Panel pnlbrown14; + internal System.Windows.Forms.Panel pnlbrown10; + internal System.Windows.Forms.Panel pnlbrown8; + 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 pnlorangecolours; + 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 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 pnlgreen16; + internal System.Windows.Forms.Panel pnlgreen12; + internal System.Windows.Forms.Panel pnlgreen14; + internal System.Windows.Forms.Panel pnlgreen10; + internal System.Windows.Forms.Panel pnlgreen8; + internal System.Windows.Forms.Panel pnlgreen4; + internal System.Windows.Forms.Panel pnlgreen6; + 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.Panel pnlgreen1; + internal System.Windows.Forms.Label lblgreenlevel; + internal System.Windows.Forms.Label Label9; + internal System.Windows.Forms.Panel pnlbluecolours; + internal System.Windows.Forms.Panel pnlblue16; + internal System.Windows.Forms.Panel pnlblue12; + 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 pnlblue6; + 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.Panel pnlblue9; + internal System.Windows.Forms.Panel pnlblue5; + 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 pnlpurplecolours; + 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 pnlpurple3; + internal System.Windows.Forms.Panel pnlpurple1; + internal System.Windows.Forms.Label lblpurplelevel; + internal System.Windows.Forms.Label Label5; + internal System.Windows.Forms.Panel pnlgraycolours; + 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 pnlgray1; + internal System.Windows.Forms.Label lblgraylevel; + internal System.Windows.Forms.Label Label3; + internal System.Windows.Forms.Panel pnlpinkcustomcolour; + internal System.Windows.Forms.Panel pnlredcustomcolour; + internal System.Windows.Forms.Panel pnlbrowncustomcolour; + internal System.Windows.Forms.Panel pnlorangecustomcolour; + internal System.Windows.Forms.Panel pnlyellowcustomcolour; + internal System.Windows.Forms.Panel pnlgreencustomcolour; + internal System.Windows.Forms.Panel pnlbluecustomcolour; + internal System.Windows.Forms.Panel pnlpurplecustomcolour; + internal System.Windows.Forms.Panel pnlgraycustomcolour; + internal System.Windows.Forms.Panel pnlanycustomcolour; + internal System.Windows.Forms.Panel pnlany8; + internal System.Windows.Forms.Label lblnewcolourrgb; + internal System.Windows.Forms.Label lblnewcolourname; + internal System.Windows.Forms.Label Label26; + internal System.Windows.Forms.Label lblcustomshadetut; + internal System.Windows.Forms.TextBox txtcustomgrayshade; + internal System.Windows.Forms.Label Label6; + internal System.Windows.Forms.TextBox txtbluesred; + internal System.Windows.Forms.Label Label4; + internal System.Windows.Forms.TextBox txtbluesgreen; + internal System.Windows.Forms.Label Label2; + internal System.Windows.Forms.TextBox txtbluesblue; + internal System.Windows.Forms.Panel pnlblueoptions; + 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 pnlgreenoptions; + internal System.Windows.Forms.Label Label15; + internal System.Windows.Forms.TextBox txtgreensred; + internal System.Windows.Forms.TextBox txtgreensgreen; + internal System.Windows.Forms.Label Label16; + internal System.Windows.Forms.Label Label18; + internal System.Windows.Forms.TextBox txtgreensblue; + 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 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 pnlredoptions; + internal System.Windows.Forms.Label Label32; + internal System.Windows.Forms.TextBox txtredsblue; + internal System.Windows.Forms.TextBox txtredsred; + internal System.Windows.Forms.Label Label33; + internal System.Windows.Forms.Label Label34; + internal System.Windows.Forms.TextBox txtredsgreen; + internal System.Windows.Forms.Panel pnlbrownoptions; + 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 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 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.TextBox txtanysblue; + } +}
\ No newline at end of file diff --git a/source/WindowsFormsApplication1/Dialogs/Color_Picker.cs b/source/WindowsFormsApplication1/Dialogs/Color_Picker.cs new file mode 100644 index 0000000..ea33415 --- /dev/null +++ b/source/WindowsFormsApplication1/Dialogs/Color_Picker.cs @@ -0,0 +1,2438 @@ +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; + +namespace ShiftOS +{ + public partial class Color_Picker : Form + { + public Color_Picker(string ctc, Color oldcol) + { + InitializeComponent(); + oldcolour = oldcol; + colourtochange = ctc; + } + + public Color NewColor = Color.Black; + + public void Color_Picker_Load(object sender, EventArgs e) + { + getoldcolour(); + determinelevels(); + shrinktosizebasedoncoloursbought(); + setupboughtcolours(); + loadmemory(); + + foreach (Control ctrl in pnlanycolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctionany); + } + foreach (Control ctrl in pnlgraycolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctiongray); + } + + foreach (Control ctrl in pnlredcolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctionred); + } + + foreach (Control ctrl in pnlgreencolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctiongreen); + } + + foreach (Control ctrl in pnlbluecolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctionblue); + } + + foreach (Control ctrl in pnlorangecolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctionorange); + } + + foreach (Control ctrl in pnlyellowcolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctionyellow); + } + + foreach (Control ctrl in pnlbrowncolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctionbrown); + } + + foreach (Control ctrl in pnlpurplecolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctionpurple); + } + + foreach (Control ctrl in pnlpinkcolours.Controls) + { + ctrl.MouseDown += new MouseEventHandler(this.colourselctionpink); + } + + pnloldcolour.Click += new EventHandler(pnloldcolour_Click); + pnlnewcolour.Click += new EventHandler(pnlnewcolour_Click); + } + + public int anylevel = 0; + public int graylevel = 0; + public int greenlevel = 0; + public int redlevel = 0; + public int bluelevel = 0; + public int yellowlevel = 0; + public int orangelevel = 0; + public int brownlevel = 0; + public int purplelevel = 0; + public int pinklevel = 0; + + + + public void loadmemory() + { + ///NYI + + + + + + + } + + public void saveanymemory() + { + API.anymemory[0] = pnlany1.BackColor; + API.anymemory[1] = pnlany2.BackColor; + API.anymemory[2] = pnlany3.BackColor; + API.anymemory[3] = pnlany4.BackColor; + API.anymemory[4] = pnlany5.BackColor; + API.anymemory[5] = pnlany6.BackColor; + API.anymemory[6] = pnlany7.BackColor; + API.anymemory[7] = pnlany8.BackColor; + API.anymemory[8] = pnlany9.BackColor; + API.anymemory[9] = pnlany10.BackColor; + API.anymemory[10] = pnlany11.BackColor; + API.anymemory[11] = pnlany12.BackColor; + API.anymemory[12] = pnlany13.BackColor; + API.anymemory[13] = pnlany14.BackColor; + API.anymemory[14] = pnlany15.BackColor; + API.anymemory[15] = pnlany16.BackColor; + } + + public void savegraymemory() + { + API.graymemory[0] = pnlgray1.BackColor; + API.graymemory[1] = pnlgray2.BackColor; + API.graymemory[2] = pnlgray3.BackColor; + API.graymemory[3] = pnlgray4.BackColor; + API.graymemory[4] = pnlgray5.BackColor; + API.graymemory[5] = pnlgray6.BackColor; + API.graymemory[6] = pnlgray7.BackColor; + API.graymemory[7] = pnlgray8.BackColor; + API.graymemory[8] = pnlgray9.BackColor; + API.graymemory[9] = pnlgray10.BackColor; + API.graymemory[10] = pnlgray11.BackColor; + API.graymemory[11] = pnlgray12.BackColor; + API.graymemory[12] = pnlgray13.BackColor; + API.graymemory[13] = pnlgray14.BackColor; + API.graymemory[14] = pnlgray15.BackColor; + API.graymemory[15] = pnlgray16.BackColor; + } + + public void savepurplememory() + { + API.purplememory[0] = pnlpurple1.BackColor; + API.purplememory[1] = pnlpurple2.BackColor; + API.purplememory[2] = pnlpurple3.BackColor; + API.purplememory[3] = pnlpurple4.BackColor; + API.purplememory[4] = pnlpurple5.BackColor; + API.purplememory[5] = pnlpurple6.BackColor; + API.purplememory[6] = pnlpurple7.BackColor; + API.purplememory[7] = pnlpurple8.BackColor; + API.purplememory[8] = pnlpurple9.BackColor; + API.purplememory[9] = pnlpurple10.BackColor; + API.purplememory[10] = pnlpurple11.BackColor; + API.purplememory[11] = pnlpurple12.BackColor; + API.purplememory[12] = pnlpurple13.BackColor; + API.purplememory[13] = pnlpurple14.BackColor; + API.purplememory[14] = pnlpurple15.BackColor; + API.purplememory[15] = pnlpurple16.BackColor; + } + + public void savebluememory() + { + API.bluememory[0] = pnlblue1.BackColor; + API.bluememory[1] = pnlblue2.BackColor; + API.bluememory[2] = pnlblue3.BackColor; + API.bluememory[3] = pnlblue4.BackColor; + API.bluememory[4] = pnlblue5.BackColor; + API.bluememory[5] = pnlblue6.BackColor; + API.bluememory[6] = pnlblue7.BackColor; + API.bluememory[7] = pnlblue8.BackColor; + API.bluememory[8] = pnlblue9.BackColor; + API.bluememory[9] = pnlblue10.BackColor; + API.bluememory[10] = pnlblue11.BackColor; + API.bluememory[11] = pnlblue12.BackColor; + API.bluememory[12] = pnlblue13.BackColor; + API.bluememory[13] = pnlblue14.BackColor; + API.bluememory[14] = pnlblue15.BackColor; + API.bluememory[15] = pnlblue16.BackColor; + } + + public void savegreenmemory() + { + API.greenmemory[0] = pnlgreen1.BackColor; + API.greenmemory[1] = pnlgreen2.BackColor; + API.greenmemory[2] = pnlgreen3.BackColor; + API.greenmemory[3] = pnlgreen4.BackColor; + API.greenmemory[4] = pnlgreen5.BackColor; + API.greenmemory[5] = pnlgreen6.BackColor; + API.greenmemory[6] = pnlgreen7.BackColor; + API.greenmemory[7] = pnlgreen8.BackColor; + API.greenmemory[8] = pnlgreen9.BackColor; + API.greenmemory[9] = pnlgreen10.BackColor; + API.greenmemory[10] = pnlgreen11.BackColor; + API.greenmemory[11] = pnlgreen12.BackColor; + API.greenmemory[12] = pnlgreen13.BackColor; + API.greenmemory[13] = pnlgreen14.BackColor; + API.greenmemory[14] = pnlgreen15.BackColor; + API.greenmemory[15] = pnlgreen16.BackColor; + } + + public void saveyellowmemory() + { + API.yellowmemory[0] = pnlyellow1.BackColor; + API.yellowmemory[1] = pnlyellow2.BackColor; + API.yellowmemory[2] = pnlyellow3.BackColor; + API.yellowmemory[3] = pnlyellow4.BackColor; + API.yellowmemory[4] = pnlyellow5.BackColor; + API.yellowmemory[5] = pnlyellow6.BackColor; + API.yellowmemory[6] = pnlyellow7.BackColor; + API.yellowmemory[7] = pnlyellow8.BackColor; + API.yellowmemory[8] = pnlyellow9.BackColor; + API.yellowmemory[9] = pnlyellow10.BackColor; + API.yellowmemory[10] = pnlyellow11.BackColor; + API.yellowmemory[11] = pnlyellow12.BackColor; + API.yellowmemory[12] = pnlyellow13.BackColor; + API.yellowmemory[13] = pnlyellow14.BackColor; + API.yellowmemory[14] = pnlyellow15.BackColor; + API.yellowmemory[15] = pnlyellow16.BackColor; + } + + public void saveorangememory() + { + API.orangememory[0] = pnlorange1.BackColor; + API.orangememory[1] = pnlorange2.BackColor; + API.orangememory[2] = pnlorange3.BackColor; + API.orangememory[3] = pnlorange4.BackColor; + API.orangememory[4] = pnlorange5.BackColor; + API.orangememory[5] = pnlorange6.BackColor; + API.orangememory[6] = pnlorange7.BackColor; + API.orangememory[7] = pnlorange8.BackColor; + API.orangememory[8] = pnlorange9.BackColor; + API.orangememory[9] = pnlorange10.BackColor; + API.orangememory[10] = pnlorange11.BackColor; + API.orangememory[11] = pnlorange12.BackColor; + API.orangememory[12] = pnlorange13.BackColor; + API.orangememory[13] = pnlorange14.BackColor; + API.orangememory[14] = pnlorange15.BackColor; + API.orangememory[15] = pnlorange16.BackColor; + } + + public void savebrownmemory() + { + API.brownmemory[0] = pnlbrown1.BackColor; + API.brownmemory[1] = pnlbrown2.BackColor; + API.brownmemory[2] = pnlbrown3.BackColor; + API.brownmemory[3] = pnlbrown4.BackColor; + API.brownmemory[4] = pnlbrown5.BackColor; + API.brownmemory[5] = pnlbrown6.BackColor; + API.brownmemory[6] = pnlbrown7.BackColor; + API.brownmemory[7] = pnlbrown8.BackColor; + API.brownmemory[8] = pnlbrown9.BackColor; + API.brownmemory[9] = pnlbrown10.BackColor; + API.brownmemory[10] = pnlbrown11.BackColor; + API.brownmemory[11] = pnlbrown12.BackColor; + API.brownmemory[12] = pnlbrown13.BackColor; + API.brownmemory[13] = pnlbrown14.BackColor; + API.brownmemory[14] = pnlbrown15.BackColor; + API.brownmemory[15] = pnlbrown16.BackColor; + } + + public void saveredmemory() + { + API.redmemory[0] = pnlred1.BackColor; + API.redmemory[1] = pnlred2.BackColor; + API.redmemory[2] = pnlred3.BackColor; + API.redmemory[3] = pnlred4.BackColor; + API.redmemory[4] = pnlred5.BackColor; + API.redmemory[5] = pnlred6.BackColor; + API.redmemory[6] = pnlred7.BackColor; + API.redmemory[7] = pnlred8.BackColor; + API.redmemory[8] = pnlred9.BackColor; + API.redmemory[9] = pnlred10.BackColor; + API.redmemory[10] = pnlred11.BackColor; + API.redmemory[11] = pnlred12.BackColor; + API.redmemory[12] = pnlred13.BackColor; + API.redmemory[13] = pnlred14.BackColor; + API.redmemory[14] = pnlred15.BackColor; + API.redmemory[15] = pnlred16.BackColor; + } + + public void savepinkmemory() + { + API.pinkmemory[0] = pnlpink1.BackColor; + API.pinkmemory[1] = pnlpink2.BackColor; + API.pinkmemory[2] = pnlpink3.BackColor; + API.pinkmemory[3] = pnlpink4.BackColor; + API.pinkmemory[4] = pnlpink5.BackColor; + API.pinkmemory[5] = pnlpink6.BackColor; + API.pinkmemory[6] = pnlpink7.BackColor; + API.pinkmemory[7] = pnlpink8.BackColor; + API.pinkmemory[8] = pnlpink9.BackColor; + API.pinkmemory[9] = pnlpink10.BackColor; + API.pinkmemory[10] = pnlpink11.BackColor; + API.pinkmemory[11] = pnlpink12.BackColor; + API.pinkmemory[12] = pnlpink13.BackColor; + API.pinkmemory[13] = pnlpink14.BackColor; + API.pinkmemory[14] = pnlpink15.BackColor; + API.pinkmemory[15] = pnlpink16.BackColor; + } + + public string colourtochange = ""; + public Color oldcolour = Color.White; + + private void getoldcolour() + { + lblobjecttocolour.Text = colourtochange; + pnloldcolour.BackColor = oldcolour; + if (pnloldcolour.BackColor.IsNamedColor) + { + lbloldcolourname.Text = pnloldcolour.BackColor.Name + " :Name"; + } + else { + lbloldcolourname.Text = "Custom :Name"; + } + lbloldcolourrgb.Text = pnloldcolour.BackColor.R + ", " + pnloldcolour.BackColor.G + ", " + pnloldcolour.BackColor.B + " :RGB"; + + pnlnewcolour.BackColor = API.lastcolourpick; + if (pnlnewcolour.BackColor.IsNamedColor) + { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + + private void determinelevels() + { + if (API.Upgrades["gray"] == true) + graylevel = 1; + if (API.Upgrades["grayshades"] == true) + graylevel = 2; + if (API.Upgrades["fullgrayshadeset"] == true) + graylevel = 3; + if (API.Upgrades["customgrayshades"] == true) + graylevel = 4; + if (API.Upgrades["basiccustomshade"] == true) + anylevel = 1; + if (API.Upgrades["generalcustomshades"] == true) + anylevel = 2; + if (API.Upgrades["advancedcustomshades"] == true) + anylevel = 3; + if (API.Upgrades["limitlesscustomshades"] == true) + anylevel = 4; + if (API.Upgrades["purple"] == true) + purplelevel = 1; + if (API.Upgrades["purpleshades"] == true) + purplelevel = 2; + if (API.Upgrades["fullpurpleshadeset"] == true) + purplelevel = 3; + if (API.Upgrades["custompurpleshades"] == true) + purplelevel = 4; + if (API.Upgrades["blue"] == true) + bluelevel = 1; + if (API.Upgrades["blueshades"] == true) + bluelevel = 2; + if (API.Upgrades["fullblueshadeset"] == true) + bluelevel = 3; + if (API.Upgrades["customblueshades"] == true) + bluelevel = 4; + if (API.Upgrades["green"] == true) + greenlevel = 1; + if (API.Upgrades["greenshades"] == true) + greenlevel = 2; + if (API.Upgrades["fullgreenshadeset"] == true) + greenlevel = 3; + if (API.Upgrades["customgreenshades"] == true) + greenlevel = 4; + if (API.Upgrades["yellow"] == true) + yellowlevel = 1; + if (API.Upgrades["yellowshades"] == true) + yellowlevel = 2; + if (API.Upgrades["fullyellowshadeset"] == true) + yellowlevel = 3; + if (API.Upgrades["customyellowshades"] == true) + yellowlevel = 4; + if (API.Upgrades["orange"] == true) + orangelevel = 1; + if (API.Upgrades["orangeshades"] == true) + orangelevel = 2; + if (API.Upgrades["fullorangeshadeset"] == true) + orangelevel = 3; + if (API.Upgrades["customorangeshades"] == true) + orangelevel = 4; + if (API.Upgrades["brown"] == true) + brownlevel = 1; + if (API.Upgrades["brownshades"] == true) + brownlevel = 2; + if (API.Upgrades["fullbrownshadeset"] == true) + brownlevel = 3; + if (API.Upgrades["custombrownshades"] == true) + brownlevel = 4; + if (API.Upgrades["red"] == true) + redlevel = 1; + if (API.Upgrades["redshades"] == true) + redlevel = 2; + if (API.Upgrades["fullredshadeset"] == true) + redlevel = 3; + if (API.Upgrades["customredshades"] == true) + redlevel = 4; + if (API.Upgrades["pink"] == true) + pinklevel = 1; + if (API.Upgrades["pinkshades"] == true) + pinklevel = 2; + if (API.Upgrades["fullpinkshadeset"] == true) + pinklevel = 3; + if (API.Upgrades["custompinkshades"] == true) + pinklevel = 4; + } + + private void shrinktosizebasedoncoloursbought() + { + if (API.Upgrades["pink"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlpinkcolours.Show(); + } + if (API.Upgrades["red"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlredcolours.Show(); + } + if (API.Upgrades["brown"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlbrowncolours.Show(); + } + if (API.Upgrades["orange"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlorangecolours.Show(); + } + if (API.Upgrades["yellow"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlyellowcolours.Show(); + } + if (API.Upgrades["green"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlgreencolours.Show(); + } + if (API.Upgrades["blue"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlbluecolours.Show(); + } + if (API.Upgrades["purple"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlpurplecolours.Show(); + } + if (API.Upgrades["gray"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlgraycolours.Show(); + } + if (API.Upgrades["basiccustomshade"] == false) + { + this.Height = this.Height - 46; + } + else { + pnlanycolours.Show(); + } + } + + private void setupboughtcolours() + { + switch (graylevel) + { + case 1: + lblgraylevel.Text = "Level 1"; + pnlgray1.BackColor = Color.Black; + pnlgray1.Show(); + pnlgray2.BackColor = Color.Gray; + pnlgray2.Show(); + pnlgray3.BackColor = Color.White; + pnlgray3.Show(); + break; + case 2: + lblgraylevel.Text = "Level 2"; + pnlgray1.BackColor = Color.Black; + pnlgray1.Show(); + pnlgray2.BackColor = Color.DimGray; + pnlgray2.Show(); + pnlgray3.BackColor = Color.Gray; + pnlgray3.Show(); + pnlgray4.BackColor = Color.LightGray; + pnlgray4.Show(); + pnlgray5.BackColor = Color.White; + pnlgray5.Show(); + break; + case 3: + lblgraylevel.Text = "Level 3"; + pnlgray1.BackColor = Color.Black; + pnlgray1.Show(); + pnlgray2.BackColor = Color.DimGray; + pnlgray2.Show(); + pnlgray3.BackColor = Color.Gray; + pnlgray3.Show(); + pnlgray4.BackColor = Color.DarkGray; + pnlgray4.Show(); + pnlgray5.BackColor = Color.Silver; + pnlgray5.Show(); + pnlgray6.BackColor = Color.LightGray; + pnlgray6.Show(); + pnlgray7.BackColor = Color.Gainsboro; + pnlgray7.Show(); + pnlgray8.BackColor = Color.WhiteSmoke; + pnlgray8.Show(); + pnlgray9.BackColor = Color.White; + pnlgray9.Show(); + break; + case 4: + lblgraylevel.Text = "Level 4"; + pnlgray1.BackColor = Color.Black; + pnlgray1.Show(); + pnlgray2.BackColor = Color.DimGray; + pnlgray2.Show(); + pnlgray3.BackColor = Color.Gray; + pnlgray3.Show(); + pnlgray4.BackColor = Color.DarkGray; + pnlgray4.Show(); + pnlgray5.BackColor = Color.Silver; + pnlgray5.Show(); + pnlgray6.BackColor = Color.LightGray; + pnlgray6.Show(); + pnlgray7.BackColor = Color.Gainsboro; + pnlgray7.Show(); + pnlgray8.BackColor = Color.WhiteSmoke; + pnlgray8.Show(); + pnlgray9.BackColor = Color.White; + pnlgray9.Show(); + pnlgray10.BackColor = Color.White; + pnlgray10.Show(); + pnlgray11.BackColor = Color.White; + pnlgray11.Show(); + pnlgray12.BackColor = Color.White; + pnlgray12.Show(); + pnlgray13.BackColor = Color.White; + pnlgray13.Show(); + pnlgray14.BackColor = Color.White; + pnlgray14.Show(); + pnlgray15.BackColor = Color.White; + pnlgray15.Show(); + pnlgray16.BackColor = Color.White; + pnlgray16.Show(); + pnlgraycustomcolour.Show(); + lblcustomshadetut.Show(); + txtcustomgrayshade.Show(); + break; + } + + switch (purplelevel) + { + case 1: + lblpurplelevel.Text = "Level 1"; + pnlpurple1.BackColor = Color.Purple; + pnlpurple1.Show(); + break; + case 2: + lblpurplelevel.Text = "Level 2"; + pnlpurple1.BackColor = Color.Indigo; + pnlpurple1.Show(); + pnlpurple2.BackColor = Color.Purple; + pnlpurple2.Show(); + pnlpurple3.BackColor = Color.MediumPurple; + pnlpurple3.Show(); + break; + case 3: + lblpurplelevel.Text = "Level 3"; + pnlpurple1.BackColor = Color.Indigo; + pnlpurple1.Show(); + pnlpurple2.BackColor = Color.DarkSlateBlue; + pnlpurple2.Show(); + pnlpurple3.BackColor = Color.Purple; + pnlpurple3.Show(); + pnlpurple4.BackColor = Color.DarkOrchid; + pnlpurple4.Show(); + pnlpurple5.BackColor = Color.DarkViolet; + pnlpurple5.Show(); + pnlpurple6.BackColor = Color.BlueViolet; + pnlpurple6.Show(); + pnlpurple7.BackColor = Color.SlateBlue; + pnlpurple7.Show(); + pnlpurple8.BackColor = Color.MediumSlateBlue; + pnlpurple8.Show(); + pnlpurple9.BackColor = Color.MediumPurple; + pnlpurple9.Show(); + pnlpurple10.BackColor = Color.MediumOrchid; + pnlpurple10.Show(); + pnlpurple11.BackColor = Color.Magenta; + pnlpurple11.Show(); + pnlpurple12.BackColor = Color.Orchid; + pnlpurple12.Show(); + pnlpurple13.BackColor = Color.Violet; + pnlpurple13.Show(); + pnlpurple14.BackColor = Color.Plum; + pnlpurple14.Show(); + pnlpurple15.BackColor = Color.Thistle; + pnlpurple15.Show(); + pnlpurple16.BackColor = Color.Lavender; + pnlpurple16.Show(); + break; + case 4: + lblpurplelevel.Text = "Level 4"; + pnlpurple1.BackColor = Color.Indigo; + pnlpurple1.Show(); + pnlpurple2.BackColor = Color.DarkSlateBlue; + pnlpurple2.Show(); + pnlpurple3.BackColor = Color.Purple; + pnlpurple3.Show(); + pnlpurple4.BackColor = Color.DarkOrchid; + pnlpurple4.Show(); + pnlpurple5.BackColor = Color.DarkViolet; + pnlpurple5.Show(); + pnlpurple6.BackColor = Color.BlueViolet; + pnlpurple6.Show(); + pnlpurple7.BackColor = Color.SlateBlue; + pnlpurple7.Show(); + pnlpurple8.BackColor = Color.MediumSlateBlue; + pnlpurple8.Show(); + pnlpurple9.BackColor = Color.MediumPurple; + pnlpurple9.Show(); + pnlpurple10.BackColor = Color.MediumOrchid; + pnlpurple10.Show(); + pnlpurple11.BackColor = Color.Magenta; + pnlpurple11.Show(); + pnlpurple12.BackColor = Color.Orchid; + pnlpurple12.Show(); + pnlpurple13.BackColor = Color.Violet; + pnlpurple13.Show(); + pnlpurple14.BackColor = Color.Plum; + pnlpurple14.Show(); + pnlpurple15.BackColor = Color.Thistle; + pnlpurple15.Show(); + pnlpurple16.BackColor = Color.Lavender; + pnlpurple16.Show(); + pnlpurplecustomcolour.Show(); + pnlpurpleoptions.Show(); + break; + } + + switch (bluelevel) + { + case 1: + lblbluelevel.Text = "Level 1"; + pnlblue1.BackColor = Color.Blue; + pnlblue1.Show(); + break; + case 2: + lblbluelevel.Text = "Level 2"; + pnlblue1.BackColor = Color.Navy; + pnlblue1.Show(); + pnlblue2.BackColor = Color.Blue; + pnlblue2.Show(); + pnlblue3.BackColor = Color.LightBlue; + pnlblue3.Show(); + break; + case 3: + lblbluelevel.Text = "Level 3"; + pnlblue1.BackColor = Color.MidnightBlue; + pnlblue1.Show(); + pnlblue2.BackColor = Color.Navy; + pnlblue2.Show(); + pnlblue3.BackColor = Color.Blue; + pnlblue3.Show(); + pnlblue4.BackColor = Color.RoyalBlue; + pnlblue4.Show(); + pnlblue5.BackColor = Color.CornflowerBlue; + pnlblue5.Show(); + pnlblue6.BackColor = Color.DeepSkyBlue; + pnlblue6.Show(); + pnlblue7.BackColor = Color.SkyBlue; + pnlblue7.Show(); + pnlblue8.BackColor = Color.LightBlue; + pnlblue8.Show(); + pnlblue9.BackColor = Color.LightSteelBlue; + pnlblue9.Show(); + pnlblue10.BackColor = Color.Cyan; + pnlblue10.Show(); + pnlblue11.BackColor = Color.Aquamarine; + pnlblue11.Show(); + pnlblue12.BackColor = Color.DarkTurquoise; + pnlblue12.Show(); + pnlblue13.BackColor = Color.LightSeaGreen; + pnlblue13.Show(); + pnlblue14.BackColor = Color.MediumAquamarine; + pnlblue14.Show(); + pnlblue15.BackColor = Color.CadetBlue; + pnlblue15.Show(); + pnlblue16.BackColor = Color.Teal; + pnlblue16.Show(); + break; + case 4: + lblbluelevel.Text = "Level 4"; + pnlblue1.BackColor = Color.MidnightBlue; + pnlblue1.Show(); + pnlblue2.BackColor = Color.Navy; + pnlblue2.Show(); + pnlblue3.BackColor = Color.Blue; + pnlblue3.Show(); + pnlblue4.BackColor = Color.RoyalBlue; + pnlblue4.Show(); + pnlblue5.BackColor = Color.CornflowerBlue; + pnlblue5.Show(); + pnlblue6.BackColor = Color.DeepSkyBlue; + pnlblue6.Show(); + pnlblue7.BackColor = Color.SkyBlue; + pnlblue7.Show(); + pnlblue8.BackColor = Color.LightBlue; + pnlblue8.Show(); + pnlblue9.BackColor = Color.LightSteelBlue; + pnlblue9.Show(); + pnlblue10.BackColor = Color.Cyan; + pnlblue10.Show(); + pnlblue11.BackColor = Color.Aquamarine; + pnlblue11.Show(); + pnlblue12.BackColor = Color.DarkTurquoise; + pnlblue12.Show(); + pnlblue13.BackColor = Color.LightSeaGreen; + pnlblue13.Show(); + pnlblue14.BackColor = Color.MediumAquamarine; + pnlblue14.Show(); + pnlblue15.BackColor = Color.CadetBlue; + pnlblue15.Show(); + pnlblue16.BackColor = Color.Teal; + pnlblue16.Show(); + pnlbluecustomcolour.Show(); + pnlblueoptions.Show(); + break; + } + + switch (greenlevel) + { + case 1: + lblgreenlevel.Text = "Level 1"; + pnlgreen1.BackColor = Color.Green; + pnlgreen1.Show(); + break; + case 2: + lblgreenlevel.Text = "Level 2"; + pnlgreen1.BackColor = Color.DarkGreen; + pnlgreen1.Show(); + pnlgreen2.BackColor = Color.Green; + pnlgreen2.Show(); + pnlgreen3.BackColor = Color.LightGreen; + pnlgreen3.Show(); + break; + case 3: + lblgreenlevel.Text = "Level 3"; + pnlgreen1.BackColor = Color.DarkGreen; + pnlgreen1.Show(); + pnlgreen2.BackColor = Color.Green; + pnlgreen2.Show(); + pnlgreen3.BackColor = Color.SeaGreen; + pnlgreen3.Show(); + pnlgreen4.BackColor = Color.MediumSeaGreen; + pnlgreen4.Show(); + pnlgreen5.BackColor = Color.DarkSeaGreen; + pnlgreen5.Show(); + pnlgreen6.BackColor = Color.LightGreen; + pnlgreen6.Show(); + pnlgreen7.BackColor = Color.MediumSpringGreen; + pnlgreen7.Show(); + pnlgreen8.BackColor = Color.SpringGreen; + pnlgreen8.Show(); + pnlgreen9.BackColor = Color.GreenYellow; + pnlgreen9.Show(); + pnlgreen10.BackColor = Color.LawnGreen; + pnlgreen10.Show(); + pnlgreen11.BackColor = Color.Lime; + pnlgreen11.Show(); + pnlgreen12.BackColor = Color.LimeGreen; + pnlgreen12.Show(); + pnlgreen13.BackColor = Color.YellowGreen; + pnlgreen13.Show(); + pnlgreen14.BackColor = Color.OliveDrab; + pnlgreen14.Show(); + pnlgreen15.BackColor = Color.Olive; + pnlgreen15.Show(); + pnlgreen16.BackColor = Color.DarkOliveGreen; + pnlgreen16.Show(); + break; + case 4: + lblgreenlevel.Text = "Level 4"; + pnlgreen1.BackColor = Color.DarkGreen; + pnlgreen1.Show(); + pnlgreen2.BackColor = Color.Green; + pnlgreen2.Show(); + pnlgreen3.BackColor = Color.SeaGreen; + pnlgreen3.Show(); + pnlgreen4.BackColor = Color.MediumSeaGreen; + pnlgreen4.Show(); + pnlgreen5.BackColor = Color.DarkSeaGreen; + pnlgreen5.Show(); + pnlgreen6.BackColor = Color.LightGreen; + pnlgreen6.Show(); + pnlgreen7.BackColor = Color.MediumSpringGreen; + pnlgreen7.Show(); + pnlgreen8.BackColor = Color.SpringGreen; + pnlgreen8.Show(); + pnlgreen9.BackColor = Color.GreenYellow; + pnlgreen9.Show(); + pnlgreen10.BackColor = Color.LawnGreen; + pnlgreen10.Show(); + pnlgreen11.BackColor = Color.Lime; + pnlgreen11.Show(); + pnlgreen12.BackColor = Color.LimeGreen; + pnlgreen12.Show(); + pnlgreen13.BackColor = Color.YellowGreen; + pnlgreen13.Show(); + pnlgreen14.BackColor = Color.OliveDrab; + pnlgreen14.Show(); + pnlgreen15.BackColor = Color.Olive; + pnlgreen15.Show(); + pnlgreen16.BackColor = Color.DarkOliveGreen; + pnlgreen16.Show(); + pnlgreencustomcolour.Show(); + pnlgreenoptions.Show(); + break; + } + + switch (yellowlevel) + { + case 1: + lblyellowlevel.Text = "Level 1"; + pnlyellow1.BackColor = Color.Yellow; + pnlyellow1.Show(); + break; + case 2: + lblyellowlevel.Text = "Level 2"; + pnlyellow1.BackColor = Color.DarkKhaki; + pnlyellow1.Show(); + pnlyellow2.BackColor = Color.Yellow; + pnlyellow2.Show(); + pnlyellow3.BackColor = Color.PaleGoldenrod; + pnlyellow3.Show(); + break; + case 3: + lblyellowlevel.Text = "Level 3"; + pnlyellow1.BackColor = Color.DarkKhaki; + pnlyellow1.Show(); + pnlyellow2.BackColor = Color.Yellow; + pnlyellow2.Show(); + pnlyellow3.BackColor = Color.Khaki; + pnlyellow3.Show(); + pnlyellow4.BackColor = Color.PaleGoldenrod; + pnlyellow4.Show(); + pnlyellow5.BackColor = Color.PeachPuff; + pnlyellow5.Show(); + pnlyellow6.BackColor = Color.Moccasin; + pnlyellow6.Show(); + pnlyellow7.BackColor = Color.PapayaWhip; + pnlyellow7.Show(); + pnlyellow8.BackColor = Color.LightGoldenrodYellow; + pnlyellow8.Show(); + pnlyellow9.BackColor = Color.LemonChiffon; + pnlyellow9.Show(); + pnlyellow10.BackColor = Color.LightYellow; + pnlyellow10.Show(); + break; + case 4: + lblyellowlevel.Text = "Level 4"; + pnlyellow1.BackColor = Color.DarkKhaki; + pnlyellow1.Show(); + pnlyellow2.BackColor = Color.Yellow; + pnlyellow2.Show(); + pnlyellow3.BackColor = Color.Khaki; + pnlyellow3.Show(); + pnlyellow4.BackColor = Color.PaleGoldenrod; + pnlyellow4.Show(); + pnlyellow5.BackColor = Color.PeachPuff; + pnlyellow5.Show(); + pnlyellow6.BackColor = Color.Moccasin; + pnlyellow6.Show(); + pnlyellow7.BackColor = Color.PapayaWhip; + pnlyellow7.Show(); + pnlyellow8.BackColor = Color.LightGoldenrodYellow; + pnlyellow8.Show(); + pnlyellow9.BackColor = Color.LemonChiffon; + pnlyellow9.Show(); + pnlyellow10.BackColor = Color.LightYellow; + pnlyellow10.Show(); + pnlyellow11.BackColor = Color.White; + pnlyellow11.Show(); + pnlyellow12.BackColor = Color.White; + pnlyellow12.Show(); + pnlyellow13.BackColor = Color.White; + pnlyellow13.Show(); + pnlyellow14.BackColor = Color.White; + pnlyellow14.Show(); + pnlyellow15.BackColor = Color.White; + pnlyellow15.Show(); + pnlyellow16.BackColor = Color.White; + pnlyellow16.Show(); + pnlyellowcustomcolour.Show(); + pnlyellowoptions.Show(); + break; + } + + switch (orangelevel) + { + case 1: + lblorangelevel.Text = "Level 1"; + pnlorange1.BackColor = Color.DarkOrange; + pnlorange1.Show(); + break; + case 2: + lblorangelevel.Text = "Level 2"; + pnlorange1.BackColor = Color.OrangeRed; + pnlorange1.Show(); + pnlorange2.BackColor = Color.DarkOrange; + pnlorange2.Show(); + pnlorange3.BackColor = Color.Orange; + pnlorange3.Show(); + break; + case 3: + lblorangelevel.Text = "Level 3"; + pnlorange1.BackColor = Color.OrangeRed; + pnlorange1.Show(); + pnlorange2.BackColor = Color.Tomato; + pnlorange2.Show(); + pnlorange3.BackColor = Color.Coral; + pnlorange3.Show(); + pnlorange4.BackColor = Color.DarkOrange; + pnlorange4.Show(); + pnlorange5.BackColor = Color.Orange; + pnlorange5.Show(); + pnlorange6.BackColor = Color.Gold; + pnlorange6.Show(); + break; + case 4: + lblorangelevel.Text = "Level 4"; + pnlorange1.BackColor = Color.OrangeRed; + pnlorange1.Show(); + pnlorange2.BackColor = Color.Tomato; + pnlorange2.Show(); + pnlorange3.BackColor = Color.Coral; + pnlorange3.Show(); + pnlorange4.BackColor = Color.DarkOrange; + pnlorange4.Show(); + pnlorange5.BackColor = Color.Orange; + pnlorange5.Show(); + pnlorange6.BackColor = Color.Gold; + pnlorange6.Show(); + pnlorange7.BackColor = Color.White; + pnlorange7.Show(); + pnlorange8.BackColor = Color.White; + pnlorange8.Show(); + pnlorange9.BackColor = Color.White; + pnlorange9.Show(); + pnlorange10.BackColor = Color.White; + pnlorange10.Show(); + pnlorange11.BackColor = Color.White; + pnlorange11.Show(); + pnlorange12.BackColor = Color.White; + pnlorange12.Show(); + pnlorange13.BackColor = Color.White; + pnlorange13.Show(); + pnlorange14.BackColor = Color.White; + pnlorange14.Show(); + pnlorange15.BackColor = Color.White; + pnlorange15.Show(); + pnlorange16.BackColor = Color.White; + pnlorange16.Show(); + pnlorangecustomcolour.Show(); + pnlorangeoptions.Show(); + break; + } + + switch (brownlevel) + { + case 1: + lblbrownlevel.Text = "Level 1"; + pnlbrown1.BackColor = Color.Sienna; + pnlbrown1.Show(); + break; + case 2: + lblbrownlevel.Text = "Level 2"; + pnlbrown1.BackColor = Color.SaddleBrown; + pnlbrown1.Show(); + pnlbrown2.BackColor = Color.Sienna; + pnlbrown2.Show(); + pnlbrown3.BackColor = Color.BurlyWood; + pnlbrown3.Show(); + break; + case 3: + lblbrownlevel.Text = "Level 3"; + pnlbrown1.BackColor = Color.Maroon; + pnlbrown1.Show(); + pnlbrown2.BackColor = Color.Brown; + pnlbrown2.Show(); + pnlbrown3.BackColor = Color.Sienna; + pnlbrown3.Show(); + pnlbrown4.BackColor = Color.SaddleBrown; + pnlbrown4.Show(); + pnlbrown5.BackColor = Color.Chocolate; + pnlbrown5.Show(); + pnlbrown6.BackColor = Color.Peru; + pnlbrown6.Show(); + pnlbrown7.BackColor = Color.DarkGoldenrod; + pnlbrown7.Show(); + pnlbrown8.BackColor = Color.Goldenrod; + pnlbrown8.Show(); + pnlbrown9.BackColor = Color.SandyBrown; + pnlbrown9.Show(); + pnlbrown10.BackColor = Color.RosyBrown; + pnlbrown10.Show(); + pnlbrown11.BackColor = Color.Tan; + pnlbrown11.Show(); + pnlbrown12.BackColor = Color.BurlyWood; + pnlbrown12.Show(); + pnlbrown13.BackColor = Color.Wheat; + pnlbrown13.Show(); + pnlbrown14.BackColor = Color.NavajoWhite; + pnlbrown14.Show(); + pnlbrown15.BackColor = Color.Bisque; + pnlbrown15.Show(); + pnlbrown16.BackColor = Color.BlanchedAlmond; + pnlbrown16.Show(); + break; + case 4: + lblbrownlevel.Text = "Level 4"; + pnlbrown1.BackColor = Color.Maroon; + pnlbrown1.Show(); + pnlbrown2.BackColor = Color.Brown; + pnlbrown2.Show(); + pnlbrown3.BackColor = Color.Sienna; + pnlbrown3.Show(); + pnlbrown4.BackColor = Color.SaddleBrown; + pnlbrown4.Show(); + pnlbrown5.BackColor = Color.Chocolate; + pnlbrown5.Show(); + pnlbrown6.BackColor = Color.Peru; + pnlbrown6.Show(); + pnlbrown7.BackColor = Color.DarkGoldenrod; + pnlbrown7.Show(); + pnlbrown8.BackColor = Color.Goldenrod; + pnlbrown8.Show(); + pnlbrown9.BackColor = Color.SandyBrown; + pnlbrown9.Show(); + pnlbrown10.BackColor = Color.RosyBrown; + pnlbrown10.Show(); + pnlbrown11.BackColor = Color.Tan; + pnlbrown11.Show(); + pnlbrown12.BackColor = Color.BurlyWood; + pnlbrown12.Show(); + pnlbrown13.BackColor = Color.Wheat; + pnlbrown13.Show(); + pnlbrown14.BackColor = Color.NavajoWhite; + pnlbrown14.Show(); + pnlbrown15.BackColor = Color.Bisque; + pnlbrown15.Show(); + pnlbrown16.BackColor = Color.BlanchedAlmond; + pnlbrown16.Show(); + pnlbrowncustomcolour.Show(); + pnlbrownoptions.Show(); + break; + } + + switch (redlevel) + { + case 1: + lblredlevel.Text = "Level 1"; + pnlred1.BackColor = Color.Red; + pnlred1.Show(); + break; + case 2: + lblredlevel.Text = "Level 2"; + pnlred1.BackColor = Color.DarkRed; + pnlred1.Show(); + pnlred2.BackColor = Color.Red; + pnlred2.Show(); + pnlred3.BackColor = Color.Salmon; + pnlred3.Show(); + break; + case 3: + lblredlevel.Text = "Level 3"; + pnlred1.BackColor = Color.DarkRed; + pnlred1.Show(); + pnlred2.BackColor = Color.Red; + pnlred2.Show(); + pnlred3.BackColor = Color.Firebrick; + pnlred3.Show(); + pnlred4.BackColor = Color.Crimson; + pnlred4.Show(); + pnlred5.BackColor = Color.IndianRed; + pnlred5.Show(); + pnlred6.BackColor = Color.LightCoral; + pnlred6.Show(); + pnlred7.BackColor = Color.DarkSalmon; + pnlred7.Show(); + pnlred8.BackColor = Color.Salmon; + pnlred8.Show(); + pnlred9.BackColor = Color.LightSalmon; + pnlred9.Show(); + break; + case 4: + lblredlevel.Text = "Level 4"; + pnlred1.BackColor = Color.DarkRed; + pnlred1.Show(); + pnlred2.BackColor = Color.Red; + pnlred2.Show(); + pnlred3.BackColor = Color.Firebrick; + pnlred3.Show(); + pnlred4.BackColor = Color.Crimson; + pnlred4.Show(); + pnlred5.BackColor = Color.IndianRed; + pnlred5.Show(); + pnlred6.BackColor = Color.LightCoral; + pnlred6.Show(); + pnlred7.BackColor = Color.DarkSalmon; + pnlred7.Show(); + pnlred8.BackColor = Color.Salmon; + pnlred8.Show(); + pnlred9.BackColor = Color.LightSalmon; + pnlred9.Show(); + pnlred10.BackColor = Color.White; + pnlred10.Show(); + pnlred11.BackColor = Color.White; + pnlred11.Show(); + pnlred12.BackColor = Color.White; + pnlred12.Show(); + pnlred13.BackColor = Color.White; + pnlred13.Show(); + pnlred14.BackColor = Color.White; + pnlred14.Show(); + pnlred15.BackColor = Color.White; + pnlred15.Show(); + pnlred16.BackColor = Color.White; + pnlred16.Show(); + pnlredcustomcolour.Show(); + pnlredoptions.Show(); + break; + } + + switch (pinklevel) + { + case 1: + lblpinklevel.Text = "Level 1"; + pnlpink1.BackColor = Color.HotPink; + pnlpink1.Show(); + break; + case 2: + lblpinklevel.Text = "Level 2"; + pnlpink1.BackColor = Color.DeepPink; + pnlpink1.Show(); + pnlpink2.BackColor = Color.HotPink; + pnlpink2.Show(); + pnlpink3.BackColor = Color.LightPink; + pnlpink3.Show(); + break; + case 3: + lblpinklevel.Text = "Level 3"; + pnlpink1.BackColor = Color.MediumVioletRed; + pnlpink1.Show(); + pnlpink2.BackColor = Color.PaleVioletRed; + pnlpink2.Show(); + pnlpink3.BackColor = Color.DeepPink; + pnlpink3.Show(); + pnlpink4.BackColor = Color.HotPink; + pnlpink4.Show(); + pnlpink5.BackColor = Color.LightPink; + pnlpink5.Show(); + pnlpink6.BackColor = Color.Pink; + pnlpink6.Show(); + break; + case 4: + lblpinklevel.Text = "Level 4"; + pnlpink1.BackColor = Color.MediumVioletRed; + pnlpink1.Show(); + pnlpink2.BackColor = Color.PaleVioletRed; + pnlpink2.Show(); + pnlpink3.BackColor = Color.DeepPink; + pnlpink3.Show(); + pnlpink4.BackColor = Color.HotPink; + pnlpink4.Show(); + pnlpink5.BackColor = Color.LightPink; + pnlpink5.Show(); + pnlpink6.BackColor = Color.Pink; + pnlpink6.Show(); + pnlpink7.BackColor = Color.White; + pnlpink7.Show(); + pnlpink8.BackColor = Color.White; + pnlpink8.Show(); + pnlpink9.BackColor = Color.White; + pnlpink9.Show(); + pnlpink10.BackColor = Color.White; + pnlpink10.Show(); + pnlpink11.BackColor = Color.White; + pnlpink11.Show(); + pnlpink12.BackColor = Color.White; + pnlpink12.Show(); + pnlpink13.BackColor = Color.White; + pnlpink13.Show(); + pnlpink14.BackColor = Color.White; + pnlpink14.Show(); + pnlpink15.BackColor = Color.White; + pnlpink15.Show(); + pnlpink16.BackColor = Color.White; + pnlpink16.Show(); + pnlpinkcustomcolour.Show(); + pnlpinkoptions.Show(); + break; + } + + switch (anylevel) + { + case 1: + lblanylevel.Text = "Level 1"; + pnlany1.BackColor = Color.White; + pnlany1.Show(); + pnlanycustomcolour.Show(); + pnlanyoptions.Show(); + break; + case 2: + lblanylevel.Text = "Level 2"; + pnlany1.BackColor = Color.White; + pnlany1.Show(); + pnlany2.BackColor = Color.White; + pnlany2.Show(); + pnlany3.BackColor = Color.White; + pnlany3.Show(); + pnlany4.BackColor = Color.White; + pnlany4.Show(); + pnlanycustomcolour.Show(); + pnlanyoptions.Show(); + break; + case 3: + lblanylevel.Text = "Level 3"; + pnlany1.BackColor = Color.White; + pnlany1.Show(); + pnlany2.BackColor = Color.White; + pnlany2.Show(); + pnlany3.BackColor = Color.White; + pnlany3.Show(); + pnlany4.BackColor = Color.White; + pnlany4.Show(); + pnlany5.BackColor = Color.White; + pnlany5.Show(); + pnlany6.BackColor = Color.White; + pnlany6.Show(); + pnlany7.BackColor = Color.White; + pnlany7.Show(); + pnlany8.BackColor = Color.White; + pnlany8.Show(); + pnlanycustomcolour.Show(); + pnlanyoptions.Show(); + break; + case 4: + lblanylevel.Text = "Level 4"; + pnlany1.BackColor = Color.White; + pnlany1.Show(); + pnlany2.BackColor = Color.White; + pnlany2.Show(); + pnlany3.BackColor = Color.White; + pnlany3.Show(); + pnlany4.BackColor = Color.White; + pnlany4.Show(); + pnlany5.BackColor = Color.White; + pnlany5.Show(); + pnlany6.BackColor = Color.White; + pnlany6.Show(); + pnlany7.BackColor = Color.White; + pnlany7.Show(); + pnlany8.BackColor = Color.White; + pnlany8.Show(); + pnlany9.BackColor = Color.White; + pnlany9.Show(); + pnlany10.BackColor = Color.White; + pnlany10.Show(); + pnlany11.BackColor = Color.White; + pnlany11.Show(); + pnlany12.BackColor = Color.White; + pnlany12.Show(); + pnlany13.BackColor = Color.White; + pnlany13.Show(); + pnlany14.BackColor = Color.White; + pnlany14.Show(); + pnlany15.BackColor = Color.White; + pnlany15.Show(); + pnlany16.BackColor = Color.White; + pnlany16.Show(); + pnlanycustomcolour.Show(); + pnlanyoptions.Show(); + break; + } + } + + public string Result = "Nothing"; + + // ERROR: Handles clauses are not supported in C# + private void pnloldcolour_Click(object sender, EventArgs e) + { + Result = "Cancelled"; + this.Close(); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlnewcolour_Click(object sender, EventArgs e) + { + Result = "OK"; + NewColor = pnlnewcolour.BackColor; + this.Close(); + } + + // ERROR: Handles clauses are not supported in C# + private void pnloldcolour_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 2), pnloldcolour.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlanycolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlanycolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlgraycolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlgraycolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlpurplecolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlpurplecolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlbluecolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlbluecolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlgreencolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlgreencolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlyellowcolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlyellowcolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlorangecolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlorangecolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlbrowncolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlbrowncolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlredcolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlredcolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlpinkcolours_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 1), pnlpinkcolours.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlnewcolour_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 2), pnlnewcolour.ClientRectangle); + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctiongray(object sender, MouseEventArgs e) + { + + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlgraycustomcolour.BackColor; + savegraymemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctionpurple(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlpurplecustomcolour.BackColor; + savepurplememory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctionblue(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlbluecustomcolour.BackColor; + savebluememory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctiongreen(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlgreencustomcolour.BackColor; + savegreenmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctionyellow(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlyellowcustomcolour.BackColor; + saveyellowmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctionorange(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlorangecustomcolour.BackColor; + saveorangememory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctionbrown(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlbrowncustomcolour.BackColor; + savebrownmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctionred(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlredcustomcolour.BackColor; + saveredmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctionpink(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlpinkcustomcolour.BackColor; + savepinkmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void colourselctionany(object sender, MouseEventArgs e) + { + Panel spanel = (Panel)sender; + if (e.Button == MouseButtons.Left) + { + pnlnewcolour.BackColor = spanel.BackColor; + if (pnlnewcolour.BackColor.IsNamedColor) + { + if (pnlnewcolour.BackColor.Name.Length > 12) + { + lblnewcolourname.Text = pnlnewcolour.BackColor.Name; + } + else { + lblnewcolourname.Text = "Name: " + pnlnewcolour.BackColor.Name; + } + } + else { + lblnewcolourname.Text = "Name: Custom"; + } + lblnewcolourrgb.Text = "RGB: " + pnlnewcolour.BackColor.R + ", " + pnlnewcolour.BackColor.G + ", " + pnlnewcolour.BackColor.B; + } + if (e.Button == MouseButtons.Right) + { + spanel.BackColor = pnlanycustomcolour.BackColor; + saveanymemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void txtcustomgrayshade_TextChanged(object sender, EventArgs e) + { + if (txtcustomgrayshade.Text == "") + { + txtcustomgrayshade.Text = "0"; + } + else { + if (Convert.ToInt32(txtcustomgrayshade.Text) > 255) + { + txtcustomgrayshade.Text = "255"; + } + else { + pnlgraycustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtcustomgrayshade.Text), Convert.ToInt16(txtcustomgrayshade.Text), Convert.ToInt16(txtcustomgrayshade.Text)); + } + } + } + + // ERROR: Handles clauses are not supported in C# + private void CheckForNumber(object sender, KeyPressEventArgs e) + { + switch (e.KeyChar) + { + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + e.Handled = true; + break; + } + } + + private void customcolourfailsafe() + { + if (txtcustomgrayshade.Text == "") + txtcustomgrayshade.Text = "0"; + + if (txtanysblue.Text == "") + txtanysblue.Text = "0"; + if (txtanysred.Text == "") + txtanysred.Text = "0"; + if (txtanysgreen.Text == "") + txtanysgreen.Text = "0"; + + if (txtpurplesblue.Text == "") + txtpurplesblue.Text = "255"; + if (txtpurplesred.Text == "") + txtpurplesred.Text = "150"; + if (txtpurplesgreen.Text == "") + txtpurplesgreen.Text = "0"; + + if (txtbluesblue.Text == "") + txtbluesblue.Text = "255"; + if (txtbluesred.Text == "") + txtbluesred.Text = "0"; + if (txtbluesgreen.Text == "") + txtbluesgreen.Text = "0"; + + if (txtgreensblue.Text == "") + txtgreensblue.Text = "0"; + if (txtgreensred.Text == "") + txtgreensred.Text = "0"; + if (txtgreensgreen.Text == "") + txtgreensgreen.Text = "255"; + + if (txtyellowsblue.Text == "") + txtyellowsblue.Text = "0"; + if (txtyellowsred.Text == "") + txtyellowsred.Text = "255"; + if (txtyellowsgreen.Text == "") + txtyellowsgreen.Text = "255"; + + if (txtorangesblue.Text == "") + txtorangesblue.Text = "0"; + if (txtorangesred.Text == "") + txtorangesred.Text = "255"; + if (txtorangesgreen.Text == "") + txtorangesgreen.Text = "60"; + + if (txtbrownsblue.Text == "") + txtbrownsblue.Text = "0"; + if (txtbrownsred.Text == "") + txtbrownsred.Text = "140"; + if (txtbrownsgreen.Text == "") + txtbrownsgreen.Text = "60"; + + if (txtredsblue.Text == "") + txtredsblue.Text = "0"; + if (txtredsred.Text == "") + txtredsred.Text = "255"; + if (txtredsgreen.Text == "") + txtredsgreen.Text = "0"; + + if (txtpinksblue.Text == "") + txtpinksblue.Text = "150"; + if (txtpinksred.Text == "") + txtpinksred.Text = "250"; + if (txtpinksgreen.Text == "") + txtpinksgreen.Text = "0"; + } + + // ERROR: Handles clauses are not supported in C# + private void txtpurplesgreen_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + + pnlpurplecustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtpurplesred.Text), Convert.ToInt16(txtpurplesgreen.Text), Convert.ToInt16(txtpurplesblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlpurpleoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + if (Convert.ToInt32(txtpurplesblue.Text) > 255) + { + txtpurplesblue.Text = "255"; + } + if (Convert.ToInt32(txtpurplesred.Text) > Convert.ToInt32(txtpurplesblue.Text)) + { + txtpurplesred.Text = txtpurplesblue.Text; + } + if (Convert.ToInt32(txtpurplesgreen.Text) > Convert.ToInt32(txtpurplesblue.Text)) + { + txtpurplesgreen.Text = txtpurplesred.Text; + } + if (Convert.ToInt32(txtpurplesgreen.Text) > Convert.ToInt32(txtpurplesred.Text)) + { + txtpurplesgreen.Text = txtpurplesred.Text; + } + pnlpurplecustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtpurplesred.Text), Convert.ToInt16(txtpurplesgreen.Text), Convert.ToInt16(txtpurplesblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void txtbluesgreen_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + + pnlbluecustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtbluesred.Text), Convert.ToInt16(txtbluesgreen.Text), Convert.ToInt16(txtbluesblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlblueoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + if (Convert.ToInt32(txtbluesblue.Text) > 255) + { + txtbluesblue.Text = "255"; + } + if (Convert.ToInt32(txtbluesgreen.Text) > Convert.ToInt32(txtbluesblue.Text)) + { + txtbluesgreen.Text = txtbluesblue.Text; + } + if (Convert.ToInt32(txtbluesred.Text) > Convert.ToInt32(txtbluesblue.Text)) + { + txtbluesred.Text = txtbluesgreen.Text; + } + if (Convert.ToInt32(txtbluesred.Text) > Convert.ToInt32(txtbluesgreen.Text)) + { + txtbluesred.Text = txtbluesgreen.Text; + } + pnlbluecustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtbluesred.Text), Convert.ToInt16(txtbluesgreen.Text), Convert.ToInt16(txtbluesblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void txtgreensgreen_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + + pnlgreencustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtgreensred.Text), Convert.ToInt16(txtgreensgreen.Text), Convert.ToInt16(txtgreensblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlgreenoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + if (Convert.ToInt32(txtgreensgreen.Text) > 255) + { + txtgreensgreen.Text = "255"; + } + if (Convert.ToInt32(txtgreensblue.Text) > Convert.ToInt32(txtgreensgreen.Text)) + { + txtgreensblue.Text = txtgreensgreen.Text; + } + if (Convert.ToInt32(txtgreensred.Text) > Convert.ToInt32(txtgreensgreen.Text)) + { + txtgreensred.Text = txtgreensgreen.Text; + } + if (Convert.ToInt32(txtgreensblue.Text) > Convert.ToInt32(txtgreensred.Text + 150)) + { + txtgreensblue.Text = (Convert.ToInt16(txtgreensred.Text) + 150).ToString(); + } + if (Convert.ToInt32(txtgreensred.Text) > Convert.ToInt32(txtgreensblue.Text + 150)) + { + txtgreensred.Text = (Convert.ToInt32(txtgreensblue.Text) + 150).ToString(); + } + pnlgreencustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtgreensred.Text), Convert.ToInt16(txtgreensgreen.Text), Convert.ToInt16(txtgreensblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void txtyellowsred_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + + pnlyellowcustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtyellowsred.Text), Convert.ToInt16(txtyellowsgreen.Text), Convert.ToInt16(txtyellowsblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlyellowoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + if (Convert.ToInt32(txtyellowsred.Text) > 255) + { + txtyellowsred.Text = "255"; + } + if (Convert.ToInt32(txtyellowsred.Text) < 180) + { + txtyellowsred.Text = "180"; + } + if (Convert.ToInt32(txtyellowsgreen.Text) > Convert.ToInt32(txtyellowsred.Text)) + { + txtyellowsgreen.Text = txtyellowsred.Text; + } + if (Convert.ToInt32(txtyellowsgreen.Text) < (Convert.ToInt32(txtyellowsred.Text) - 30)) + { + txtyellowsgreen.Text = (Convert.ToInt32(txtyellowsred.Text) - 30).ToString(); + } + if (Convert.ToInt32(txtyellowsblue.Text) > Convert.ToInt32(txtyellowsgreen.Text)) + { + txtyellowsblue.Text = txtyellowsgreen.Text; + } + pnlyellowcustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtyellowsred.Text), Convert.ToInt16(txtyellowsgreen.Text), Convert.ToInt16(txtyellowsblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void txtorangesred_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + + pnlorangecustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtorangesred.Text), Convert.ToInt16(txtorangesgreen.Text), Convert.ToInt16(txtorangesblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlorangeoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + if (Convert.ToInt32(txtorangesred.Text) > 255) + { + txtorangesred.Text = "255"; + } + if (Convert.ToInt32(txtorangesred.Text) < 255) + { + txtorangesred.Text = "255"; + } + if (Convert.ToInt32(txtorangesgreen.Text) > Convert.ToInt32(txtorangesred.Text) - 100) + { + txtorangesgreen.Text = (Convert.ToInt32(txtorangesred.Text) - 100).ToString(); + } + if (Convert.ToInt32(txtorangesgreen.Text) < 30) + { + txtorangesgreen.Text = "30"; + } + if (Convert.ToInt32(txtorangesblue.Text) > (Convert.ToInt32(txtorangesgreen.Text) - 30)) + { + txtorangesblue.Text = (Convert.ToInt32(txtorangesgreen.Text) - 30).ToString(); + } + pnlorangecustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtorangesred.Text), Convert.ToInt16(txtorangesgreen.Text), Convert.ToInt16(txtorangesblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void txtbrownsred_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + + pnlbrowncustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtbrownsred.Text), Convert.ToInt16(txtbrownsgreen.Text), Convert.ToInt16(txtbrownsblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlbrownoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + if (Convert.ToInt32(txtbrownsred.Text) > 255) + { + txtbrownsred.Text = "255"; + } + if (Convert.ToInt32(txtbrownsred.Text) < 90) + { + txtbrownsred.Text = "90"; + } + if (Convert.ToInt32(txtbrownsgreen.Text) > Convert.ToInt32(txtbrownsred.Text) - 30) + { + txtbrownsgreen.Text = (Convert.ToInt32(txtbrownsred.Text) - 30).ToString(); + } + if (Convert.ToInt32(txtbrownsgreen.Text) < Convert.ToInt32(txtbrownsred.Text) - 128) + { + txtbrownsgreen.Text = (Convert.ToInt32(txtbrownsred.Text) - 128).ToString(); + } + if (Convert.ToInt32(txtbrownsgreen.Text) < 60) + { + txtbrownsgreen.Text = "60"; + } + if (Convert.ToInt32(txtbrownsblue.Text) > Convert.ToInt32(txtbrownsgreen.Text) - 60) + { + txtbrownsblue.Text = (Convert.ToInt32(txtbrownsgreen.Text) - 60).ToString(); + } + pnlbrowncustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtbrownsred.Text), Convert.ToInt16(txtbrownsgreen.Text), Convert.ToInt16(txtbrownsblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void txtsred_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + + pnlredcustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtredsred.Text), Convert.ToInt16(txtredsgreen.Text), Convert.ToInt16(txtredsblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlredoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + if (Convert.ToInt32(txtredsred.Text) > 255) + { + txtredsred.Text = "255"; + } + if (Convert.ToInt32(txtredsblue.Text) > Convert.ToInt32(txtredsred.Text) - 80) + { + txtredsblue.Text = (Convert.ToInt32(txtredsred.Text) - 80).ToString(); + } + if (Convert.ToInt32(txtredsgreen.Text) > Convert.ToInt32(txtredsred.Text) - 80) + { + txtredsgreen.Text = (Convert.ToInt32(txtredsred.Text) - 80).ToString(); + } + if (Convert.ToInt32(txtredsgreen.Text) > Convert.ToInt32(txtredsblue.Text + 50)) + { + txtredsgreen.Text = (Convert.ToInt32(txtredsblue.Text) + 50).ToString(); + } + if (Convert.ToInt32(txtredsblue.Text) > Convert.ToInt32(txtredsgreen.Text + 50)) + { + txtredsblue.Text = (Convert.ToInt32(txtredsgreen.Text) + 50).ToString(); + } + pnlredcustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtredsred.Text), Convert.ToInt16(txtredsgreen.Text), Convert.ToInt16(txtredsblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void txtpinksred_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + try + { + pnlpinkcustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtpinksred.Text), Convert.ToInt16(txtpinksgreen.Text), Convert.ToInt16(txtpinksblue.Text)); + } + catch { } + } + + + + // ERROR: Handles clauses are not supported in C# + private void pnlpinkoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + if (Convert.ToInt32(txtpinksred.Text) > 255) + { + txtpinksred.Text = "255"; + } + if (Convert.ToInt32(txtpinksblue.Text) > Convert.ToInt32(txtpinksred.Text) - 50) + { + txtpinksblue.Text = (Convert.ToInt32(txtpinksred.Text) - 50).ToString(); + } + if (Convert.ToInt32(txtpinksgreen.Text) > Convert.ToInt32(txtpinksblue.Text)) + { + txtpinksgreen.Text = txtpinksblue.Text; + } + pnlpinkcustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtpinksred.Text), Convert.ToInt16(txtpinksgreen.Text), Convert.ToInt16(txtpinksblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void txtanysred_TextChanged(object sender, EventArgs e) + { + // ERROR: Not supported in C#: OnErrorStatement + try + { + pnlanycustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtanysred.Text), Convert.ToInt16(txtanysgreen.Text), Convert.ToInt16(txtanysblue.Text)); + } + catch + { + + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlanyoptions_MouseLeave(object sender, EventArgs e) + { + customcolourfailsafe(); + switch (anylevel) + { + case 1: + if (Convert.ToInt32(txtanysred.Text) > 150) + { + txtanysred.Text = "150"; + } + if (Convert.ToInt32(txtanysred.Text) < 100) + { + txtanysred.Text = "100"; + } + if (Convert.ToInt32(txtanysblue.Text) > 150) + { + txtanysblue.Text = "150"; + } + if (Convert.ToInt32(txtanysblue.Text) < 100) + { + txtanysblue.Text = "100"; + } + if (Convert.ToInt32(txtanysgreen.Text) > 150) + { + txtanysgreen.Text = "150"; + } + if (Convert.ToInt32(txtanysgreen.Text) < 100) + { + txtanysgreen.Text = "100"; + } + break; + case 2: + if (Convert.ToInt32(txtanysred.Text) > 200) + { + txtanysred.Text = "200"; + } + if (Convert.ToInt32(txtanysred.Text) < 100) + { + txtanysred.Text = "100"; + } + if (Convert.ToInt32(txtanysblue.Text) > 200) + { + txtanysblue.Text = "200"; + } + if (Convert.ToInt32(txtanysblue.Text) < 100) + { + txtanysblue.Text = "100"; + } + if (Convert.ToInt32(txtanysgreen.Text) > 200) + { + txtanysgreen.Text = "200"; + } + if (Convert.ToInt32(txtanysgreen.Text) < 100) + { + txtanysgreen.Text = "100"; + } + break; + case 3: + if (Convert.ToInt32(txtanysred.Text) > 225) + { + txtanysred.Text = "225"; + } + if (Convert.ToInt32(txtanysred.Text) < 75) + { + txtanysred.Text = "75"; + } + if (Convert.ToInt32(txtanysblue.Text) > 225) + { + txtanysblue.Text = "225"; + } + if (Convert.ToInt32(txtanysblue.Text) < 75) + { + txtanysblue.Text = "75"; + } + if (Convert.ToInt32(txtanysgreen.Text) > 225) + { + txtanysgreen.Text = "225"; + } + if (Convert.ToInt32(txtanysgreen.Text) < 75) + { + txtanysgreen.Text = "75"; + } + break; + case 4: + if (Convert.ToInt32(txtanysred.Text) > 255) + { + txtanysred.Text = "255"; + } + if (Convert.ToInt32(txtanysred.Text) < 0) + { + txtanysred.Text = "0"; + } + if (Convert.ToInt32(txtanysblue.Text) > 255) + { + txtanysblue.Text = "255"; + } + if (Convert.ToInt32(txtanysblue.Text) < 0) + { + txtanysblue.Text = "0"; + } + if (Convert.ToInt32(txtanysgreen.Text) > 255) + { + txtanysgreen.Text = "255"; + } + if (Convert.ToInt32(txtanysgreen.Text) < 0) + { + txtanysgreen.Text = "0"; + } + break; + } + pnlanycustomcolour.BackColor = Color.FromArgb(Convert.ToInt16(txtanysred.Text), Convert.ToInt16(txtanysgreen.Text), Convert.ToInt16(txtanysblue.Text)); + } + + // ERROR: Handles clauses are not supported in C# + private void pnlgraycustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Gray Rules"; + //infobox.textinfo = "You must input a value between 0 (black) and 255 (white) to form a shade of gray." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Gray Memory Wiped"; + //infobox.textinfo = "All your custom shades of Gray have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.graymemory, 0, API.graymemory.Length); + setupboughtcolours(); + loadmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlpurplecustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Purple Rules"; + //infobox.textinfo = "Blue must have the highest value followed by red. Green must then have the lowest value." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Purple Memory Wiped"; + //infobox.textinfo = "All your custom shades of Purple have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.purplememory, 0, API.purplememory.Length); + setupboughtcolours(); + loadmemory(); + } + + } + + // ERROR: Handles clauses are not supported in C# + private void pnlbluecustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Blue Rules"; + //infobox.textinfo = "Blue must have the highest value followed by green. Red must then have the lowest value." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Blue Memory Wiped"; + //infobox.textinfo = "All your custom shades of Blue have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.bluememory, 0, API.bluememory.Length); + setupboughtcolours(); + loadmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlgreencustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Green Rules"; + //infobox.textinfo = "Green must have the highest value. Red and Blue need to have values within 150 of eachother." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Green Memory Wiped"; + //infobox.textinfo = "All your custom shades of Green have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.greenmemory, 0, API.greenmemory.Length); + setupboughtcolours(); + loadmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlyellowcustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Yellow Rules"; + //infobox.textinfo = "Red must have the highest value and be over 180. Green must be within 30 values of red. Blue must be the lowest value." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Yellow Memory Wiped"; + //infobox.textinfo = "All your custom shades of Yellow have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.yellowmemory, 0, API.yellowmemory.Length); + setupboughtcolours(); + loadmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlorangecustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Orange Rules"; + //infobox.textinfo = "Red must have a value of 255. Green must be 100 or more values less than red. Blue must be 30 or more values less than green." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Orange Memory Wiped"; + //infobox.textinfo = "All your custom shades of Orange have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.orangememory, 0, API.orangememory.Length); + setupboughtcolours(); + loadmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlbrowncustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Brown Rules"; + //infobox.textinfo = "Red must have the highest value. Green must be 30 - 128 values lower than red. Blue must be 60 or more values less than green." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Brown Memory Wiped"; + //infobox.textinfo = "All your custom shades of Brown have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.brownmemory, 0, API.brownmemory.Length); + setupboughtcolours(); + loadmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlredcustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Red Rules"; + //infobox.textinfo = "Red must have the highest value. Green and blue must be 80 or more values less than red but within 50 values of eachother." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Red Memory Wiped"; + //infobox.textinfo = "All your custom shades of Red have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.redmemory, 0, API.redmemory.Length); + setupboughtcolours(); + loadmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlpinkcustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + //infobox.title = "Pink Rules"; + //infobox.textinfo = "Red must have the highest value. Blue must be 50 or more values less than red. Green must have the lowest value." + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Pink Memory Wiped"; + //infobox.textinfo = "All your custom shades of Pink have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.pinkmemory, 0, API.pinkmemory.Length); + setupboughtcolours(); + loadmemory(); + } + } + + // ERROR: Handles clauses are not supported in C# + private void pnlanycustomcolour_Click(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + switch (anylevel) + { + case 1: + //infobox.title = "Custom Rules"; + //infobox.textinfo = "Red, Green and Blue may be set to any value between 100 and 150" + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + break; + case 2: + //infobox.title = "Custom Rules"; + //infobox.textinfo = "Red, Green and Blue may be set to any value between 100 and 200" + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + break; + case 3: + //infobox.title = "Custom Rules"; + //infobox.textinfo = "Red, Green and Blue may be set to any value between 75 and 225" + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + break; + case 4: + //infobox.title = "Custom Rules"; + //infobox.textinfo = "Red, Green and Blue may be set to any value between 0 and 255" + Environment.NewLine + Environment.NewLine + "Right click a box on the left to use this colour."; + //infobox.Show(); + break; + } + } + + if (e.Button == MouseButtons.Right) + { + //infobox.title = "Custom Colour Memory Wiped"; + //infobox.textinfo = "All your custom colour shades of have been wiped from memory." + Environment.NewLine + Environment.NewLine + "You can set custom colours but right clicking any of the boxes on the left."; + //infobox.Show(); + Array.Clear(API.anymemory, 0, API.anymemory.Length); + setupboughtcolours(); + loadmemory(); + } + + } + } +} diff --git a/source/WindowsFormsApplication1/Dialogs/Color_Picker.resx b/source/WindowsFormsApplication1/Dialogs/Color_Picker.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/source/WindowsFormsApplication1/Dialogs/Color_Picker.resx @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs b/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs new file mode 100644 index 0000000..5cc62ea --- /dev/null +++ b/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs @@ -0,0 +1,400 @@ +using System; + +namespace ShiftOS +{ + partial class Graphic_Picker + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + private void InitializeComponent() + { + this.pgcontents = new System.Windows.Forms.Panel(); + this.btncancel = new System.Windows.Forms.Button(); + this.btnreset = new System.Windows.Forms.Button(); + this.btnapply = new System.Windows.Forms.Button(); + this.Label4 = new System.Windows.Forms.Label(); + this.btnmousedownbrowse = new System.Windows.Forms.Button(); + this.txtmousedownfile = new System.Windows.Forms.TextBox(); + this.picmousedown = new System.Windows.Forms.PictureBox(); + this.Label3 = new System.Windows.Forms.Label(); + this.btnmouseoverbrowse = new System.Windows.Forms.Button(); + this.txtmouseoverfile = new System.Windows.Forms.TextBox(); + this.picmouseover = new System.Windows.Forms.PictureBox(); + this.Label2 = new System.Windows.Forms.Label(); + this.Label1 = 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.btncentre = new System.Windows.Forms.Button(); + this.btntile = new System.Windows.Forms.Button(); + this.pnlgraphicholder = new System.Windows.Forms.Panel(); + this.picgraphic = new System.Windows.Forms.PictureBox(); + this.lblobjecttoskin = new System.Windows.Forms.Label(); + this.OpenFileDialog1 = new System.Windows.Forms.OpenFileDialog(); + this.pgcontents.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picmousedown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picmouseover)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picidle)).BeginInit(); + this.pnlgraphicholder.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picgraphic)).BeginInit(); + this.SuspendLayout(); + // + // 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.Label4); + this.pgcontents.Controls.Add(this.btnmousedownbrowse); + this.pgcontents.Controls.Add(this.txtmousedownfile); + this.pgcontents.Controls.Add(this.picmousedown); + this.pgcontents.Controls.Add(this.Label3); + this.pgcontents.Controls.Add(this.btnmouseoverbrowse); + this.pgcontents.Controls.Add(this.txtmouseoverfile); + this.pgcontents.Controls.Add(this.picmouseover); + this.pgcontents.Controls.Add(this.Label2); + this.pgcontents.Controls.Add(this.Label1); + 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(0, 0); + this.pgcontents.Name = "pgcontents"; + this.pgcontents.Size = new System.Drawing.Size(390, 594); + this.pgcontents.TabIndex = 20; + // + // btncancel + // + this.btncancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btncancel.Location = new System.Drawing.Point(21, 546); + 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(136, 546); + 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(251, 546); + 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); + // + // Label4 + // + this.Label4.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label4.Location = new System.Drawing.Point(125, 411); + this.Label4.Name = "Label4"; + this.Label4.Size = new System.Drawing.Size(163, 28); + this.Label4.TabIndex = 20; + this.Label4.Text = "Mouse Down"; + this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // btnmousedownbrowse + // + this.btnmousedownbrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnmousedownbrowse.Location = new System.Drawing.Point(295, 411); + this.btnmousedownbrowse.Name = "btnmousedownbrowse"; + this.btnmousedownbrowse.Size = new System.Drawing.Size(73, 60); + this.btnmousedownbrowse.TabIndex = 19; + this.btnmousedownbrowse.Text = "Browse"; + this.btnmousedownbrowse.UseVisualStyleBackColor = true; + this.btnmousedownbrowse.Click += new System.EventHandler(this.btnmousedownbrowse_Click); + // + // txtmousedownfile + // + this.txtmousedownfile.BackColor = System.Drawing.Color.White; + this.txtmousedownfile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtmousedownfile.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.txtmousedownfile.Location = new System.Drawing.Point(125, 442); + this.txtmousedownfile.Multiline = true; + this.txtmousedownfile.Name = "txtmousedownfile"; + this.txtmousedownfile.Size = new System.Drawing.Size(163, 29); + this.txtmousedownfile.TabIndex = 18; + this.txtmousedownfile.Text = "None"; + this.txtmousedownfile.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // picmousedown + // + this.picmousedown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.picmousedown.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.picmousedown.Location = new System.Drawing.Point(19, 411); + this.picmousedown.Name = "picmousedown"; + this.picmousedown.Size = new System.Drawing.Size(100, 60); + this.picmousedown.TabIndex = 17; + this.picmousedown.TabStop = false; + // + // Label3 + // + this.Label3.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label3.Location = new System.Drawing.Point(125, 336); + this.Label3.Name = "Label3"; + this.Label3.Size = new System.Drawing.Size(163, 28); + this.Label3.TabIndex = 16; + this.Label3.Text = "Mouse Over"; + this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // btnmouseoverbrowse + // + this.btnmouseoverbrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnmouseoverbrowse.Location = new System.Drawing.Point(295, 336); + this.btnmouseoverbrowse.Name = "btnmouseoverbrowse"; + this.btnmouseoverbrowse.Size = new System.Drawing.Size(73, 60); + this.btnmouseoverbrowse.TabIndex = 15; + this.btnmouseoverbrowse.Text = "Browse"; + this.btnmouseoverbrowse.UseVisualStyleBackColor = true; + this.btnmouseoverbrowse.Click += new System.EventHandler(this.btnmouseoverbrowse_Click); + // + // txtmouseoverfile + // + this.txtmouseoverfile.BackColor = System.Drawing.Color.White; + this.txtmouseoverfile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtmouseoverfile.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); + this.txtmouseoverfile.Location = new System.Drawing.Point(125, 367); + this.txtmouseoverfile.Multiline = true; + this.txtmouseoverfile.Name = "txtmouseoverfile"; + this.txtmouseoverfile.Size = new System.Drawing.Size(163, 29); + this.txtmouseoverfile.TabIndex = 14; + this.txtmouseoverfile.Text = "None"; + this.txtmouseoverfile.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // picmouseover + // + this.picmouseover.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.picmouseover.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.picmouseover.Location = new System.Drawing.Point(19, 336); + this.picmouseover.Name = "picmouseover"; + this.picmouseover.Size = new System.Drawing.Size(100, 60); + this.picmouseover.TabIndex = 13; + this.picmouseover.TabStop = false; + // + // 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(125, 260); + 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; + // + // Label1 + // + this.Label1.AutoSize = true; + this.Label1.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label1.Location = new System.Drawing.Point(17, 228); + this.Label1.Name = "Label1"; + this.Label1.Size = new System.Drawing.Size(70, 23); + this.Label1.TabIndex = 11; + this.Label1.Text = "States"; + // + // btnidlebrowse + // + this.btnidlebrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnidlebrowse.Location = new System.Drawing.Point(295, 260); + 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(125, 291); + 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(19, 260); + 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); + // + // 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; + // + // 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; + // + // 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; + // + // OpenFileDialog1 + // + this.OpenFileDialog1.FileName = "OpenFileDialog1"; + // + // Graphic_Picker + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(390, 594); + this.Controls.Add(this.pgcontents); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "Graphic_Picker"; + this.Text = "Graphic_Picker"; + this.TopMost = true; + this.Load += new System.EventHandler(this.Graphic_Picker_Load); + this.pgcontents.ResumeLayout(false); + this.pgcontents.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picmousedown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picmouseover)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picidle)).EndInit(); + this.pnlgraphicholder.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.picgraphic)).EndInit(); + this.ResumeLayout(false); + + } + internal System.Windows.Forms.Panel pgcontents; + internal System.Windows.Forms.Button btncancel; + internal System.Windows.Forms.Button btnreset; + internal System.Windows.Forms.Button btnapply; + internal System.Windows.Forms.Label Label4; + internal System.Windows.Forms.Button btnmousedownbrowse; + internal System.Windows.Forms.TextBox txtmousedownfile; + internal System.Windows.Forms.PictureBox picmousedown; + internal System.Windows.Forms.Label Label3; + internal System.Windows.Forms.Button btnmouseoverbrowse; + internal System.Windows.Forms.TextBox txtmouseoverfile; + internal System.Windows.Forms.PictureBox picmouseover; + internal System.Windows.Forms.Label Label2; + internal System.Windows.Forms.Label Label1; + 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.Button btncentre; + internal System.Windows.Forms.Button btntile; + internal System.Windows.Forms.Panel pnlgraphicholder; + internal System.Windows.Forms.PictureBox picgraphic; + internal System.Windows.Forms.Label lblobjecttoskin; + internal System.Windows.Forms.OpenFileDialog OpenFileDialog1; + } +}
\ No newline at end of file diff --git a/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.cs b/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.cs new file mode 100644 index 0000000..1df302d --- /dev/null +++ b/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.cs @@ -0,0 +1,249 @@ +using Svg; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ShiftOS +{ + + public partial class Graphic_Picker : Form + { + /// <summary> + /// Graphic Picker GUI. + /// </summary> + /// <param name="elementName">Name of element.</param> + /// <param name="showMouseImages">Should mouse images be shown?</param> + public Graphic_Picker(string elementName, bool showMouseImages) + { + InitializeComponent(); + ElementName = elementName; + ShowMouseImages = showMouseImages; + } + + private string ElementName = "Close Button"; + public ImageLayout ImageLayout = ImageLayout.Stretch; + public Image IdleImage = null; + public Image MouseOverImage = null; + public Image MouseDownImage = null; + private bool ShowMouseImages = false; + + /// <summary> + /// Sets up the user interface. + /// </summary> + private void SetupGUI() + { + lblobjecttoskin.Text = ElementName; + btnstretch.BackgroundImage = Properties.Resources.stretchbutton; + btntile.BackgroundImage = Properties.Resources.tilebutton; + btncentre.BackgroundImage = Properties.Resources.centrebutton; + btnzoom.BackgroundImage = Properties.Resources.zoombutton; + switch(this.ImageLayout) + { + case ImageLayout.Stretch: + btnstretch.BackgroundImage = Properties.Resources.stretchbuttonpressed; + break; + case ImageLayout.Tile: + btntile.BackgroundImage = Properties.Resources.tilebuttonpressed; + break; + case ImageLayout.Center: + btncentre.BackgroundImage = Properties.Resources.centrebuttonpressed; + break; + default: + btnzoom.BackgroundImage = Properties.Resources.zoombuttonpressed; + break; + } + if(ShowMouseImages == true) + { + txtmousedownfile.Show(); + txtmouseoverfile.Show(); + Label3.Show(); + Label4.Show(); + picmousedown.Show(); + picmouseover.Show(); + btnmousedownbrowse.Show(); + btnmouseoverbrowse.Show(); + this.Height = MOUSE_IMAGES_WINDOW_HEIGHT; + } + else + { + txtmousedownfile.Hide(); + txtmouseoverfile.Hide(); + Label3.Hide(); + Label4.Hide(); + picmousedown.Hide(); + picmouseover.Hide(); + btnmousedownbrowse.Hide(); + btnmouseoverbrowse.Hide(); + this.Height = IDLE_ONLY_WINDOW_HEIGHT; + + } + picidle.BackgroundImage = IdleImage; + picidle.BackgroundImageLayout = this.ImageLayout; + picmousedown.BackgroundImage = MouseDownImage; + picidle.BackgroundImageLayout = this.ImageLayout; + picmouseover.BackgroundImage = MouseOverImage; + picidle.BackgroundImageLayout = this.ImageLayout; + txtidlefile.Text = idle_filename; + txtmousedownfile.Text = mousedown_filename; + txtmouseoverfile.Text = mouseover_filename; + } + + private const int MOUSE_IMAGES_WINDOW_HEIGHT = 570; + private const int IDLE_ONLY_WINDOW_HEIGHT = 382; + private void btntile_Click(object sender, EventArgs e) + { + this.ImageLayout = ImageLayout.Tile; + SetupGUI(); + } + + private void btncentre_Click(object sender, EventArgs e) + { + this.ImageLayout = ImageLayout.Center; + SetupGUI(); + } + + private void btnstretch_Click(object sender, EventArgs e) + { + this.ImageLayout = ImageLayout.Stretch; + SetupGUI(); + } + + private string idle_filename = "None"; + private string mouseover_filename = "None"; + private string mousedown_filename = "None"; + + + private void btnzoom_Click(object sender, EventArgs e) + { + this.ImageLayout = ImageLayout.Zoom; + SetupGUI(); + } + + private void btnmouseoverbrowse_Click(object sender, EventArgs e) + { + API.CreateFileSkimmerSession(".pic;.svg;.png;.bmp;.jpg", File_Skimmer.FileSkimmerMode.Open); + API.FileSkimmerSession.FormClosing += (object s, FormClosingEventArgs a) => + { + string result = API.GetFSResult(); + if(result != "fail") + { + var finf = new FileInfo(result); + if (finf.Extension == ".svg") + { + MouseOverImage = SVGtoPNG(finf.FullName); + } + else { + MouseOverImage = Image.FromFile(result); + } + + mouseover_filename = finf.Name; + MOFullName = finf.FullName; + } + SetupGUI(); + }; + } + + /// <summary> + /// Scalable Vector Graphics parser. + /// </summary> + /// <param name="svg">Path to .svg file.</param> + /// <returns>The new System.Drawing.Image.</returns> + private Image SVGtoPNG(string svg) + { + + + var svgDocument = SvgDocument.Open(svg); + return svgDocument.Draw(); + + } + + private void btnidlebrowse_Click(object sender, EventArgs e) + { + API.CreateFileSkimmerSession(".pic;.svg;.png;.bmp;.jpg", File_Skimmer.FileSkimmerMode.Open); + API.FileSkimmerSession.FormClosing += (object s, FormClosingEventArgs a) => + { + string result = API.GetFSResult(); + if (result != "fail") + { + var finf = new FileInfo(result); + if (finf.Extension == ".svg") + { + IdleImage = SVGtoPNG(finf.FullName); + } + else { + IdleImage = Image.FromFile(result); + } + idle_filename = finf.Name; + IdleFullName = finf.FullName; + } + SetupGUI(); + }; + } + + private void btnmousedownbrowse_Click(object sender, EventArgs e) + { + API.CreateFileSkimmerSession(".pic;.svg;.png;.bmp;.jpg", File_Skimmer.FileSkimmerMode.Open); + API.FileSkimmerSession.FormClosing += (object s, FormClosingEventArgs a) => + { + string result = API.GetFSResult(); + if (result != "fail") + { + var finf = new FileInfo(result); + if (finf.Extension == ".svg") + { + MouseDownImage = SVGtoPNG(finf.FullName); + } + else { + MouseDownImage = Image.FromFile(result); + } + + mousedown_filename = finf.Name; + MDFullName = finf.FullName; + } + SetupGUI(); + }; + } + + public string Result = "Cancelled"; + + private void Graphic_Picker_Load(object sender, EventArgs e) + { + + SetupGUI(); + } + + private void btnreset_Click(object sender, EventArgs e) + { + IdleImage = null; + MouseOverImage = null; + MouseDownImage = null; + idle_filename = "None"; + mouseover_filename = "None"; + mousedown_filename = "None"; + SetupGUI(); + } + + private void btncancel_Click(object sender, EventArgs e) + { + Result = "Cancelled"; + this.Close(); + } + + public string IdleFullName = null; + public string MOFullName = null; + public string MDFullName = null; + + private void btnapply_Click(object sender, EventArgs e) + { + Result = "OK"; + this.Close(); + } + } +} diff --git a/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.resx b/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.resx new file mode 100644 index 0000000..33c7f67 --- /dev/null +++ b/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.resx @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <metadata name="OpenFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> +</root>
\ No newline at end of file |
