691 lines
40 KiB
C#
691 lines
40 KiB
C#
namespace Paint_2
|
|
{
|
|
partial class PaintForm
|
|
{
|
|
/// <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);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.tbxProjectName = new System.Windows.Forms.TextBox();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.canvas = new System.Windows.Forms.PictureBox();
|
|
this.btnSaveCopy = new System.Windows.Forms.Button();
|
|
this.lblSelectedColor = new System.Windows.Forms.Label();
|
|
this.panelFile = new System.Windows.Forms.Panel();
|
|
this.btnLoadFile = new System.Windows.Forms.Button();
|
|
this.panelDrawing = new System.Windows.Forms.Panel();
|
|
this.lblHeight = new System.Windows.Forms.Label();
|
|
this.lblWidth = new System.Windows.Forms.Label();
|
|
this.panelSelectedColor = new System.Windows.Forms.Panel();
|
|
this.btnSelectedColor = new System.Windows.Forms.Button();
|
|
this.label14 = new System.Windows.Forms.Label();
|
|
this.panelHoverColor = new System.Windows.Forms.Panel();
|
|
this.btnHoveringColor = new System.Windows.Forms.Button();
|
|
this.lblHoveringColor = new System.Windows.Forms.Label();
|
|
this.label15 = new System.Windows.Forms.Label();
|
|
this.tmrRefresh = new System.Windows.Forms.Timer(this.components);
|
|
this.nupPencilWidth = new System.Windows.Forms.NumericUpDown();
|
|
this.btnColorHistory4 = new System.Windows.Forms.Button();
|
|
this.btnColorHistory3 = new System.Windows.Forms.Button();
|
|
this.btnColorHistory2 = new System.Windows.Forms.Button();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.btnColorHistory1 = new System.Windows.Forms.Button();
|
|
this.btnClear = new System.Windows.Forms.Button();
|
|
this.panelTools = new System.Windows.Forms.Panel();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.btnRandomColor = new System.Windows.Forms.Button();
|
|
this.btnColorPicker = new System.Windows.Forms.Button();
|
|
this.btnRedo = new System.Windows.Forms.Button();
|
|
this.btnUndo = new System.Windows.Forms.Button();
|
|
this.lsbTools = new System.Windows.Forms.ListBox();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.panel3 = new System.Windows.Forms.Panel();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.listBox1 = new System.Windows.Forms.ListBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.canvas)).BeginInit();
|
|
this.panelFile.SuspendLayout();
|
|
this.panelDrawing.SuspendLayout();
|
|
this.panelSelectedColor.SuspendLayout();
|
|
this.panelHoverColor.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupPencilWidth)).BeginInit();
|
|
this.panelTools.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
this.panel1.SuspendLayout();
|
|
this.panel2.SuspendLayout();
|
|
this.panel3.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// tbxProjectName
|
|
//
|
|
this.tbxProjectName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.tbxProjectName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.tbxProjectName.Font = new System.Drawing.Font("Verdana", 15F);
|
|
this.tbxProjectName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.tbxProjectName.Location = new System.Drawing.Point(11, 5);
|
|
this.tbxProjectName.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.tbxProjectName.Name = "tbxProjectName";
|
|
this.tbxProjectName.Size = new System.Drawing.Size(253, 38);
|
|
this.tbxProjectName.TabIndex = 0;
|
|
this.tbxProjectName.Text = "Untitled Project";
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnSave.Location = new System.Drawing.Point(315, 166);
|
|
this.btnSave.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(82, 39);
|
|
this.btnSave.TabIndex = 1;
|
|
this.btnSave.Text = "Save";
|
|
this.btnSave.UseVisualStyleBackColor = false;
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// canvas
|
|
//
|
|
this.canvas.BackColor = System.Drawing.Color.Transparent;
|
|
this.canvas.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.canvas.Location = new System.Drawing.Point(11, 67);
|
|
this.canvas.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.canvas.Name = "canvas";
|
|
this.canvas.Size = new System.Drawing.Size(900, 500);
|
|
this.canvas.TabIndex = 2;
|
|
this.canvas.TabStop = false;
|
|
this.canvas.MouseDown += new System.Windows.Forms.MouseEventHandler(this.canvas_MouseDown);
|
|
this.canvas.MouseUp += new System.Windows.Forms.MouseEventHandler(this.canvas_MouseUp);
|
|
//
|
|
// btnSaveCopy
|
|
//
|
|
this.btnSaveCopy.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.btnSaveCopy.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnSaveCopy.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnSaveCopy.Location = new System.Drawing.Point(401, 166);
|
|
this.btnSaveCopy.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.btnSaveCopy.Name = "btnSaveCopy";
|
|
this.btnSaveCopy.Size = new System.Drawing.Size(135, 39);
|
|
this.btnSaveCopy.TabIndex = 2;
|
|
this.btnSaveCopy.Text = "Save a copy";
|
|
this.btnSaveCopy.UseVisualStyleBackColor = false;
|
|
this.btnSaveCopy.Click += new System.EventHandler(this.btnSaveCopy_Click);
|
|
//
|
|
// lblSelectedColor
|
|
//
|
|
this.lblSelectedColor.AutoSize = true;
|
|
this.lblSelectedColor.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.lblSelectedColor.Location = new System.Drawing.Point(7, 28);
|
|
this.lblSelectedColor.Name = "lblSelectedColor";
|
|
this.lblSelectedColor.Size = new System.Drawing.Size(288, 20);
|
|
this.lblSelectedColor.TabIndex = 1;
|
|
this.lblSelectedColor.Text = "Hex:FFFFFF R:255 G:255 B:255";
|
|
//
|
|
// panelFile
|
|
//
|
|
this.panelFile.BackColor = System.Drawing.Color.Transparent;
|
|
this.panelFile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panelFile.Controls.Add(this.tbxProjectName);
|
|
this.panelFile.Location = new System.Drawing.Point(12, 6);
|
|
this.panelFile.Name = "panelFile";
|
|
this.panelFile.Size = new System.Drawing.Size(644, 55);
|
|
this.panelFile.TabIndex = 8;
|
|
//
|
|
// btnLoadFile
|
|
//
|
|
this.btnLoadFile.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.btnLoadFile.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnLoadFile.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnLoadFile.Location = new System.Drawing.Point(540, 166);
|
|
this.btnLoadFile.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.btnLoadFile.Name = "btnLoadFile";
|
|
this.btnLoadFile.Size = new System.Drawing.Size(143, 39);
|
|
this.btnLoadFile.TabIndex = 3;
|
|
this.btnLoadFile.Text = "Load Project";
|
|
this.btnLoadFile.UseVisualStyleBackColor = false;
|
|
//
|
|
// panelDrawing
|
|
//
|
|
this.panelDrawing.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.panelDrawing.BackColor = System.Drawing.Color.Transparent;
|
|
this.panelDrawing.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panelDrawing.Controls.Add(this.lblHeight);
|
|
this.panelDrawing.Controls.Add(this.lblWidth);
|
|
this.panelDrawing.Location = new System.Drawing.Point(829, 575);
|
|
this.panelDrawing.Name = "panelDrawing";
|
|
this.panelDrawing.Size = new System.Drawing.Size(82, 72);
|
|
this.panelDrawing.TabIndex = 30;
|
|
//
|
|
// lblHeight
|
|
//
|
|
this.lblHeight.AutoSize = true;
|
|
this.lblHeight.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.lblHeight.Location = new System.Drawing.Point(3, 40);
|
|
this.lblHeight.Name = "lblHeight";
|
|
this.lblHeight.Size = new System.Drawing.Size(74, 20);
|
|
this.lblHeight.TabIndex = 34;
|
|
this.lblHeight.Text = "H:2000";
|
|
//
|
|
// lblWidth
|
|
//
|
|
this.lblWidth.AutoSize = true;
|
|
this.lblWidth.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.lblWidth.Location = new System.Drawing.Point(3, 8);
|
|
this.lblWidth.Name = "lblWidth";
|
|
this.lblWidth.Size = new System.Drawing.Size(77, 20);
|
|
this.lblWidth.TabIndex = 33;
|
|
this.lblWidth.Text = "W:2000";
|
|
//
|
|
// panelSelectedColor
|
|
//
|
|
this.panelSelectedColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.panelSelectedColor.BackColor = System.Drawing.Color.Transparent;
|
|
this.panelSelectedColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panelSelectedColor.Controls.Add(this.btnSelectedColor);
|
|
this.panelSelectedColor.Controls.Add(this.lblSelectedColor);
|
|
this.panelSelectedColor.Controls.Add(this.label14);
|
|
this.panelSelectedColor.Location = new System.Drawing.Point(424, 575);
|
|
this.panelSelectedColor.Name = "panelSelectedColor";
|
|
this.panelSelectedColor.Size = new System.Drawing.Size(399, 72);
|
|
this.panelSelectedColor.TabIndex = 31;
|
|
//
|
|
// btnSelectedColor
|
|
//
|
|
this.btnSelectedColor.BackColor = System.Drawing.Color.Green;
|
|
this.btnSelectedColor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnSelectedColor.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnSelectedColor.Location = new System.Drawing.Point(327, 6);
|
|
this.btnSelectedColor.Name = "btnSelectedColor";
|
|
this.btnSelectedColor.Size = new System.Drawing.Size(60, 60);
|
|
this.btnSelectedColor.TabIndex = 31;
|
|
this.btnSelectedColor.UseVisualStyleBackColor = false;
|
|
//
|
|
// label14
|
|
//
|
|
this.label14.AutoSize = true;
|
|
this.label14.Font = new System.Drawing.Font("Cascadia Code", 10F);
|
|
this.label14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.label14.Location = new System.Drawing.Point(7, 6);
|
|
this.label14.Name = "label14";
|
|
this.label14.Size = new System.Drawing.Size(150, 22);
|
|
this.label14.TabIndex = 29;
|
|
this.label14.Text = "Selected color";
|
|
//
|
|
// panelHoverColor
|
|
//
|
|
this.panelHoverColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.panelHoverColor.BackColor = System.Drawing.Color.Transparent;
|
|
this.panelHoverColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panelHoverColor.Controls.Add(this.btnHoveringColor);
|
|
this.panelHoverColor.Controls.Add(this.lblHoveringColor);
|
|
this.panelHoverColor.Controls.Add(this.label15);
|
|
this.panelHoverColor.Location = new System.Drawing.Point(11, 575);
|
|
this.panelHoverColor.Name = "panelHoverColor";
|
|
this.panelHoverColor.Size = new System.Drawing.Size(407, 72);
|
|
this.panelHoverColor.TabIndex = 32;
|
|
//
|
|
// btnHoveringColor
|
|
//
|
|
this.btnHoveringColor.BackColor = System.Drawing.Color.Green;
|
|
this.btnHoveringColor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnHoveringColor.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnHoveringColor.Location = new System.Drawing.Point(335, 6);
|
|
this.btnHoveringColor.Name = "btnHoveringColor";
|
|
this.btnHoveringColor.Size = new System.Drawing.Size(60, 60);
|
|
this.btnHoveringColor.TabIndex = 30;
|
|
this.btnHoveringColor.UseVisualStyleBackColor = false;
|
|
//
|
|
// lblHoveringColor
|
|
//
|
|
this.lblHoveringColor.AutoSize = true;
|
|
this.lblHoveringColor.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.lblHoveringColor.Location = new System.Drawing.Point(8, 28);
|
|
this.lblHoveringColor.Name = "lblHoveringColor";
|
|
this.lblHoveringColor.Size = new System.Drawing.Size(288, 20);
|
|
this.lblHoveringColor.TabIndex = 1;
|
|
this.lblHoveringColor.Text = "Hex:FFFFFF R:255 G:255 B:255";
|
|
//
|
|
// label15
|
|
//
|
|
this.label15.AutoSize = true;
|
|
this.label15.Font = new System.Drawing.Font("Cascadia Code", 10F);
|
|
this.label15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.label15.Location = new System.Drawing.Point(8, 6);
|
|
this.label15.Name = "label15";
|
|
this.label15.Size = new System.Drawing.Size(150, 22);
|
|
this.label15.TabIndex = 29;
|
|
this.label15.Text = "Hovering color";
|
|
//
|
|
// tmrRefresh
|
|
//
|
|
this.tmrRefresh.Interval = 1;
|
|
this.tmrRefresh.Tick += new System.EventHandler(this.tmrRefresh_Tick);
|
|
//
|
|
// nupPencilWidth
|
|
//
|
|
this.nupPencilWidth.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.nupPencilWidth.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.nupPencilWidth.Font = new System.Drawing.Font("Cascadia Code", 15F);
|
|
this.nupPencilWidth.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.nupPencilWidth.Location = new System.Drawing.Point(118, 152);
|
|
this.nupPencilWidth.Maximum = new decimal(new int[] {
|
|
255,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nupPencilWidth.Name = "nupPencilWidth";
|
|
this.nupPencilWidth.Size = new System.Drawing.Size(71, 33);
|
|
this.nupPencilWidth.TabIndex = 17;
|
|
this.nupPencilWidth.Value = new decimal(new int[] {
|
|
10,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nupPencilWidth.ValueChanged += new System.EventHandler(this.nupPencilWidth_ValueChanged);
|
|
//
|
|
// btnColorHistory4
|
|
//
|
|
this.btnColorHistory4.BackColor = System.Drawing.Color.Red;
|
|
this.btnColorHistory4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnColorHistory4.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnColorHistory4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnColorHistory4.Location = new System.Drawing.Point(148, 26);
|
|
this.btnColorHistory4.Name = "btnColorHistory4";
|
|
this.btnColorHistory4.Size = new System.Drawing.Size(40, 40);
|
|
this.btnColorHistory4.TabIndex = 4;
|
|
this.btnColorHistory4.UseVisualStyleBackColor = false;
|
|
this.btnColorHistory4.Click += new System.EventHandler(this.BtnColor_Click);
|
|
//
|
|
// btnColorHistory3
|
|
//
|
|
this.btnColorHistory3.BackColor = System.Drawing.Color.Red;
|
|
this.btnColorHistory3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnColorHistory3.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnColorHistory3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnColorHistory3.Location = new System.Drawing.Point(102, 26);
|
|
this.btnColorHistory3.Name = "btnColorHistory3";
|
|
this.btnColorHistory3.Size = new System.Drawing.Size(40, 40);
|
|
this.btnColorHistory3.TabIndex = 3;
|
|
this.btnColorHistory3.UseVisualStyleBackColor = false;
|
|
this.btnColorHistory3.Click += new System.EventHandler(this.BtnColor_Click);
|
|
//
|
|
// btnColorHistory2
|
|
//
|
|
this.btnColorHistory2.BackColor = System.Drawing.Color.Red;
|
|
this.btnColorHistory2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnColorHistory2.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnColorHistory2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnColorHistory2.Location = new System.Drawing.Point(56, 26);
|
|
this.btnColorHistory2.Name = "btnColorHistory2";
|
|
this.btnColorHistory2.Size = new System.Drawing.Size(40, 40);
|
|
this.btnColorHistory2.TabIndex = 2;
|
|
this.btnColorHistory2.UseVisualStyleBackColor = false;
|
|
this.btnColorHistory2.Click += new System.EventHandler(this.BtnColor_Click);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.label4.Location = new System.Drawing.Point(7, 3);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(135, 20);
|
|
this.label4.TabIndex = 1;
|
|
this.label4.Text = "Colors history";
|
|
//
|
|
// btnColorHistory1
|
|
//
|
|
this.btnColorHistory1.BackColor = System.Drawing.Color.Green;
|
|
this.btnColorHistory1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnColorHistory1.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnColorHistory1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnColorHistory1.Location = new System.Drawing.Point(10, 26);
|
|
this.btnColorHistory1.Name = "btnColorHistory1";
|
|
this.btnColorHistory1.Size = new System.Drawing.Size(40, 40);
|
|
this.btnColorHistory1.TabIndex = 0;
|
|
this.btnColorHistory1.UseVisualStyleBackColor = false;
|
|
this.btnColorHistory1.Click += new System.EventHandler(this.BtnColor_Click);
|
|
//
|
|
// btnClear
|
|
//
|
|
this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnClear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.btnClear.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnClear.Font = new System.Drawing.Font("Cascadia Code", 10.2F);
|
|
this.btnClear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnClear.Location = new System.Drawing.Point(4, 38);
|
|
this.btnClear.Name = "btnClear";
|
|
this.btnClear.Size = new System.Drawing.Size(190, 29);
|
|
this.btnClear.TabIndex = 27;
|
|
this.btnClear.Text = "Clear";
|
|
this.btnClear.UseVisualStyleBackColor = false;
|
|
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
|
//
|
|
// panelTools
|
|
//
|
|
this.panelTools.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.panelTools.BackColor = System.Drawing.Color.Transparent;
|
|
this.panelTools.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panelTools.Controls.Add(this.pictureBox1);
|
|
this.panelTools.Controls.Add(this.btnRandomColor);
|
|
this.panelTools.Controls.Add(this.btnColorPicker);
|
|
this.panelTools.Controls.Add(this.btnColorHistory1);
|
|
this.panelTools.Controls.Add(this.label4);
|
|
this.panelTools.Controls.Add(this.btnColorHistory2);
|
|
this.panelTools.Controls.Add(this.btnColorHistory3);
|
|
this.panelTools.Controls.Add(this.btnColorHistory4);
|
|
this.panelTools.Controls.Add(this.nupPencilWidth);
|
|
this.panelTools.Location = new System.Drawing.Point(920, 6);
|
|
this.panelTools.Name = "panelTools";
|
|
this.panelTools.Size = new System.Drawing.Size(200, 199);
|
|
this.panelTools.TabIndex = 31;
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.Location = new System.Drawing.Point(10, 152);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(101, 33);
|
|
this.pictureBox1.TabIndex = 35;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// btnRandomColor
|
|
//
|
|
this.btnRandomColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.btnRandomColor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnRandomColor.Font = new System.Drawing.Font("Cascadia Code", 10.2F);
|
|
this.btnRandomColor.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnRandomColor.Location = new System.Drawing.Point(11, 113);
|
|
this.btnRandomColor.Name = "btnRandomColor";
|
|
this.btnRandomColor.Size = new System.Drawing.Size(178, 33);
|
|
this.btnRandomColor.TabIndex = 34;
|
|
this.btnRandomColor.Text = "Random ";
|
|
this.btnRandomColor.UseVisualStyleBackColor = false;
|
|
this.btnRandomColor.Click += new System.EventHandler(this.btnRandomColor_Click);
|
|
//
|
|
// btnColorPicker
|
|
//
|
|
this.btnColorPicker.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.btnColorPicker.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnColorPicker.Font = new System.Drawing.Font("Cascadia Code", 10.2F);
|
|
this.btnColorPicker.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnColorPicker.Location = new System.Drawing.Point(10, 72);
|
|
this.btnColorPicker.Name = "btnColorPicker";
|
|
this.btnColorPicker.Size = new System.Drawing.Size(177, 35);
|
|
this.btnColorPicker.TabIndex = 33;
|
|
this.btnColorPicker.Text = "ColorPicker";
|
|
this.btnColorPicker.UseVisualStyleBackColor = false;
|
|
this.btnColorPicker.Click += new System.EventHandler(this.btnColorPicker_Click);
|
|
//
|
|
// btnRedo
|
|
//
|
|
this.btnRedo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.btnRedo.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnRedo.Font = new System.Drawing.Font("Cascadia Code", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnRedo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnRedo.Location = new System.Drawing.Point(3, 6);
|
|
this.btnRedo.Name = "btnRedo";
|
|
this.btnRedo.Size = new System.Drawing.Size(90, 28);
|
|
this.btnRedo.TabIndex = 36;
|
|
this.btnRedo.Text = "Redo";
|
|
this.btnRedo.UseVisualStyleBackColor = false;
|
|
this.btnRedo.Click += new System.EventHandler(this.btnRedo_Click);
|
|
//
|
|
// btnUndo
|
|
//
|
|
this.btnUndo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.btnUndo.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.btnUndo.Font = new System.Drawing.Font("Cascadia Code", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnUndo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.btnUndo.Location = new System.Drawing.Point(104, 6);
|
|
this.btnUndo.Name = "btnUndo";
|
|
this.btnUndo.Size = new System.Drawing.Size(90, 28);
|
|
this.btnUndo.TabIndex = 35;
|
|
this.btnUndo.Text = "Undo";
|
|
this.btnUndo.UseVisualStyleBackColor = false;
|
|
this.btnUndo.Click += new System.EventHandler(this.btnUndo_Click);
|
|
//
|
|
// lsbTools
|
|
//
|
|
this.lsbTools.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.lsbTools.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.lsbTools.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.lsbTools.FormattingEnabled = true;
|
|
this.lsbTools.ItemHeight = 20;
|
|
this.lsbTools.Location = new System.Drawing.Point(10, 33);
|
|
this.lsbTools.Name = "lsbTools";
|
|
this.lsbTools.Size = new System.Drawing.Size(179, 122);
|
|
this.lsbTools.TabIndex = 32;
|
|
this.lsbTools.SelectedIndexChanged += new System.EventHandler(this.lsbTools_SelectedIndexChanged);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
|
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panel1.Controls.Add(this.btnClear);
|
|
this.panel1.Controls.Add(this.btnRedo);
|
|
this.panel1.Controls.Add(this.btnUndo);
|
|
this.panel1.Location = new System.Drawing.Point(920, 575);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(200, 72);
|
|
this.panel1.TabIndex = 35;
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.panel2.BackColor = System.Drawing.Color.Transparent;
|
|
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panel2.Controls.Add(this.label1);
|
|
this.panel2.Controls.Add(this.button2);
|
|
this.panel2.Controls.Add(this.lsbTools);
|
|
this.panel2.Location = new System.Drawing.Point(920, 211);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(200, 175);
|
|
this.panel2.TabIndex = 36;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.label1.Location = new System.Drawing.Point(8, 10);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(108, 20);
|
|
this.label1.TabIndex = 36;
|
|
this.label1.Text = "Paint tools";
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41)))));
|
|
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.button2.Font = new System.Drawing.Font("Cascadia Code", 10.2F);
|
|
this.button2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.button2.Location = new System.Drawing.Point(9, -195);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(177, 35);
|
|
this.button2.TabIndex = 33;
|
|
this.button2.Text = "ColorPicker";
|
|
this.button2.UseVisualStyleBackColor = false;
|
|
//
|
|
// panel3
|
|
//
|
|
this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.panel3.BackColor = System.Drawing.Color.Transparent;
|
|
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panel3.Controls.Add(this.label3);
|
|
this.panel3.Controls.Add(this.label2);
|
|
this.panel3.Controls.Add(this.button1);
|
|
this.panel3.Controls.Add(this.listBox1);
|
|
this.panel3.Location = new System.Drawing.Point(920, 392);
|
|
this.panel3.Name = "panel3";
|
|
this.panel3.Size = new System.Drawing.Size(200, 175);
|
|
this.panel3.TabIndex = 37;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.label3.Location = new System.Drawing.Point(8, 10);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(135, 20);
|
|
this.label3.TabIndex = 37;
|
|
this.label3.Text = "Drawing Layers";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label2.Location = new System.Drawing.Point(8, 10);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(0, 20);
|
|
this.label2.TabIndex = 36;
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41)))));
|
|
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
this.button1.Font = new System.Drawing.Font("Cascadia Code", 10.2F);
|
|
this.button1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.button1.Location = new System.Drawing.Point(9, -195);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(177, 35);
|
|
this.button1.TabIndex = 33;
|
|
this.button1.Text = "ColorPicker";
|
|
this.button1.UseVisualStyleBackColor = false;
|
|
//
|
|
// listBox1
|
|
//
|
|
this.listBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(59)))), ((int)(((byte)(59)))));
|
|
this.listBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.listBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
|
this.listBox1.FormattingEnabled = true;
|
|
this.listBox1.ItemHeight = 20;
|
|
this.listBox1.Location = new System.Drawing.Point(10, 33);
|
|
this.listBox1.Name = "listBox1";
|
|
this.listBox1.Size = new System.Drawing.Size(179, 122);
|
|
this.listBox1.TabIndex = 32;
|
|
//
|
|
// PaintForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(34)))), ((int)(((byte)(34)))));
|
|
this.ClientSize = new System.Drawing.Size(1132, 655);
|
|
this.Controls.Add(this.btnLoadFile);
|
|
this.Controls.Add(this.panel3);
|
|
this.Controls.Add(this.btnSaveCopy);
|
|
this.Controls.Add(this.panel2);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.panelHoverColor);
|
|
this.Controls.Add(this.panelSelectedColor);
|
|
this.Controls.Add(this.panelTools);
|
|
this.Controls.Add(this.panelDrawing);
|
|
this.Controls.Add(this.panelFile);
|
|
this.Controls.Add(this.canvas);
|
|
this.DoubleBuffered = true;
|
|
this.Font = new System.Drawing.Font("Verdana", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
|
this.Name = "PaintForm";
|
|
this.Text = "Paint 2";
|
|
this.Load += new System.EventHandler(this.PaintForm_Load);
|
|
this.Resize += new System.EventHandler(this.PaintForm_Resize);
|
|
((System.ComponentModel.ISupportInitialize)(this.canvas)).EndInit();
|
|
this.panelFile.ResumeLayout(false);
|
|
this.panelFile.PerformLayout();
|
|
this.panelDrawing.ResumeLayout(false);
|
|
this.panelDrawing.PerformLayout();
|
|
this.panelSelectedColor.ResumeLayout(false);
|
|
this.panelSelectedColor.PerformLayout();
|
|
this.panelHoverColor.ResumeLayout(false);
|
|
this.panelHoverColor.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupPencilWidth)).EndInit();
|
|
this.panelTools.ResumeLayout(false);
|
|
this.panelTools.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel2.ResumeLayout(false);
|
|
this.panel2.PerformLayout();
|
|
this.panel3.ResumeLayout(false);
|
|
this.panel3.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox tbxProjectName;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.PictureBox canvas;
|
|
private System.Windows.Forms.Button btnSaveCopy;
|
|
private System.Windows.Forms.Label lblSelectedColor;
|
|
private System.Windows.Forms.Panel panelFile;
|
|
private System.Windows.Forms.Panel panelDrawing;
|
|
private System.Windows.Forms.Panel panelSelectedColor;
|
|
private System.Windows.Forms.Label label14;
|
|
private System.Windows.Forms.Panel panelHoverColor;
|
|
private System.Windows.Forms.Label lblHoveringColor;
|
|
private System.Windows.Forms.Label label15;
|
|
private System.Windows.Forms.Timer tmrRefresh;
|
|
private System.Windows.Forms.Button btnHoveringColor;
|
|
private System.Windows.Forms.Button btnSelectedColor;
|
|
private System.Windows.Forms.NumericUpDown nupPencilWidth;
|
|
private System.Windows.Forms.Button btnColorHistory4;
|
|
private System.Windows.Forms.Button btnColorHistory3;
|
|
private System.Windows.Forms.Button btnColorHistory2;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Button btnColorHistory1;
|
|
private System.Windows.Forms.Button btnClear;
|
|
private System.Windows.Forms.Panel panelTools;
|
|
private System.Windows.Forms.ListBox lsbTools;
|
|
private System.Windows.Forms.Label lblHeight;
|
|
private System.Windows.Forms.Label lblWidth;
|
|
private System.Windows.Forms.Button btnRandomColor;
|
|
private System.Windows.Forms.Button btnUndo;
|
|
private System.Windows.Forms.Button btnRedo;
|
|
private System.Windows.Forms.Button btnColorPicker;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.Panel panel3;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.ListBox listBox1;
|
|
private System.Windows.Forms.Button btnLoadFile;
|
|
}
|
|
}
|
|
|