243 lines
9.5 KiB
C#
243 lines
9.5 KiB
C#
namespace Tanshu.Common.KeyboardControl
|
|
{
|
|
partial class NumpadControl
|
|
{
|
|
/// <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.btn7 = new UnselectableButton();
|
|
this.btn5 = new UnselectableButton();
|
|
this.btn4 = new UnselectableButton();
|
|
this.btn6 = new UnselectableButton();
|
|
this.btn2 = new UnselectableButton();
|
|
this.btn1 = new UnselectableButton();
|
|
this.btn3 = new UnselectableButton();
|
|
this.btn0 = new UnselectableButton();
|
|
this.btnOk = new UnselectableButton();
|
|
this.btnDot = new UnselectableButton();
|
|
this.btnDel = new UnselectableButton();
|
|
this.btn8 = new UnselectableButton();
|
|
this.btn9 = new UnselectableButton();
|
|
this.btnEsc = new UnselectableButton();
|
|
this.SuspendLayout();
|
|
//
|
|
// btn7
|
|
//
|
|
this.btn7.Location = new System.Drawing.Point(3, 3);
|
|
this.btn7.Name = "btn7";
|
|
this.btn7.Size = new System.Drawing.Size(50, 50);
|
|
this.btn7.TabIndex = 0;
|
|
this.btn7.TabStop = false;
|
|
this.btn7.Text = "7";
|
|
this.btn7.UseVisualStyleBackColor = true;
|
|
this.btn7.Click += new System.EventHandler(this.btn7_Click);
|
|
//
|
|
// btn5
|
|
//
|
|
this.btn5.Location = new System.Drawing.Point(59, 59);
|
|
this.btn5.Name = "btn5";
|
|
this.btn5.Size = new System.Drawing.Size(50, 50);
|
|
this.btn5.TabIndex = 1;
|
|
this.btn5.TabStop = false;
|
|
this.btn5.Text = "5";
|
|
this.btn5.UseVisualStyleBackColor = true;
|
|
this.btn5.Click += new System.EventHandler(this.btn5_Click);
|
|
//
|
|
// btn4
|
|
//
|
|
this.btn4.Location = new System.Drawing.Point(3, 59);
|
|
this.btn4.Name = "btn4";
|
|
this.btn4.Size = new System.Drawing.Size(50, 50);
|
|
this.btn4.TabIndex = 2;
|
|
this.btn4.TabStop = false;
|
|
this.btn4.Text = "4";
|
|
this.btn4.UseVisualStyleBackColor = true;
|
|
this.btn4.Click += new System.EventHandler(this.btn4_Click);
|
|
//
|
|
// btn6
|
|
//
|
|
this.btn6.Location = new System.Drawing.Point(115, 59);
|
|
this.btn6.Name = "btn6";
|
|
this.btn6.Size = new System.Drawing.Size(50, 50);
|
|
this.btn6.TabIndex = 3;
|
|
this.btn6.TabStop = false;
|
|
this.btn6.Text = "6";
|
|
this.btn6.UseVisualStyleBackColor = true;
|
|
this.btn6.Click += new System.EventHandler(this.btn6_Click);
|
|
//
|
|
// btn2
|
|
//
|
|
this.btn2.Location = new System.Drawing.Point(59, 115);
|
|
this.btn2.Name = "btn2";
|
|
this.btn2.Size = new System.Drawing.Size(50, 50);
|
|
this.btn2.TabIndex = 4;
|
|
this.btn2.TabStop = false;
|
|
this.btn2.Text = "2";
|
|
this.btn2.UseVisualStyleBackColor = true;
|
|
this.btn2.Click += new System.EventHandler(this.btn2_Click);
|
|
//
|
|
// btn1
|
|
//
|
|
this.btn1.Location = new System.Drawing.Point(3, 115);
|
|
this.btn1.Name = "btn1";
|
|
this.btn1.Size = new System.Drawing.Size(50, 50);
|
|
this.btn1.TabIndex = 5;
|
|
this.btn1.TabStop = false;
|
|
this.btn1.Text = "1";
|
|
this.btn1.UseVisualStyleBackColor = true;
|
|
this.btn1.Click += new System.EventHandler(this.btn1_Click);
|
|
//
|
|
// btn3
|
|
//
|
|
this.btn3.Location = new System.Drawing.Point(115, 115);
|
|
this.btn3.Name = "btn3";
|
|
this.btn3.Size = new System.Drawing.Size(50, 50);
|
|
this.btn3.TabIndex = 6;
|
|
this.btn3.TabStop = false;
|
|
this.btn3.Text = "3";
|
|
this.btn3.UseVisualStyleBackColor = true;
|
|
this.btn3.Click += new System.EventHandler(this.btn3_Click);
|
|
//
|
|
// btn0
|
|
//
|
|
this.btn0.Location = new System.Drawing.Point(3, 171);
|
|
this.btn0.Name = "btn0";
|
|
this.btn0.Size = new System.Drawing.Size(106, 50);
|
|
this.btn0.TabIndex = 7;
|
|
this.btn0.TabStop = false;
|
|
this.btn0.Text = "0";
|
|
this.btn0.UseVisualStyleBackColor = true;
|
|
this.btn0.Click += new System.EventHandler(this.btn0_Click);
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Location = new System.Drawing.Point(171, 115);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(50, 106);
|
|
this.btnOk.TabIndex = 8;
|
|
this.btnOk.TabStop = false;
|
|
this.btnOk.Text = "OK";
|
|
this.btnOk.UseVisualStyleBackColor = true;
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
//
|
|
// btnDot
|
|
//
|
|
this.btnDot.Location = new System.Drawing.Point(115, 171);
|
|
this.btnDot.Name = "btnDot";
|
|
this.btnDot.Size = new System.Drawing.Size(50, 50);
|
|
this.btnDot.TabIndex = 9;
|
|
this.btnDot.TabStop = false;
|
|
this.btnDot.Text = ".";
|
|
this.btnDot.UseVisualStyleBackColor = true;
|
|
this.btnDot.Click += new System.EventHandler(this.btnDot_Click);
|
|
//
|
|
// btnDel
|
|
//
|
|
this.btnDel.Location = new System.Drawing.Point(171, 59);
|
|
this.btnDel.Name = "btnDel";
|
|
this.btnDel.Size = new System.Drawing.Size(50, 50);
|
|
this.btnDel.TabIndex = 10;
|
|
this.btnDel.TabStop = false;
|
|
this.btnDel.Text = "Del";
|
|
this.btnDel.UseVisualStyleBackColor = true;
|
|
this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
|
|
//
|
|
// btn8
|
|
//
|
|
this.btn8.Location = new System.Drawing.Point(59, 3);
|
|
this.btn8.Name = "btn8";
|
|
this.btn8.Size = new System.Drawing.Size(50, 50);
|
|
this.btn8.TabIndex = 11;
|
|
this.btn8.TabStop = false;
|
|
this.btn8.Text = "8";
|
|
this.btn8.UseVisualStyleBackColor = true;
|
|
this.btn8.Click += new System.EventHandler(this.btn8_Click);
|
|
//
|
|
// btn9
|
|
//
|
|
this.btn9.Location = new System.Drawing.Point(115, 3);
|
|
this.btn9.Name = "btn9";
|
|
this.btn9.Size = new System.Drawing.Size(50, 50);
|
|
this.btn9.TabIndex = 12;
|
|
this.btn9.TabStop = false;
|
|
this.btn9.Text = "9";
|
|
this.btn9.UseVisualStyleBackColor = true;
|
|
this.btn9.Click += new System.EventHandler(this.btn9_Click);
|
|
//
|
|
// btnEsc
|
|
//
|
|
this.btnEsc.Location = new System.Drawing.Point(171, 3);
|
|
this.btnEsc.Name = "btnEsc";
|
|
this.btnEsc.Size = new System.Drawing.Size(50, 50);
|
|
this.btnEsc.TabIndex = 13;
|
|
this.btnEsc.TabStop = false;
|
|
this.btnEsc.Text = "Esc";
|
|
this.btnEsc.UseVisualStyleBackColor = true;
|
|
this.btnEsc.Click += new System.EventHandler(this.btnEsc_Click);
|
|
//
|
|
// NumpadControl
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.btnEsc);
|
|
this.Controls.Add(this.btn9);
|
|
this.Controls.Add(this.btn8);
|
|
this.Controls.Add(this.btnDel);
|
|
this.Controls.Add(this.btnDot);
|
|
this.Controls.Add(this.btnOk);
|
|
this.Controls.Add(this.btn0);
|
|
this.Controls.Add(this.btn3);
|
|
this.Controls.Add(this.btn1);
|
|
this.Controls.Add(this.btn2);
|
|
this.Controls.Add(this.btn6);
|
|
this.Controls.Add(this.btn4);
|
|
this.Controls.Add(this.btn5);
|
|
this.Controls.Add(this.btn7);
|
|
this.Name = "NumpadControl";
|
|
this.Size = new System.Drawing.Size(224, 224);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private UnselectableButton btn7;
|
|
private UnselectableButton btn5;
|
|
private UnselectableButton btn4;
|
|
private UnselectableButton btn6;
|
|
private UnselectableButton btn2;
|
|
private UnselectableButton btn1;
|
|
private UnselectableButton btn3;
|
|
private UnselectableButton btn0;
|
|
private UnselectableButton btnOk;
|
|
private UnselectableButton btnDot;
|
|
private UnselectableButton btnDel;
|
|
private UnselectableButton btn8;
|
|
private UnselectableButton btn9;
|
|
private UnselectableButton btnEsc;
|
|
}
|
|
}
|