📄 form1.designer.cs
字号:
namespace DemoApp
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
/// <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.mainMenu1 = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.chkEnforceMinMax = new System.Windows.Forms.CheckBox();
this.numMin = new System.Windows.Forms.NumericUpDown();
this.label3 = new System.Windows.Forms.Label();
this.numMax = new System.Windows.Forms.NumericUpDown();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.numDecimalPlaces = new System.Windows.Forms.NumericUpDown();
this.label4 = new System.Windows.Forms.Label();
this.numericUpDown1 = new MobileControls.NumericUpDown();
this.SuspendLayout();
//
// mainMenu1
//
this.mainMenu1.MenuItems.Add(this.menuItem1);
//
// menuItem1
//
this.menuItem1.Text = "Close";
this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
//
// chkEnforceMinMax
//
this.chkEnforceMinMax.Checked = true;
this.chkEnforceMinMax.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkEnforceMinMax.Location = new System.Drawing.Point(7, 82);
this.chkEnforceMinMax.Name = "chkEnforceMinMax";
this.chkEnforceMinMax.Size = new System.Drawing.Size(139, 20);
this.chkEnforceMinMax.TabIndex = 23;
this.chkEnforceMinMax.Text = "Enforce Min/Max";
this.chkEnforceMinMax.CheckStateChanged += new System.EventHandler(this.chkEnforceMinMax_CheckStateChanged);
//
// numMin
//
this.numMin.Location = new System.Drawing.Point(39, 108);
this.numMin.Maximum = new decimal(new int[] {
100000,
0,
0,
0});
this.numMin.Minimum = new decimal(new int[] {
10000,
0,
0,
-2147483648});
this.numMin.Name = "numMin";
this.numMin.Size = new System.Drawing.Size(82, 22);
this.numMin.TabIndex = 22;
this.numMin.ValueChanged += new System.EventHandler(this.numMin_ValueChanged);
//
// label3
//
this.label3.Location = new System.Drawing.Point(128, 110);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(31, 20);
this.label3.Text = "Max";
//
// numMax
//
this.numMax.Location = new System.Drawing.Point(160, 108);
this.numMax.Maximum = new decimal(new int[] {
1000000,
0,
0,
0});
this.numMax.Minimum = new decimal(new int[] {
100000,
0,
0,
-2147483648});
this.numMax.Name = "numMax";
this.numMax.Size = new System.Drawing.Size(74, 22);
this.numMax.TabIndex = 21;
this.numMax.Value = new decimal(new int[] {
1000,
0,
0,
0});
this.numMax.ValueChanged += new System.EventHandler(this.numMax_ValueChanged);
//
// label2
//
this.label2.Location = new System.Drawing.Point(7, 202);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(83, 20);
this.label2.Text = "Test Control";
//
// label1
//
this.label1.Location = new System.Drawing.Point(7, 140);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(83, 20);
this.label1.Text = "Dec. place(s)";
//
// numDecimalPlaces
//
this.numDecimalPlaces.Location = new System.Drawing.Point(96, 137);
this.numDecimalPlaces.Name = "numDecimalPlaces";
this.numDecimalPlaces.Size = new System.Drawing.Size(138, 22);
this.numDecimalPlaces.TabIndex = 20;
this.numDecimalPlaces.ValueChanged += new System.EventHandler(this.numDecimalPlaces_ValueChanged);
//
// label4
//
this.label4.Location = new System.Drawing.Point(7, 110);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(26, 20);
this.label4.Text = "Min";
//
// numericUpDown1
//
this.numericUpDown1.BackColor = System.Drawing.Color.Transparent;
this.numericUpDown1.DecimalPlaces = 0;
this.numericUpDown1.EnforceMinMax = true;
this.numericUpDown1.Location = new System.Drawing.Point(96, 201);
this.numericUpDown1.Maximum = new decimal(new int[] {
100,
0,
0,
0});
this.numericUpDown1.Minimum = new decimal(new int[] {
0,
0,
0,
0});
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(138, 22);
this.numericUpDown1.TabIndex = 19;
this.numericUpDown1.Value = new decimal(new int[] {
25,
0,
0,
0});
this.numericUpDown1.Validated += new System.EventHandler(this.numericUpDown1_Validated);
this.numericUpDown1.GotFocus += new System.EventHandler(this.numericUpDown1_GotFocus);
this.numericUpDown1.Validating += new System.ComponentModel.CancelEventHandler(this.numericUpDown1_Validating);
this.numericUpDown1.LostFocus += new System.EventHandler(this.numericUpDown1_LostFocus);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.label4);
this.Controls.Add(this.chkEnforceMinMax);
this.Controls.Add(this.numMin);
this.Controls.Add(this.label3);
this.Controls.Add(this.numMax);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.numDecimalPlaces);
this.Controls.Add(this.numericUpDown1);
this.Menu = this.mainMenu1;
this.Name = "Form1";
this.Text = "Form1";
this.Closed += new System.EventHandler(this.Form1_Closed);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.CheckBox chkEnforceMinMax;
private System.Windows.Forms.NumericUpDown numMin;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown numMax;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.NumericUpDown numDecimalPlaces;
private MobileControls.NumericUpDown numericUpDown1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.MenuItem menuItem1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -