2008-05-29 11:54:45 +00:00
|
|
|
namespace CodeImp.DoomBuilder.Controls
|
2007-10-20 01:04:47 +00:00
|
|
|
{
|
|
|
|
partial class ColorControl
|
|
|
|
{
|
|
|
|
/// <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 Component 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.label = new System.Windows.Forms.Label();
|
|
|
|
this.panel = new System.Windows.Forms.Panel();
|
|
|
|
this.button = new System.Windows.Forms.Button();
|
|
|
|
this.dialog = new System.Windows.Forms.ColorDialog();
|
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
|
|
|
// label
|
|
|
|
//
|
|
|
|
this.label.Location = new System.Drawing.Point(-3, 0);
|
|
|
|
this.label.Name = "label";
|
|
|
|
this.label.Size = new System.Drawing.Size(175, 23);
|
|
|
|
this.label.TabIndex = 0;
|
|
|
|
this.label.Text = "Color name:";
|
|
|
|
this.label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
|
//
|
|
|
|
// panel
|
|
|
|
//
|
|
|
|
this.panel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
|
|
|
this.panel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
|
this.panel.Location = new System.Drawing.Point(178, 0);
|
|
|
|
this.panel.Name = "panel";
|
|
|
|
this.panel.Size = new System.Drawing.Size(27, 23);
|
|
|
|
this.panel.TabIndex = 1;
|
|
|
|
//
|
|
|
|
// button
|
|
|
|
//
|
2007-10-20 10:27:12 +00:00
|
|
|
this.button.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
|
|
|
this.button.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
2007-10-20 01:04:47 +00:00
|
|
|
this.button.Image = global::CodeImp.DoomBuilder.Properties.Resources.ColorPick;
|
|
|
|
this.button.Location = new System.Drawing.Point(322, 0);
|
|
|
|
this.button.Name = "button";
|
2007-10-20 10:27:12 +00:00
|
|
|
this.button.Padding = new System.Windows.Forms.Padding(0, 0, 2, 3);
|
2007-10-20 01:04:47 +00:00
|
|
|
this.button.Size = new System.Drawing.Size(26, 23);
|
|
|
|
this.button.TabIndex = 2;
|
|
|
|
this.button.UseVisualStyleBackColor = true;
|
|
|
|
this.button.Click += new System.EventHandler(this.button_Click);
|
2007-10-20 10:27:12 +00:00
|
|
|
this.button.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button_MouseDown);
|
|
|
|
this.button.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove);
|
|
|
|
this.button.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button_MouseUp);
|
2007-10-20 01:04:47 +00:00
|
|
|
//
|
|
|
|
// dialog
|
|
|
|
//
|
|
|
|
this.dialog.FullOpen = true;
|
|
|
|
//
|
|
|
|
// ColorControl
|
|
|
|
//
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
|
|
this.BackColor = System.Drawing.SystemColors.Control;
|
|
|
|
this.Controls.Add(this.button);
|
|
|
|
this.Controls.Add(this.panel);
|
|
|
|
this.Controls.Add(this.label);
|
2007-10-24 17:25:03 +00:00
|
|
|
this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
2007-10-20 01:04:47 +00:00
|
|
|
this.MaximumSize = new System.Drawing.Size(10000, 23);
|
|
|
|
this.MinimumSize = new System.Drawing.Size(100, 23);
|
|
|
|
this.Name = "ColorControl";
|
|
|
|
this.Size = new System.Drawing.Size(348, 23);
|
|
|
|
this.Resize += new System.EventHandler(this.ColorControl_Resize);
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
private System.Windows.Forms.Label label;
|
|
|
|
private System.Windows.Forms.Panel panel;
|
|
|
|
private System.Windows.Forms.Button button;
|
|
|
|
private System.Windows.Forms.ColorDialog dialog;
|
|
|
|
}
|
|
|
|
}
|