📄 sl_rec.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace PDA_test
{
/// <summary>
/// SL_REC 的摘要说明。
/// </summary>
public class SL_REC : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown numericUpDown1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
public int SL_yysl;
public int SL_sysl;
public SL_REC()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
//
// label1
//
this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular);
this.label1.Location = new System.Drawing.Point(16, 8);
this.label1.Size = new System.Drawing.Size(72, 20);
this.label1.Text = "原有数量";
//
// label2
//
this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular);
this.label2.Location = new System.Drawing.Point(32, 40);
this.label2.Size = new System.Drawing.Size(48, 20);
this.label2.Text = "label2";
//
// label3
//
this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular);
this.label3.Location = new System.Drawing.Point(104, 8);
this.label3.Size = new System.Drawing.Size(72, 20);
this.label3.Text = "本次执行";
//
// numericUpDown1
//
this.numericUpDown1.Location = new System.Drawing.Point(112, 40);
this.numericUpDown1.Size = new System.Drawing.Size(48, 21);
//
// button1
//
this.button1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular);
this.button1.Location = new System.Drawing.Point(8, 72);
this.button1.Size = new System.Drawing.Size(72, 40);
this.button1.Text = "执行";
//
// button2
//
this.button2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular);
this.button2.Location = new System.Drawing.Point(104, 72);
this.button2.Size = new System.Drawing.Size(72, 40);
this.button2.Text = "放弃";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// SL_REC
//
this.ClientSize = new System.Drawing.Size(186, 119);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.numericUpDown1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Text = "数量确认";
this.Load += new System.EventHandler(this.SL_REC_Load);
}
#endregion
private void button2_Click(object sender, System.EventArgs e)
{
this.Close();
}
private void SL_REC_Load(object sender, System.EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -