📄 form1.designer.cs
字号:
namespace 商场管理软件
{
partial class Form1
{
/// <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 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.txtPrice = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.txtNum = new System.Windows.Forms.TextBox();
this.btnOk = new System.Windows.Forms.Button();
this.lbxList = new System.Windows.Forms.ListBox();
this.lblResult = new System.Windows.Forms.Label();
this.btnClear = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.cbxType = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// txtPrice
//
this.txtPrice.Location = new System.Drawing.Point(77, 12);
this.txtPrice.Name = "txtPrice";
this.txtPrice.Size = new System.Drawing.Size(100, 21);
this.txtPrice.TabIndex = 0;
this.txtPrice.Text = "0.00";
this.txtPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 15);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(41, 12);
this.label1.TabIndex = 1;
this.label1.Text = "单价:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 46);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(41, 12);
this.label2.TabIndex = 3;
this.label2.Text = "数量:";
//
// txtNum
//
this.txtNum.Location = new System.Drawing.Point(77, 43);
this.txtNum.Name = "txtNum";
this.txtNum.Size = new System.Drawing.Size(100, 21);
this.txtNum.TabIndex = 2;
this.txtNum.Text = "1";
this.txtNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// btnOk
//
this.btnOk.Location = new System.Drawing.Point(199, 12);
this.btnOk.Name = "btnOk";
this.btnOk.Size = new System.Drawing.Size(75, 23);
this.btnOk.TabIndex = 4;
this.btnOk.Text = "确定";
this.btnOk.UseVisualStyleBackColor = true;
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
//
// lbxList
//
this.lbxList.FormattingEnabled = true;
this.lbxList.ItemHeight = 12;
this.lbxList.Location = new System.Drawing.Point(14, 110);
this.lbxList.Name = "lbxList";
this.lbxList.Size = new System.Drawing.Size(244, 88);
this.lbxList.TabIndex = 5;
//
// lblResult
//
this.lblResult.AutoSize = true;
this.lblResult.Font = new System.Drawing.Font("宋体", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblResult.Location = new System.Drawing.Point(81, 231);
this.lblResult.Name = "lblResult";
this.lblResult.Size = new System.Drawing.Size(116, 48);
this.lblResult.TabIndex = 6;
this.lblResult.Text = "0.00";
//
// btnClear
//
this.btnClear.Location = new System.Drawing.Point(199, 41);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(75, 23);
this.btnClear.TabIndex = 7;
this.btnClear.Text = "重置";
this.btnClear.UseVisualStyleBackColor = true;
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(12, 231);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(41, 12);
this.label3.TabIndex = 8;
this.label3.Text = "总计:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(12, 78);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(65, 12);
this.label4.TabIndex = 9;
this.label4.Text = "计算方式:";
//
// cbxType
//
this.cbxType.FormattingEnabled = true;
this.cbxType.Items.AddRange(new object[] {
"正常收费",
"满300返100",
"打8折"});
this.cbxType.Location = new System.Drawing.Point(77, 74);
this.cbxType.Name = "cbxType";
this.cbxType.Size = new System.Drawing.Size(100, 20);
this.cbxType.TabIndex = 10;
this.cbxType.Text = "正常收费";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(286, 294);
this.Controls.Add(this.cbxType);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.btnClear);
this.Controls.Add(this.lblResult);
this.Controls.Add(this.lbxList);
this.Controls.Add(this.btnOk);
this.Controls.Add(this.label2);
this.Controls.Add(this.txtNum);
this.Controls.Add(this.label1);
this.Controls.Add(this.txtPrice);
this.Name = "Form1";
this.Text = "商场收银系统";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox txtPrice;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtNum;
private System.Windows.Forms.Button btnOk;
private System.Windows.Forms.ListBox lbxList;
private System.Windows.Forms.Label lblResult;
private System.Windows.Forms.Button btnClear;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox cbxType;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -