b329d5081e
- nuovo git per evitare problemi con bin e obj.
303 lines
16 KiB
C#
303 lines
16 KiB
C#
/***************************************************/
|
|
// __ ______
|
|
//
|
|
/***************************************************/
|
|
|
|
|
|
namespace IPadLibrary.FormsInterfaces {
|
|
|
|
|
|
partial class NumericPad {
|
|
/// <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.NUM0_Button = new System.Windows.Forms.Button();
|
|
this.NUM1_Button = new System.Windows.Forms.Button();
|
|
this.NUM2_Button = new System.Windows.Forms.Button();
|
|
this.NUM3_Button = new System.Windows.Forms.Button();
|
|
this.NUM5_Button = new System.Windows.Forms.Button();
|
|
this.NUM4_Button = new System.Windows.Forms.Button();
|
|
this.NUM6_Button = new System.Windows.Forms.Button();
|
|
this.NUM7_Button = new System.Windows.Forms.Button();
|
|
this.NUM8_Button = new System.Windows.Forms.Button();
|
|
this.NUM9_Button = new System.Windows.Forms.Button();
|
|
this.BACKSPACE_Button = new System.Windows.Forms.Button();
|
|
this.OK_Button = new System.Windows.Forms.Button();
|
|
this.DOT_Button = new System.Windows.Forms.Button();
|
|
this.CANCEL_Button = new System.Windows.Forms.Button();
|
|
this.Display = new System.Windows.Forms.MaskedTextBox();
|
|
this.SIGN_Button = new System.Windows.Forms.Button();
|
|
this.CE_Button = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// NUM0_Button
|
|
//
|
|
this.NUM0_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM0_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM0_Button.Location = new System.Drawing.Point(12, 323);
|
|
this.NUM0_Button.Name = "NUM0_Button";
|
|
this.NUM0_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM0_Button.TabIndex = 9;
|
|
this.NUM0_Button.Text = "0";
|
|
this.NUM0_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM1_Button
|
|
//
|
|
this.NUM1_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM1_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM1_Button.Location = new System.Drawing.Point(12, 262);
|
|
this.NUM1_Button.Name = "NUM1_Button";
|
|
this.NUM1_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM1_Button.TabIndex = 0;
|
|
this.NUM1_Button.Text = "1";
|
|
this.NUM1_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM2_Button
|
|
//
|
|
this.NUM2_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM2_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM2_Button.Location = new System.Drawing.Point(73, 262);
|
|
this.NUM2_Button.Name = "NUM2_Button";
|
|
this.NUM2_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM2_Button.TabIndex = 1;
|
|
this.NUM2_Button.Text = "2";
|
|
this.NUM2_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM3_Button
|
|
//
|
|
this.NUM3_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM3_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM3_Button.Location = new System.Drawing.Point(134, 262);
|
|
this.NUM3_Button.Name = "NUM3_Button";
|
|
this.NUM3_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM3_Button.TabIndex = 2;
|
|
this.NUM3_Button.Text = "3";
|
|
this.NUM3_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM5_Button
|
|
//
|
|
this.NUM5_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM5_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM5_Button.Location = new System.Drawing.Point(73, 201);
|
|
this.NUM5_Button.Name = "NUM5_Button";
|
|
this.NUM5_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM5_Button.TabIndex = 4;
|
|
this.NUM5_Button.Text = "5";
|
|
this.NUM5_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM4_Button
|
|
//
|
|
this.NUM4_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM4_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM4_Button.Location = new System.Drawing.Point(12, 201);
|
|
this.NUM4_Button.Name = "NUM4_Button";
|
|
this.NUM4_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM4_Button.TabIndex = 3;
|
|
this.NUM4_Button.Text = "4";
|
|
this.NUM4_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM6_Button
|
|
//
|
|
this.NUM6_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM6_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM6_Button.Location = new System.Drawing.Point(134, 201);
|
|
this.NUM6_Button.Name = "NUM6_Button";
|
|
this.NUM6_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM6_Button.TabIndex = 5;
|
|
this.NUM6_Button.Text = "6";
|
|
this.NUM6_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM7_Button
|
|
//
|
|
this.NUM7_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM7_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM7_Button.Location = new System.Drawing.Point(12, 140);
|
|
this.NUM7_Button.Name = "NUM7_Button";
|
|
this.NUM7_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM7_Button.TabIndex = 6;
|
|
this.NUM7_Button.Text = "7";
|
|
this.NUM7_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM8_Button
|
|
//
|
|
this.NUM8_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM8_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM8_Button.Location = new System.Drawing.Point(73, 140);
|
|
this.NUM8_Button.Name = "NUM8_Button";
|
|
this.NUM8_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM8_Button.TabIndex = 7;
|
|
this.NUM8_Button.Text = "8";
|
|
this.NUM8_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// NUM9_Button
|
|
//
|
|
this.NUM9_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.NUM9_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.NUM9_Button.Location = new System.Drawing.Point(134, 140);
|
|
this.NUM9_Button.Name = "NUM9_Button";
|
|
this.NUM9_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.NUM9_Button.TabIndex = 8;
|
|
this.NUM9_Button.Text = "9";
|
|
this.NUM9_Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// BACKSPACE_Button
|
|
//
|
|
this.BACKSPACE_Button.Font = new System.Drawing.Font("Symbol", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.BACKSPACE_Button.ForeColor = System.Drawing.Color.Red;
|
|
this.BACKSPACE_Button.Location = new System.Drawing.Point(12, 72);
|
|
this.BACKSPACE_Button.Name = "BACKSPACE_Button";
|
|
this.BACKSPACE_Button.Size = new System.Drawing.Size(90, 62);
|
|
this.BACKSPACE_Button.TabIndex = 38;
|
|
this.BACKSPACE_Button.Text = "<-";
|
|
this.BACKSPACE_Button.UseVisualStyleBackColor = true;
|
|
this.BACKSPACE_Button.Click += new System.EventHandler(this.BACKSPACE_Button_Click);
|
|
//
|
|
// OK_Button
|
|
//
|
|
this.OK_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.OK_Button.Image = global::IPadLibrary.Properties.Resources.OK;
|
|
this.OK_Button.Location = new System.Drawing.Point(12, 406);
|
|
this.OK_Button.Name = "OK_Button";
|
|
this.OK_Button.Size = new System.Drawing.Size(78, 62);
|
|
this.OK_Button.TabIndex = 39;
|
|
this.OK_Button.UseVisualStyleBackColor = true;
|
|
this.OK_Button.Click += new System.EventHandler(this.OK_Button_Click);
|
|
//
|
|
// DOT_Button
|
|
//
|
|
this.DOT_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.DOT_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.DOT_Button.Location = new System.Drawing.Point(134, 323);
|
|
this.DOT_Button.Name = "DOT_Button";
|
|
this.DOT_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.DOT_Button.TabIndex = 37;
|
|
this.DOT_Button.Text = ".";
|
|
this.DOT_Button.UseVisualStyleBackColor = true;
|
|
this.DOT_Button.Click += new System.EventHandler(this.DOT_Button_Click);
|
|
//
|
|
// CANCEL_Button
|
|
//
|
|
this.CANCEL_Button.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.CANCEL_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.CANCEL_Button.Image = global::IPadLibrary.Properties.Resources.Delete;
|
|
this.CANCEL_Button.Location = new System.Drawing.Point(118, 406);
|
|
this.CANCEL_Button.Name = "CANCEL_Button";
|
|
this.CANCEL_Button.Size = new System.Drawing.Size(78, 62);
|
|
this.CANCEL_Button.TabIndex = 40;
|
|
this.CANCEL_Button.UseVisualStyleBackColor = true;
|
|
this.CANCEL_Button.Click += new System.EventHandler(this.CANCEL_Button_Click);
|
|
//
|
|
// Display
|
|
//
|
|
this.Display.AsciiOnly = true;
|
|
this.Display.BackColor = System.Drawing.Color.White;
|
|
this.Display.CausesValidation = false;
|
|
this.Display.Font = new System.Drawing.Font("Microsoft Sans Serif", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.Display.Location = new System.Drawing.Point(12, 12);
|
|
this.Display.Name = "Display";
|
|
this.Display.ReadOnly = true;
|
|
this.Display.Size = new System.Drawing.Size(184, 57);
|
|
this.Display.TabIndex = 41;
|
|
this.Display.Text = "0";
|
|
this.Display.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
this.Display.MaskInputRejected += new System.Windows.Forms.MaskInputRejectedEventHandler(this.Display_MaskInputRejected);
|
|
//
|
|
// SIGN_Button
|
|
//
|
|
this.SIGN_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.SIGN_Button.ForeColor = System.Drawing.Color.Blue;
|
|
this.SIGN_Button.Location = new System.Drawing.Point(73, 323);
|
|
this.SIGN_Button.Name = "SIGN_Button";
|
|
this.SIGN_Button.Size = new System.Drawing.Size(62, 62);
|
|
this.SIGN_Button.TabIndex = 42;
|
|
this.SIGN_Button.Text = "+/-";
|
|
this.SIGN_Button.UseVisualStyleBackColor = true;
|
|
this.SIGN_Button.Click += new System.EventHandler(this.SIGN_Button_Click);
|
|
//
|
|
// CE_Button
|
|
//
|
|
this.CE_Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.CE_Button.ForeColor = System.Drawing.Color.Red;
|
|
this.CE_Button.Location = new System.Drawing.Point(106, 72);
|
|
this.CE_Button.Name = "CE_Button";
|
|
this.CE_Button.Size = new System.Drawing.Size(90, 62);
|
|
this.CE_Button.TabIndex = 43;
|
|
this.CE_Button.Text = "C";
|
|
this.CE_Button.UseVisualStyleBackColor = true;
|
|
this.CE_Button.Click += new System.EventHandler(this.CE_Button_Click);
|
|
//
|
|
// NumericPad
|
|
//
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.BackColor = System.Drawing.Color.LightSlateGray;
|
|
this.ClientSize = new System.Drawing.Size(208, 480);
|
|
this.Controls.Add(this.CE_Button);
|
|
this.Controls.Add(this.SIGN_Button);
|
|
this.Controls.Add(this.Display);
|
|
this.Controls.Add(this.CANCEL_Button);
|
|
this.Controls.Add(this.BACKSPACE_Button);
|
|
this.Controls.Add(this.OK_Button);
|
|
this.Controls.Add(this.DOT_Button);
|
|
this.Controls.Add(this.NUM9_Button);
|
|
this.Controls.Add(this.NUM0_Button);
|
|
this.Controls.Add(this.NUM8_Button);
|
|
this.Controls.Add(this.NUM7_Button);
|
|
this.Controls.Add(this.NUM6_Button);
|
|
this.Controls.Add(this.NUM4_Button);
|
|
this.Controls.Add(this.NUM5_Button);
|
|
this.Controls.Add(this.NUM3_Button);
|
|
this.Controls.Add(this.NUM2_Button);
|
|
this.Controls.Add(this.NUM1_Button);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.Name = "NumericPad";
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Paint += new System.Windows.Forms.PaintEventHandler(this.NumericPad_Paint);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button NUM0_Button;
|
|
private System.Windows.Forms.Button NUM1_Button;
|
|
private System.Windows.Forms.Button NUM2_Button;
|
|
private System.Windows.Forms.Button NUM3_Button;
|
|
private System.Windows.Forms.Button NUM5_Button;
|
|
private System.Windows.Forms.Button NUM4_Button;
|
|
private System.Windows.Forms.Button NUM6_Button;
|
|
private System.Windows.Forms.Button NUM7_Button;
|
|
private System.Windows.Forms.Button NUM8_Button;
|
|
private System.Windows.Forms.Button NUM9_Button;
|
|
private System.Windows.Forms.Button BACKSPACE_Button;
|
|
private System.Windows.Forms.Button DOT_Button;
|
|
private System.Windows.Forms.Button OK_Button;
|
|
private System.Windows.Forms.Button CANCEL_Button;
|
|
private System.Windows.Forms.MaskedTextBox Display;
|
|
private System.Windows.Forms.Button SIGN_Button;
|
|
private System.Windows.Forms.Button CE_Button;
|
|
|
|
}
|
|
}
|