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 PaintDotNet.DedicatedAnalysis.menuGrayiron
{
public partial class ChangeColor : Form
{
///
/// 调色板
///
PaintDotNet.ColorsForm colorsForm1;
///
/// 调色板
///
PaintDotNet.ColorsForm colorsForm2;
///
/// 调色板
///
PaintDotNet.ColorsForm colorsForm3;
///
/// 调色板
///
PaintDotNet.ColorsForm colorsForm4;
///
/// 调色板
///
PaintDotNet.ColorsForm colorsForm5;
///
/// 调色板
///
PaintDotNet.ColorsForm colorsForm6;
///
/// 调色板
///
PaintDotNet.ColorsForm colorsForm7;
///
/// 调色板
///
PaintDotNet.ColorsForm colorsForm8;
///
/// 颜色默认值
///
private static Color color1 = Color.Red;
///
/// 颜色默认值
///
private static Color color2 = Color.Red;
///
/// 颜色默认值
///
private static Color color3 = Color.Red;
///
/// 颜色默认值
///
private static Color color4 = Color.Red;
///
/// 颜色默认值
///
private static Color color5 = Color.Red;
///
/// 颜色默认值
///
private static Color color6 = Color.Red;
///
/// 颜色默认值
///
private static Color color7 = Color.Red;
///
/// 颜色默认值
///
private static Color color8 = Color.Red;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel panel8;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel1;
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
private void InitializeLanguageText()
{
this.groupBox1.Text = PdnResources.GetString("Menu.operation.text");
this.button2.Text = PdnResources.GetString("CommonAction.Save");
this.button1.Text = PdnResources.GetString("Menu.File.Close.Text");
this.groupBox2.Text = PdnResources.GetString("Menu.Colorsetting.text");
this.label8.Text = PdnResources.GetString("Menu.Level8.text") + ":";
this.label7.Text = PdnResources.GetString("Menu.Level7.text") + ":";
this.label6.Text = PdnResources.GetString("Menu.Level6.text") + ":";
this.label5.Text = PdnResources.GetString("Menu.Level5.text") + ":";
this.label4.Text = PdnResources.GetString("Menu.Level4.text") + ":";
this.label3.Text = PdnResources.GetString("Menu.Level3.text") + ":";
this.label2.Text = PdnResources.GetString("Menu.Level2.text") + ":";
this.label1.Text = PdnResources.GetString("Menu.Level1.text") + ":";
this.Text = PdnResources.GetString("Menu.Colorsetting.text");
}
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel8 = new System.Windows.Forms.Panel();
this.panel7 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.button2);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(560, 70);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// button2
//
this.button2.AutoEllipsis = true;
this.button2.Location = new System.Drawing.Point(479, 24);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 25);
this.button2.TabIndex = 1;
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button1
//
this.button1.AutoEllipsis = true;
this.button1.Location = new System.Drawing.Point(378, 24);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(70, 25);
this.button1.TabIndex = 0;
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// groupBox2
//
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.panel8);
this.groupBox2.Controls.Add(this.panel7);
this.groupBox2.Controls.Add(this.panel6);
this.groupBox2.Controls.Add(this.panel5);
this.groupBox2.Controls.Add(this.panel4);
this.groupBox2.Controls.Add(this.panel3);
this.groupBox2.Controls.Add(this.panel2);
this.groupBox2.Controls.Add(this.panel1);
this.groupBox2.Controls.Add(this.label8);
this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.label6);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.label3);
this.groupBox2.Controls.Add(this.label2);
this.groupBox2.Controls.Add(this.label1);
this.groupBox2.Location = new System.Drawing.Point(12, 88);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(560, 161);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
//
// panel8
//
this.panel8.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel8.BackColor = System.Drawing.Color.Pink;
this.panel8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel8.Location = new System.Drawing.Point(470, 111);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(69, 15);
this.panel8.TabIndex = 16;
this.panel8.Click += new System.EventHandler(this.panel8_Click);
//
// panel7
//
this.panel7.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel7.BackColor = System.Drawing.Color.Purple;
this.panel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel7.Location = new System.Drawing.Point(340, 111);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(69, 15);
this.panel7.TabIndex = 15;
this.panel7.Click += new System.EventHandler(this.panel7_Click);
//
// panel6
//
this.panel6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel6.BackColor = System.Drawing.Color.YellowGreen;
this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel6.Location = new System.Drawing.Point(200, 111);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(69, 15);
this.panel6.TabIndex = 14;
this.panel6.Click += new System.EventHandler(this.panel6_Click);
//
// panel5
//
this.panel5.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel5.BackColor = System.Drawing.Color.Blue;
this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel5.Location = new System.Drawing.Point(50, 111);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(69, 15);
this.panel5.TabIndex = 13;
this.panel5.Click += new System.EventHandler(this.panel5_Click);
//
// panel4
//
this.panel4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel4.BackColor = System.Drawing.Color.Green;
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel4.Location = new System.Drawing.Point(470, 41);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(69, 15);
this.panel4.TabIndex = 12;
this.panel4.Click += new System.EventHandler(this.panel4_Click);
//
// panel3
//
this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel3.BackColor = System.Drawing.Color.Yellow;
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel3.Location = new System.Drawing.Point(340, 41);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(69, 15);
this.panel3.TabIndex = 11;
this.panel3.Click += new System.EventHandler(this.panel3_Click);
//
// panel2
//
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel2.BackColor = System.Drawing.Color.Orange;
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Location = new System.Drawing.Point(200, 41);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(69, 15);
this.panel2.TabIndex = 10;
this.panel2.Click += new System.EventHandler(this.panel2_Click);
//
// panel1
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.BackColor = System.Drawing.Color.Red;
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Location = new System.Drawing.Point(50, 41);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(69, 15);
this.panel1.TabIndex = 9;
this.panel1.Click += new System.EventHandler(this.panel1_Click);
//
// label8
//
this.label8.AutoEllipsis = true;
this.label8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label8.Location = new System.Drawing.Point(425, 110);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(45, 16);
this.label8.TabIndex = 8;
//
// label7
//
this.label7.AutoEllipsis = true;
this.label7.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label7.Location = new System.Drawing.Point(296, 110);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(45, 16);
this.label7.TabIndex = 7;
//
// label6
//
this.label6.AutoEllipsis = true;
this.label6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.Location = new System.Drawing.Point(150, 110);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(45, 16);
this.label6.TabIndex = 6;
//
// label5
//
this.label5.AutoEllipsis = true;
this.label5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.Location = new System.Drawing.Point(6, 110);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(45, 16);
this.label5.TabIndex = 5;
//
// label4
//
this.label4.AutoEllipsis = true;
this.label4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(425, 40);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(45, 16);
this.label4.TabIndex = 4;
//
// label3
//
this.label3.AutoEllipsis = true;
this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(296, 40);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(45, 16);
this.label3.TabIndex = 3;
//
// label2
//
this.label2.AutoEllipsis = true;
this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(150, 40);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(45, 16);
this.label2.TabIndex = 2;
//
// label1
//
this.label1.AutoEllipsis = true;
this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(0, 40);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(45, 16);
this.label1.TabIndex = 1;
//
// ChangeColor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(584, 261);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ChangeColor";
this.Load += new System.EventHandler(this.ChangeColor_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
public ChangeColor()
{
InitializeComponent();
InitializeLanguageText();
}
private void InitOtherTools()
{
//
//调色板
//
this.colorsForm1 = new ColorsForm();
this.colorsForm1.StartPosition = FormStartPosition.CenterScreen;
this.colorsForm1.UserPrimaryColorChanged += new ColorEventHandler(this.colorsFormUserPrimaryColorChanged);
this.colorsForm2 = new ColorsForm();
this.colorsForm2.StartPosition = FormStartPosition.CenterScreen;
this.colorsForm2.UserPrimaryColorChanged += new ColorEventHandler(this.colorsFormUserPrimaryColorChanged);
this.colorsForm3 = new ColorsForm();
this.colorsForm3.StartPosition = FormStartPosition.CenterScreen;
this.colorsForm3.UserPrimaryColorChanged += new ColorEventHandler(this.colorsFormUserPrimaryColorChanged);
this.colorsForm4 = new ColorsForm();
this.colorsForm4.StartPosition = FormStartPosition.CenterScreen;
this.colorsForm4.UserPrimaryColorChanged += new ColorEventHandler(this.colorsFormUserPrimaryColorChanged);
this.colorsForm5 = new ColorsForm();
this.colorsForm5.StartPosition = FormStartPosition.CenterScreen;
this.colorsForm5.UserPrimaryColorChanged += new ColorEventHandler(this.colorsFormUserPrimaryColorChanged);
this.colorsForm6 = new ColorsForm();
this.colorsForm6.StartPosition = FormStartPosition.CenterScreen;
this.colorsForm6.UserPrimaryColorChanged += new ColorEventHandler(this.colorsFormUserPrimaryColorChanged);
this.colorsForm7 = new ColorsForm();
this.colorsForm7.StartPosition = FormStartPosition.CenterScreen;
this.colorsForm7.UserPrimaryColorChanged += new ColorEventHandler(this.colorsFormUserPrimaryColorChanged);
this.colorsForm8 = new ColorsForm();
this.colorsForm8.StartPosition = FormStartPosition.CenterScreen;
this.colorsForm8.UserPrimaryColorChanged += new ColorEventHandler(this.colorsFormUserPrimaryColorChanged);
}
private void colorsFormUserPrimaryColorChanged(object sender, ColorEventArgs ce)
{
}
private void panel1_Click(object sender, EventArgs e)
{
this.colorsForm1.UserPrimaryColor = ColorBgra.FromColor(this.panel1.BackColor);
this.colorsForm1.setSaveBtn_Click(new System.EventHandler(this.colorsForm1Changed));
this.colorsForm1.ShowDialog();
}
private void colorsForm1Changed(object sender, EventArgs e)
{
this.panel1.BackColor = this.colorsForm1.UserPrimaryColor.ToColor();
this.colorsForm1.Close();
}
private void panel2_Click(object sender, EventArgs e)
{
this.colorsForm2.UserPrimaryColor = ColorBgra.FromColor(this.panel2.BackColor);
this.colorsForm2.setSaveBtn_Click(new System.EventHandler(this.colorsForm2Changed));
this.colorsForm2.ShowDialog();
}
private void colorsForm2Changed(object sender, EventArgs e)
{
this.panel2.BackColor = this.colorsForm2.UserPrimaryColor.ToColor();
this.colorsForm2.Close();
}
private void panel3_Click(object sender, EventArgs e)
{
this.colorsForm3.UserPrimaryColor = ColorBgra.FromColor(this.panel3.BackColor);
this.colorsForm3.setSaveBtn_Click(new System.EventHandler(this.colorsForm3Changed));
this.colorsForm3.ShowDialog();
}
private void colorsForm3Changed(object sender, EventArgs e)
{
this.panel3.BackColor = this.colorsForm3.UserPrimaryColor.ToColor();
this.colorsForm3.Close();
}
private void panel4_Click(object sender, EventArgs e)
{
this.colorsForm4.UserPrimaryColor = ColorBgra.FromColor(this.panel4.BackColor);
this.colorsForm4.setSaveBtn_Click(new System.EventHandler(this.colorsForm4Changed));
this.colorsForm4.ShowDialog();
}
private void colorsForm4Changed(object sender, EventArgs e)
{
this.panel4.BackColor = this.colorsForm4.UserPrimaryColor.ToColor();
this.colorsForm4.Close();
}
private void panel5_Click(object sender, EventArgs e)
{
this.colorsForm5.UserPrimaryColor = ColorBgra.FromColor(this.panel5.BackColor);
this.colorsForm5.setSaveBtn_Click(new System.EventHandler(this.colorsForm5Changed));
this.colorsForm5.ShowDialog();
}
private void colorsForm5Changed(object sender, EventArgs e)
{
this.panel5.BackColor = this.colorsForm5.UserPrimaryColor.ToColor();
this.colorsForm5.Close();
}
private void panel6_Click(object sender, EventArgs e)
{
this.colorsForm6.UserPrimaryColor = ColorBgra.FromColor(this.panel6.BackColor);
this.colorsForm6.setSaveBtn_Click(new System.EventHandler(this.colorsForm6Changed));
this.colorsForm6.ShowDialog();
}
private void colorsForm6Changed(object sender, EventArgs e)
{
this.panel6.BackColor = this.colorsForm6.UserPrimaryColor.ToColor();
this.colorsForm6.Close();
}
private void panel7_Click(object sender, EventArgs e)
{
this.colorsForm7.UserPrimaryColor = ColorBgra.FromColor(this.panel7.BackColor);
this.colorsForm7.setSaveBtn_Click(new System.EventHandler(this.colorsForm7Changed));
this.colorsForm7.ShowDialog();
}
private void colorsForm7Changed(object sender, EventArgs e)
{
this.panel7.BackColor = this.colorsForm7.UserPrimaryColor.ToColor();
this.colorsForm7.Close();
}
private void panel8_Click(object sender, EventArgs e)
{
this.colorsForm8.UserPrimaryColor = ColorBgra.FromColor(this.panel8.BackColor);
this.colorsForm8.setSaveBtn_Click(new System.EventHandler(this.colorsForm8Changed));
this.colorsForm8.ShowDialog();
}
private void colorsForm8Changed(object sender, EventArgs e)
{
this.panel8.BackColor = this.colorsForm8.UserPrimaryColor.ToColor();
this.colorsForm8.Close();
}
private void button1_Click(object sender, EventArgs e)
{
this.Close();
}
private void button2_Click(object sender, EventArgs e)
{
GrayironDialog.setUpColor1 = panel1.BackColor;
GrayironDialog.setUpColor2 = panel2.BackColor;
GrayironDialog.setUpColor3 = panel3.BackColor;
GrayironDialog.setUpColor4 = panel4.BackColor;
GrayironDialog.setUpColor5 = panel5.BackColor;
GrayironDialog.setUpColor6 = panel6.BackColor;
GrayironDialog.setUpColor7 = panel7.BackColor;
GrayironDialog.setUpColor8 = panel8.BackColor;
this.Close();
}
private void changeColor()
{
if (!GrayironDialog.setUpColor1.IsEmpty)
{
this.panel1.BackColor = GrayironDialog.setUpColor1;
this.panel2.BackColor = GrayironDialog.setUpColor2;
this.panel3.BackColor = GrayironDialog.setUpColor3;
this.panel4.BackColor = GrayironDialog.setUpColor4;
this.panel5.BackColor = GrayironDialog.setUpColor5;
this.panel6.BackColor = GrayironDialog.setUpColor6;
this.panel7.BackColor = GrayironDialog.setUpColor7;
this.panel8.BackColor = GrayironDialog.setUpColor8;
}
}
private void ChangeColor_Load(object sender, EventArgs e)
{
InitOtherTools();
changeColor();
}
}
}