|
|
|
@ -0,0 +1,125 @@ |
|
|
|
|
|
|
|
|
|
namespace ColorPicker |
|
|
|
|
{ |
|
|
|
|
partial class MainForm |
|
|
|
|
{ |
|
|
|
|
/// <summary> |
|
|
|
|
/// 필수 디자이너 변수입니다. |
|
|
|
|
/// </summary> |
|
|
|
|
private System.ComponentModel.IContainer components = null; |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 사용 중인 모든 리소스를 정리합니다. |
|
|
|
|
/// </summary> |
|
|
|
|
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param> |
|
|
|
|
protected override void Dispose(bool disposing) |
|
|
|
|
{ |
|
|
|
|
if (disposing && (components != null)) |
|
|
|
|
{ |
|
|
|
|
components.Dispose(); |
|
|
|
|
} |
|
|
|
|
base.Dispose(disposing); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#region Windows Form 디자이너에서 생성한 코드 |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 디자이너 지원에 필요한 메서드입니다. |
|
|
|
|
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. |
|
|
|
|
/// </summary> |
|
|
|
|
private void InitializeComponent() |
|
|
|
|
{ |
|
|
|
|
this.components = new System.ComponentModel.Container(); |
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
|
|
|
|
this.colorPanel = new System.Windows.Forms.Panel(); |
|
|
|
|
this.pointLabel = new System.Windows.Forms.Label(); |
|
|
|
|
this.rgbLabel = new System.Windows.Forms.Label(); |
|
|
|
|
this.hexLabel = new System.Windows.Forms.Label(); |
|
|
|
|
this.helpLabel = new System.Windows.Forms.Label(); |
|
|
|
|
this.toolTip = new System.Windows.Forms.ToolTip(this.components); |
|
|
|
|
this.SuspendLayout(); |
|
|
|
|
// |
|
|
|
|
// colorPanel |
|
|
|
|
// |
|
|
|
|
this.colorPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
|
this.colorPanel.Location = new System.Drawing.Point(12, 12); |
|
|
|
|
this.colorPanel.Name = "colorPanel"; |
|
|
|
|
this.colorPanel.Size = new System.Drawing.Size(90, 90); |
|
|
|
|
this.colorPanel.TabIndex = 0; |
|
|
|
|
// |
|
|
|
|
// pointLabel |
|
|
|
|
// |
|
|
|
|
this.pointLabel.Location = new System.Drawing.Point(108, 12); |
|
|
|
|
this.pointLabel.Name = "pointLabel"; |
|
|
|
|
this.pointLabel.Size = new System.Drawing.Size(111, 34); |
|
|
|
|
this.pointLabel.TabIndex = 1; |
|
|
|
|
this.pointLabel.Text = "X:\r\nY:\r\n"; |
|
|
|
|
// |
|
|
|
|
// rgbLabel |
|
|
|
|
// |
|
|
|
|
this.rgbLabel.Location = new System.Drawing.Point(108, 56); |
|
|
|
|
this.rgbLabel.Name = "rgbLabel"; |
|
|
|
|
this.rgbLabel.Size = new System.Drawing.Size(74, 46); |
|
|
|
|
this.rgbLabel.TabIndex = 1; |
|
|
|
|
this.rgbLabel.Text = "R: 255\r\nG: 255\r\nB: 255\r\n"; |
|
|
|
|
// |
|
|
|
|
// hexLabel |
|
|
|
|
// |
|
|
|
|
this.hexLabel.Location = new System.Drawing.Point(161, 56); |
|
|
|
|
this.hexLabel.Name = "hexLabel"; |
|
|
|
|
this.hexLabel.Size = new System.Drawing.Size(91, 23); |
|
|
|
|
this.hexLabel.TabIndex = 1; |
|
|
|
|
this.hexLabel.Text = "HEX: #FFFFFF"; |
|
|
|
|
// |
|
|
|
|
// helpLabel |
|
|
|
|
// |
|
|
|
|
this.helpLabel.AutoSize = true; |
|
|
|
|
this.helpLabel.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); |
|
|
|
|
this.helpLabel.Location = new System.Drawing.Point(12, 116); |
|
|
|
|
this.helpLabel.Name = "helpLabel"; |
|
|
|
|
this.helpLabel.Size = new System.Drawing.Size(164, 15); |
|
|
|
|
this.helpLabel.TabIndex = 2; |
|
|
|
|
this.helpLabel.Text = "Pause: Space, Copy: Ctrl+C"; |
|
|
|
|
// |
|
|
|
|
// toolTip |
|
|
|
|
// |
|
|
|
|
this.toolTip.AutoPopDelay = 2000; |
|
|
|
|
this.toolTip.InitialDelay = 500; |
|
|
|
|
this.toolTip.ReshowDelay = 100; |
|
|
|
|
// |
|
|
|
|
// MainForm |
|
|
|
|
// |
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); |
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
|
|
this.ClientSize = new System.Drawing.Size(264, 140); |
|
|
|
|
this.Controls.Add(this.helpLabel); |
|
|
|
|
this.Controls.Add(this.hexLabel); |
|
|
|
|
this.Controls.Add(this.rgbLabel); |
|
|
|
|
this.Controls.Add(this.pointLabel); |
|
|
|
|
this.Controls.Add(this.colorPanel); |
|
|
|
|
this.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); |
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
|
|
|
this.MaximizeBox = false; |
|
|
|
|
this.MinimizeBox = false; |
|
|
|
|
this.Name = "MainForm"; |
|
|
|
|
this.Text = "ColorPicker"; |
|
|
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainForm_KeyDown); |
|
|
|
|
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MainForm_KeyPress); |
|
|
|
|
this.ResumeLayout(false); |
|
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Panel colorPanel; |
|
|
|
|
private System.Windows.Forms.Label pointLabel; |
|
|
|
|
private System.Windows.Forms.Label rgbLabel; |
|
|
|
|
private System.Windows.Forms.Label hexLabel; |
|
|
|
|
private System.Windows.Forms.Label helpLabel; |
|
|
|
|
private System.Windows.Forms.ToolTip toolTip; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|