1235 lines
52 KiB
C#
1235 lines
52 KiB
C#
namespace FATrace.App
|
|
{
|
|
partial class frmMain
|
|
{
|
|
/// <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 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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
|
|
statusStrip1 = new StatusStrip();
|
|
tslCurrentUser = new ToolStripStatusLabel();
|
|
tslWeightState = new ToolStripStatusLabel();
|
|
tslServerState = new ToolStripStatusLabel();
|
|
tslPrintState = new ToolStripStatusLabel();
|
|
splitContainer1 = new SplitContainer();
|
|
label27 = new Label();
|
|
btnMain = new Button();
|
|
label21 = new Label();
|
|
btnExit = new Button();
|
|
label20 = new Label();
|
|
label19 = new Label();
|
|
btnSysConfig = new Button();
|
|
bntFrmLogin = new Button();
|
|
label18 = new Label();
|
|
pictureBox1 = new PictureBox();
|
|
btnHistoryData = new Button();
|
|
TabControlMain = new TabControl();
|
|
tabPage2 = new TabPage();
|
|
panel4 = new Panel();
|
|
btnConfigSave = new Button();
|
|
label30 = new Label();
|
|
pictureBox5 = new PictureBox();
|
|
txtWeightDown = new TextBox();
|
|
label29 = new Label();
|
|
label31 = new Label();
|
|
txtWeightUp = new TextBox();
|
|
panel3 = new Panel();
|
|
btnReprint = new Button();
|
|
pictureBox4 = new PictureBox();
|
|
btnWeightPrint = new Button();
|
|
txtCode = new TextBox();
|
|
label13 = new Label();
|
|
label9 = new Label();
|
|
txtRtWeight = new TextBox();
|
|
label8 = new Label();
|
|
label10 = new Label();
|
|
panel2 = new Panel();
|
|
pictureBox3 = new PictureBox();
|
|
lblRawUseStateTip = new Label();
|
|
btnClearRaw = new Button();
|
|
lblRawUseState = new Label();
|
|
label11 = new Label();
|
|
btnTrueProInput = new Button();
|
|
txtRemainWeight = new TextBox();
|
|
txtShelfLife = new TextBox();
|
|
label12 = new Label();
|
|
label6 = new Label();
|
|
txtBatch = new TextBox();
|
|
label7 = new Label();
|
|
label5 = new Label();
|
|
txtWeight = new TextBox();
|
|
label4 = new Label();
|
|
label3 = new Label();
|
|
panel1 = new Panel();
|
|
pictureBox2 = new PictureBox();
|
|
lblRawBeforeInfo = new Label();
|
|
btnRawName3 = new Button();
|
|
btnRawName2 = new Button();
|
|
btnRawName1 = new Button();
|
|
label2 = new Label();
|
|
label1 = new Label();
|
|
tabPage3 = new TabPage();
|
|
txtOpName = new TextBox();
|
|
label28 = new Label();
|
|
btnLogin = new Button();
|
|
txtPassword = new TextBox();
|
|
txtCheckUserName = new TextBox();
|
|
label17 = new Label();
|
|
label16 = new Label();
|
|
label15 = new Label();
|
|
label14 = new Label();
|
|
tabPage1 = new TabPage();
|
|
groupBox1 = new GroupBox();
|
|
label26 = new Label();
|
|
cbxSearchRawName = new ComboBox();
|
|
txtSearchBatch = new TextBox();
|
|
label25 = new Label();
|
|
btnSearchHistoryData = new Button();
|
|
label24 = new Label();
|
|
dtpSearchEndTime = new DateTimePicker();
|
|
label23 = new Label();
|
|
dtpSearchStartTime = new DateTimePicker();
|
|
dataGridView1 = new DataGridView();
|
|
label22 = new Label();
|
|
statusStrip1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
|
|
splitContainer1.Panel1.SuspendLayout();
|
|
splitContainer1.Panel2.SuspendLayout();
|
|
splitContainer1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
TabControlMain.SuspendLayout();
|
|
tabPage2.SuspendLayout();
|
|
panel4.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox5).BeginInit();
|
|
panel3.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox4).BeginInit();
|
|
panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox3).BeginInit();
|
|
panel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
|
|
tabPage3.SuspendLayout();
|
|
tabPage1.SuspendLayout();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// statusStrip1
|
|
//
|
|
statusStrip1.Items.AddRange(new ToolStripItem[] { tslCurrentUser, tslWeightState, tslServerState, tslPrintState });
|
|
statusStrip1.Location = new Point(0, 707);
|
|
statusStrip1.Name = "statusStrip1";
|
|
statusStrip1.Size = new Size(1008, 22);
|
|
statusStrip1.TabIndex = 0;
|
|
statusStrip1.Text = "statusStrip1";
|
|
//
|
|
// tslCurrentUser
|
|
//
|
|
tslCurrentUser.MergeIndex = 1;
|
|
tslCurrentUser.Name = "tslCurrentUser";
|
|
tslCurrentUser.Size = new Size(248, 17);
|
|
tslCurrentUser.Spring = true;
|
|
tslCurrentUser.Text = "用户";
|
|
//
|
|
// tslWeightState
|
|
//
|
|
tslWeightState.Name = "tslWeightState";
|
|
tslWeightState.Size = new Size(248, 17);
|
|
tslWeightState.Spring = true;
|
|
tslWeightState.Text = "称重状态";
|
|
//
|
|
// tslServerState
|
|
//
|
|
tslServerState.Name = "tslServerState";
|
|
tslServerState.Size = new Size(248, 17);
|
|
tslServerState.Spring = true;
|
|
tslServerState.Text = "服务器通信状态";
|
|
//
|
|
// tslPrintState
|
|
//
|
|
tslPrintState.Name = "tslPrintState";
|
|
tslPrintState.Size = new Size(248, 17);
|
|
tslPrintState.Spring = true;
|
|
tslPrintState.Text = "打印机状态";
|
|
//
|
|
// splitContainer1
|
|
//
|
|
splitContainer1.BorderStyle = BorderStyle.FixedSingle;
|
|
splitContainer1.Dock = DockStyle.Top;
|
|
splitContainer1.Location = new Point(0, 0);
|
|
splitContainer1.Name = "splitContainer1";
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
splitContainer1.Panel1.Controls.Add(label27);
|
|
splitContainer1.Panel1.Controls.Add(btnMain);
|
|
splitContainer1.Panel1.Controls.Add(label21);
|
|
splitContainer1.Panel1.Controls.Add(btnExit);
|
|
splitContainer1.Panel1.Controls.Add(label20);
|
|
splitContainer1.Panel1.Controls.Add(label19);
|
|
splitContainer1.Panel1.Controls.Add(btnSysConfig);
|
|
splitContainer1.Panel1.Controls.Add(bntFrmLogin);
|
|
splitContainer1.Panel1.Controls.Add(label18);
|
|
splitContainer1.Panel1.Controls.Add(pictureBox1);
|
|
splitContainer1.Panel1.Controls.Add(btnHistoryData);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
splitContainer1.Panel2.Controls.Add(TabControlMain);
|
|
splitContainer1.Size = new Size(1008, 704);
|
|
splitContainer1.SplitterDistance = 113;
|
|
splitContainer1.SplitterWidth = 1;
|
|
splitContainer1.TabIndex = 0;
|
|
//
|
|
// label27
|
|
//
|
|
label27.AutoSize = true;
|
|
label27.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label27.Location = new Point(25, 117);
|
|
label27.Name = "label27";
|
|
label27.Size = new Size(58, 22);
|
|
label27.TabIndex = 10;
|
|
label27.Text = "主界面";
|
|
//
|
|
// btnMain
|
|
//
|
|
btnMain.BackgroundImage = Properties.Resources.分类1;
|
|
btnMain.BackgroundImageLayout = ImageLayout.Stretch;
|
|
btnMain.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnMain.Location = new Point(21, 53);
|
|
btnMain.Name = "btnMain";
|
|
btnMain.Size = new Size(64, 62);
|
|
btnMain.TabIndex = 9;
|
|
btnMain.UseVisualStyleBackColor = true;
|
|
btnMain.Click += btnMain_Click;
|
|
//
|
|
// label21
|
|
//
|
|
label21.AutoSize = true;
|
|
label21.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label21.Location = new Point(18, 657);
|
|
label21.Name = "label21";
|
|
label21.Size = new Size(74, 22);
|
|
label21.TabIndex = 8;
|
|
label21.Text = "退出系统";
|
|
//
|
|
// btnExit
|
|
//
|
|
btnExit.BackgroundImage = Properties.Resources.关闭;
|
|
btnExit.BackgroundImageLayout = ImageLayout.Stretch;
|
|
btnExit.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnExit.Location = new Point(21, 593);
|
|
btnExit.Name = "btnExit";
|
|
btnExit.Size = new Size(64, 62);
|
|
btnExit.TabIndex = 7;
|
|
btnExit.UseVisualStyleBackColor = true;
|
|
btnExit.Click += btnExit_Click;
|
|
//
|
|
// label20
|
|
//
|
|
label20.AutoSize = true;
|
|
label20.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label20.Location = new Point(18, 434);
|
|
label20.Name = "label20";
|
|
label20.Size = new Size(74, 22);
|
|
label20.TabIndex = 6;
|
|
label20.Text = "系统配置";
|
|
label20.Visible = false;
|
|
//
|
|
// label19
|
|
//
|
|
label19.AutoSize = true;
|
|
label19.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label19.Location = new Point(16, 322);
|
|
label19.Name = "label19";
|
|
label19.Size = new Size(74, 22);
|
|
label19.TabIndex = 5;
|
|
label19.Text = "用户登录";
|
|
//
|
|
// btnSysConfig
|
|
//
|
|
btnSysConfig.BackgroundImage = Properties.Resources.分类;
|
|
btnSysConfig.BackgroundImageLayout = ImageLayout.Stretch;
|
|
btnSysConfig.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnSysConfig.Location = new Point(21, 370);
|
|
btnSysConfig.Name = "btnSysConfig";
|
|
btnSysConfig.Size = new Size(64, 62);
|
|
btnSysConfig.TabIndex = 4;
|
|
btnSysConfig.UseVisualStyleBackColor = true;
|
|
btnSysConfig.Visible = false;
|
|
btnSysConfig.Click += btnSysConfig_Click;
|
|
//
|
|
// bntFrmLogin
|
|
//
|
|
bntFrmLogin.BackgroundImage = Properties.Resources.登录__2_;
|
|
bntFrmLogin.BackgroundImageLayout = ImageLayout.Stretch;
|
|
bntFrmLogin.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
bntFrmLogin.Location = new Point(21, 258);
|
|
bntFrmLogin.Name = "bntFrmLogin";
|
|
bntFrmLogin.Size = new Size(64, 62);
|
|
bntFrmLogin.TabIndex = 3;
|
|
bntFrmLogin.UseVisualStyleBackColor = true;
|
|
bntFrmLogin.Click += bntFrmLogin_Click;
|
|
//
|
|
// label18
|
|
//
|
|
label18.AutoSize = true;
|
|
label18.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label18.Location = new Point(15, 218);
|
|
label18.Name = "label18";
|
|
label18.Size = new Size(74, 22);
|
|
label18.TabIndex = 2;
|
|
label18.Text = "历史数据";
|
|
//
|
|
// pictureBox1
|
|
//
|
|
pictureBox1.BackgroundImageLayout = ImageLayout.Stretch;
|
|
pictureBox1.Dock = DockStyle.Top;
|
|
pictureBox1.Image = Properties.Resources.GilicoLogo;
|
|
pictureBox1.Location = new Point(0, 0);
|
|
pictureBox1.Margin = new Padding(5);
|
|
pictureBox1.Name = "pictureBox1";
|
|
pictureBox1.Size = new Size(111, 42);
|
|
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pictureBox1.TabIndex = 1;
|
|
pictureBox1.TabStop = false;
|
|
//
|
|
// btnHistoryData
|
|
//
|
|
btnHistoryData.BackgroundImage = Properties.Resources.工单信息;
|
|
btnHistoryData.BackgroundImageLayout = ImageLayout.Stretch;
|
|
btnHistoryData.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnHistoryData.Location = new Point(21, 154);
|
|
btnHistoryData.Name = "btnHistoryData";
|
|
btnHistoryData.Size = new Size(64, 62);
|
|
btnHistoryData.TabIndex = 0;
|
|
btnHistoryData.UseVisualStyleBackColor = true;
|
|
btnHistoryData.Click += btnHistoryData_Click;
|
|
//
|
|
// TabControlMain
|
|
//
|
|
TabControlMain.Controls.Add(tabPage2);
|
|
TabControlMain.Controls.Add(tabPage3);
|
|
TabControlMain.Controls.Add(tabPage1);
|
|
TabControlMain.Dock = DockStyle.Fill;
|
|
TabControlMain.ItemSize = new Size(0, 1);
|
|
TabControlMain.Location = new Point(0, 0);
|
|
TabControlMain.Name = "TabControlMain";
|
|
TabControlMain.SelectedIndex = 0;
|
|
TabControlMain.Size = new Size(892, 702);
|
|
TabControlMain.TabIndex = 0;
|
|
//
|
|
// tabPage2
|
|
//
|
|
tabPage2.Controls.Add(panel4);
|
|
tabPage2.Controls.Add(panel3);
|
|
tabPage2.Controls.Add(panel2);
|
|
tabPage2.Controls.Add(panel1);
|
|
tabPage2.Controls.Add(label1);
|
|
tabPage2.Location = new Point(4, 5);
|
|
tabPage2.Name = "tabPage2";
|
|
tabPage2.Padding = new Padding(3);
|
|
tabPage2.Size = new Size(884, 693);
|
|
tabPage2.TabIndex = 1;
|
|
tabPage2.UseVisualStyleBackColor = true;
|
|
//
|
|
// panel4
|
|
//
|
|
panel4.BorderStyle = BorderStyle.FixedSingle;
|
|
panel4.Controls.Add(btnConfigSave);
|
|
panel4.Controls.Add(label30);
|
|
panel4.Controls.Add(pictureBox5);
|
|
panel4.Controls.Add(txtWeightDown);
|
|
panel4.Controls.Add(label29);
|
|
panel4.Controls.Add(label31);
|
|
panel4.Controls.Add(txtWeightUp);
|
|
panel4.Dock = DockStyle.Bottom;
|
|
panel4.Location = new Point(3, 559);
|
|
panel4.Name = "panel4";
|
|
panel4.Size = new Size(878, 131);
|
|
panel4.TabIndex = 4;
|
|
//
|
|
// btnConfigSave
|
|
//
|
|
btnConfigSave.Font = new Font("微软雅黑", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnConfigSave.ForeColor = SystemColors.ControlDarkDark;
|
|
btnConfigSave.Location = new Point(670, 70);
|
|
btnConfigSave.Name = "btnConfigSave";
|
|
btnConfigSave.Size = new Size(190, 44);
|
|
btnConfigSave.TabIndex = 18;
|
|
btnConfigSave.Text = "保存并使用";
|
|
btnConfigSave.UseVisualStyleBackColor = true;
|
|
btnConfigSave.Click += btnConfigSave_Click;
|
|
//
|
|
// label30
|
|
//
|
|
label30.AutoSize = true;
|
|
label30.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label30.ForeColor = SystemColors.WindowFrame;
|
|
label30.Location = new Point(149, 64);
|
|
label30.Name = "label30";
|
|
label30.Size = new Size(82, 26);
|
|
label30.TabIndex = 19;
|
|
label30.Text = "下限(g):";
|
|
//
|
|
// pictureBox5
|
|
//
|
|
pictureBox5.BackgroundImageLayout = ImageLayout.None;
|
|
pictureBox5.Image = Properties.Resources.原料需求;
|
|
pictureBox5.Location = new Point(5, 7);
|
|
pictureBox5.Name = "pictureBox5";
|
|
pictureBox5.Size = new Size(35, 35);
|
|
pictureBox5.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pictureBox5.TabIndex = 21;
|
|
pictureBox5.TabStop = false;
|
|
//
|
|
// txtWeightDown
|
|
//
|
|
txtWeightDown.Font = new Font("Microsoft YaHei UI", 12F);
|
|
txtWeightDown.Location = new Point(231, 63);
|
|
txtWeightDown.Name = "txtWeightDown";
|
|
txtWeightDown.Size = new Size(76, 28);
|
|
txtWeightDown.TabIndex = 18;
|
|
txtWeightDown.Text = "0";
|
|
//
|
|
// label29
|
|
//
|
|
label29.AutoSize = true;
|
|
label29.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label29.ForeColor = SystemColors.WindowFrame;
|
|
label29.Location = new Point(329, 64);
|
|
label29.Name = "label29";
|
|
label29.Size = new Size(82, 26);
|
|
label29.TabIndex = 16;
|
|
label29.Text = "上限(g):";
|
|
//
|
|
// label31
|
|
//
|
|
label31.AutoSize = true;
|
|
label31.Font = new Font("Microsoft YaHei UI", 18F, FontStyle.Bold);
|
|
label31.ForeColor = SystemColors.ControlDarkDark;
|
|
label31.Location = new Point(42, 9);
|
|
label31.Name = "label31";
|
|
label31.Size = new Size(110, 31);
|
|
label31.TabIndex = 20;
|
|
label31.Text = "称重配置";
|
|
//
|
|
// txtWeightUp
|
|
//
|
|
txtWeightUp.Font = new Font("Microsoft YaHei UI", 12F);
|
|
txtWeightUp.Location = new Point(414, 63);
|
|
txtWeightUp.Name = "txtWeightUp";
|
|
txtWeightUp.Size = new Size(76, 28);
|
|
txtWeightUp.TabIndex = 15;
|
|
txtWeightUp.Text = "200";
|
|
//
|
|
// panel3
|
|
//
|
|
panel3.BorderStyle = BorderStyle.FixedSingle;
|
|
panel3.Controls.Add(btnReprint);
|
|
panel3.Controls.Add(pictureBox4);
|
|
panel3.Controls.Add(btnWeightPrint);
|
|
panel3.Controls.Add(txtCode);
|
|
panel3.Controls.Add(label13);
|
|
panel3.Controls.Add(label9);
|
|
panel3.Controls.Add(txtRtWeight);
|
|
panel3.Controls.Add(label8);
|
|
panel3.Controls.Add(label10);
|
|
panel3.Dock = DockStyle.Top;
|
|
panel3.Location = new Point(3, 377);
|
|
panel3.Name = "panel3";
|
|
panel3.Size = new Size(878, 176);
|
|
panel3.TabIndex = 3;
|
|
//
|
|
// btnReprint
|
|
//
|
|
btnReprint.Font = new Font("微软雅黑", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnReprint.ForeColor = SystemColors.ControlDarkDark;
|
|
btnReprint.Location = new Point(670, 5);
|
|
btnReprint.Name = "btnReprint";
|
|
btnReprint.Size = new Size(190, 44);
|
|
btnReprint.TabIndex = 17;
|
|
btnReprint.Text = "重新打印当前";
|
|
btnReprint.UseVisualStyleBackColor = true;
|
|
btnReprint.Click += btnReprint_Click;
|
|
//
|
|
// pictureBox4
|
|
//
|
|
pictureBox4.BackgroundImageLayout = ImageLayout.None;
|
|
pictureBox4.Image = Properties.Resources.称重;
|
|
pictureBox4.Location = new Point(7, 3);
|
|
pictureBox4.Name = "pictureBox4";
|
|
pictureBox4.Size = new Size(35, 35);
|
|
pictureBox4.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pictureBox4.TabIndex = 15;
|
|
pictureBox4.TabStop = false;
|
|
//
|
|
// btnWeightPrint
|
|
//
|
|
btnWeightPrint.Font = new Font("Microsoft YaHei UI", 20F, FontStyle.Bold);
|
|
btnWeightPrint.ForeColor = SystemColors.ControlDarkDark;
|
|
btnWeightPrint.Location = new Point(670, 95);
|
|
btnWeightPrint.Name = "btnWeightPrint";
|
|
btnWeightPrint.Size = new Size(190, 71);
|
|
btnWeightPrint.TabIndex = 9;
|
|
btnWeightPrint.Text = "称重打印";
|
|
btnWeightPrint.UseVisualStyleBackColor = true;
|
|
btnWeightPrint.Click += btnWeightPrint_Click;
|
|
//
|
|
// txtCode
|
|
//
|
|
txtCode.Font = new Font("Microsoft YaHei UI", 15F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
txtCode.ForeColor = Color.Blue;
|
|
txtCode.Location = new Point(129, 127);
|
|
txtCode.Name = "txtCode";
|
|
txtCode.ReadOnly = true;
|
|
txtCode.Size = new Size(410, 33);
|
|
txtCode.TabIndex = 16;
|
|
//
|
|
// label13
|
|
//
|
|
label13.AutoSize = true;
|
|
label13.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label13.ForeColor = SystemColors.WindowFrame;
|
|
label13.Location = new Point(30, 130);
|
|
label13.Name = "label13";
|
|
label13.Size = new Size(107, 26);
|
|
label13.TabIndex = 15;
|
|
label13.Text = "内包条码:";
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
label9.ForeColor = SystemColors.WindowFrame;
|
|
label9.Location = new Point(235, 63);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(24, 25);
|
|
label9.TabIndex = 11;
|
|
label9.Text = "g";
|
|
//
|
|
// txtRtWeight
|
|
//
|
|
txtRtWeight.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
txtRtWeight.Location = new Point(129, 57);
|
|
txtRtWeight.Name = "txtRtWeight";
|
|
txtRtWeight.Size = new Size(100, 32);
|
|
txtRtWeight.TabIndex = 10;
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Font = new Font("Microsoft YaHei UI", 18F, FontStyle.Bold);
|
|
label8.ForeColor = SystemColors.ControlDarkDark;
|
|
label8.Location = new Point(44, 5);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(110, 31);
|
|
label8.TabIndex = 9;
|
|
label8.Text = "称重信息";
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label10.ForeColor = SystemColors.WindowFrame;
|
|
label10.Location = new Point(30, 60);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(107, 26);
|
|
label10.TabIndex = 9;
|
|
label10.Text = "称量重量:";
|
|
//
|
|
// panel2
|
|
//
|
|
panel2.BorderStyle = BorderStyle.FixedSingle;
|
|
panel2.Controls.Add(pictureBox3);
|
|
panel2.Controls.Add(lblRawUseStateTip);
|
|
panel2.Controls.Add(btnClearRaw);
|
|
panel2.Controls.Add(lblRawUseState);
|
|
panel2.Controls.Add(label11);
|
|
panel2.Controls.Add(btnTrueProInput);
|
|
panel2.Controls.Add(txtRemainWeight);
|
|
panel2.Controls.Add(txtShelfLife);
|
|
panel2.Controls.Add(label12);
|
|
panel2.Controls.Add(label6);
|
|
panel2.Controls.Add(txtBatch);
|
|
panel2.Controls.Add(label7);
|
|
panel2.Controls.Add(label5);
|
|
panel2.Controls.Add(txtWeight);
|
|
panel2.Controls.Add(label4);
|
|
panel2.Controls.Add(label3);
|
|
panel2.Dock = DockStyle.Top;
|
|
panel2.Location = new Point(3, 221);
|
|
panel2.Name = "panel2";
|
|
panel2.Size = new Size(878, 156);
|
|
panel2.TabIndex = 2;
|
|
//
|
|
// pictureBox3
|
|
//
|
|
pictureBox3.BackgroundImageLayout = ImageLayout.None;
|
|
pictureBox3.Image = Properties.Resources.信息输入输出;
|
|
pictureBox3.Location = new Point(7, 5);
|
|
pictureBox3.Name = "pictureBox3";
|
|
pictureBox3.Size = new Size(35, 35);
|
|
pictureBox3.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pictureBox3.TabIndex = 13;
|
|
pictureBox3.TabStop = false;
|
|
//
|
|
// lblRawUseStateTip
|
|
//
|
|
lblRawUseStateTip.BackColor = Color.LightSalmon;
|
|
lblRawUseStateTip.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
lblRawUseStateTip.ForeColor = SystemColors.ButtonHighlight;
|
|
lblRawUseStateTip.Location = new Point(168, 106);
|
|
lblRawUseStateTip.Name = "lblRawUseStateTip";
|
|
lblRawUseStateTip.Size = new Size(247, 34);
|
|
lblRawUseStateTip.TabIndex = 11;
|
|
lblRawUseStateTip.Text = "当前原料耗尽,请重新选择";
|
|
lblRawUseStateTip.TextAlign = ContentAlignment.MiddleCenter;
|
|
lblRawUseStateTip.Visible = false;
|
|
//
|
|
// btnClearRaw
|
|
//
|
|
btnClearRaw.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnClearRaw.ForeColor = SystemColors.ControlDarkDark;
|
|
btnClearRaw.Location = new Point(581, 93);
|
|
btnClearRaw.Name = "btnClearRaw";
|
|
btnClearRaw.Size = new Size(154, 47);
|
|
btnClearRaw.TabIndex = 10;
|
|
btnClearRaw.Text = "清零当前原料";
|
|
btnClearRaw.UseVisualStyleBackColor = true;
|
|
btnClearRaw.Click += btnClearRaw_Click;
|
|
//
|
|
// lblRawUseState
|
|
//
|
|
lblRawUseState.BackColor = Color.Tomato;
|
|
lblRawUseState.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
lblRawUseState.ForeColor = SystemColors.ButtonHighlight;
|
|
lblRawUseState.Location = new Point(24, 97);
|
|
lblRawUseState.Name = "lblRawUseState";
|
|
lblRawUseState.Size = new Size(129, 43);
|
|
lblRawUseState.TabIndex = 9;
|
|
lblRawUseState.Text = "原料耗尽";
|
|
lblRawUseState.TextAlign = ContentAlignment.MiddleCenter;
|
|
lblRawUseState.Visible = false;
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
label11.ForeColor = SystemColors.WindowFrame;
|
|
label11.Location = new Point(819, 54);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(36, 25);
|
|
label11.TabIndex = 14;
|
|
label11.Text = "Kg";
|
|
//
|
|
// btnTrueProInput
|
|
//
|
|
btnTrueProInput.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnTrueProInput.ForeColor = SystemColors.ControlDarkDark;
|
|
btnTrueProInput.Location = new Point(741, 93);
|
|
btnTrueProInput.Name = "btnTrueProInput";
|
|
btnTrueProInput.Size = new Size(119, 47);
|
|
btnTrueProInput.TabIndex = 8;
|
|
btnTrueProInput.Text = "确认";
|
|
btnTrueProInput.UseVisualStyleBackColor = true;
|
|
btnTrueProInput.Click += btnTrueProInput_Click;
|
|
//
|
|
// txtRemainWeight
|
|
//
|
|
txtRemainWeight.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
txtRemainWeight.Location = new Point(715, 49);
|
|
txtRemainWeight.Name = "txtRemainWeight";
|
|
txtRemainWeight.Size = new Size(100, 32);
|
|
txtRemainWeight.TabIndex = 13;
|
|
//
|
|
// txtShelfLife
|
|
//
|
|
txtShelfLife.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
txtShelfLife.Location = new Point(504, 49);
|
|
txtShelfLife.Name = "txtShelfLife";
|
|
txtShelfLife.Size = new Size(100, 32);
|
|
txtShelfLife.TabIndex = 7;
|
|
//
|
|
// label12
|
|
//
|
|
label12.AutoSize = true;
|
|
label12.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label12.ForeColor = SystemColors.WindowFrame;
|
|
label12.Location = new Point(618, 52);
|
|
label12.Name = "label12";
|
|
label12.Size = new Size(107, 26);
|
|
label12.TabIndex = 12;
|
|
label12.Text = "剩余重量:";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label6.ForeColor = SystemColors.WindowFrame;
|
|
label6.Location = new Point(428, 52);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(88, 26);
|
|
label6.TabIndex = 6;
|
|
label6.Text = "保质期:";
|
|
//
|
|
// txtBatch
|
|
//
|
|
txtBatch.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
txtBatch.Location = new Point(315, 49);
|
|
txtBatch.Name = "txtBatch";
|
|
txtBatch.Size = new Size(100, 32);
|
|
txtBatch.TabIndex = 5;
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label7.ForeColor = SystemColors.WindowFrame;
|
|
label7.Location = new Point(260, 52);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(69, 26);
|
|
label7.TabIndex = 4;
|
|
label7.Text = "批号:";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
label5.ForeColor = SystemColors.WindowFrame;
|
|
label5.Location = new Point(221, 55);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(36, 25);
|
|
label5.TabIndex = 3;
|
|
label5.Text = "Kg";
|
|
//
|
|
// txtWeight
|
|
//
|
|
txtWeight.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
txtWeight.Location = new Point(115, 49);
|
|
txtWeight.Name = "txtWeight";
|
|
txtWeight.Size = new Size(100, 32);
|
|
txtWeight.TabIndex = 2;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label4.ForeColor = SystemColors.WindowFrame;
|
|
label4.Location = new Point(22, 52);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(107, 26);
|
|
label4.TabIndex = 1;
|
|
label4.Text = "入库重量:";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Font = new Font("Microsoft YaHei UI", 18F, FontStyle.Bold);
|
|
label3.ForeColor = SystemColors.ControlDarkDark;
|
|
label3.Location = new Point(42, 6);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(110, 31);
|
|
label3.TabIndex = 0;
|
|
label3.Text = "信息输入";
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.BorderStyle = BorderStyle.FixedSingle;
|
|
panel1.Controls.Add(pictureBox2);
|
|
panel1.Controls.Add(lblRawBeforeInfo);
|
|
panel1.Controls.Add(btnRawName3);
|
|
panel1.Controls.Add(btnRawName2);
|
|
panel1.Controls.Add(btnRawName1);
|
|
panel1.Controls.Add(label2);
|
|
panel1.Dock = DockStyle.Top;
|
|
panel1.Location = new Point(3, 51);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(878, 170);
|
|
panel1.TabIndex = 1;
|
|
//
|
|
// pictureBox2
|
|
//
|
|
pictureBox2.BackgroundImageLayout = ImageLayout.None;
|
|
pictureBox2.Image = Properties.Resources.选择;
|
|
pictureBox2.Location = new Point(8, 6);
|
|
pictureBox2.Name = "pictureBox2";
|
|
pictureBox2.Size = new Size(35, 35);
|
|
pictureBox2.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pictureBox2.TabIndex = 12;
|
|
pictureBox2.TabStop = false;
|
|
//
|
|
// lblRawBeforeInfo
|
|
//
|
|
lblRawBeforeInfo.BackColor = Color.Tomato;
|
|
lblRawBeforeInfo.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
lblRawBeforeInfo.ForeColor = SystemColors.ButtonHighlight;
|
|
lblRawBeforeInfo.Location = new Point(643, 6);
|
|
lblRawBeforeInfo.Name = "lblRawBeforeInfo";
|
|
lblRawBeforeInfo.Size = new Size(227, 35);
|
|
lblRawBeforeInfo.TabIndex = 11;
|
|
lblRawBeforeInfo.Text = "发现之前未用尽的原料";
|
|
lblRawBeforeInfo.TextAlign = ContentAlignment.MiddleCenter;
|
|
lblRawBeforeInfo.Visible = false;
|
|
//
|
|
// btnRawName3
|
|
//
|
|
btnRawName3.Enabled = false;
|
|
btnRawName3.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnRawName3.Location = new Point(321, 53);
|
|
btnRawName3.Name = "btnRawName3";
|
|
btnRawName3.Size = new Size(266, 48);
|
|
btnRawName3.TabIndex = 3;
|
|
btnRawName3.Text = "YG03031004 抗性糊精";
|
|
btnRawName3.UseVisualStyleBackColor = true;
|
|
btnRawName3.Click += btnRawName3_Click;
|
|
//
|
|
// btnRawName2
|
|
//
|
|
btnRawName2.Enabled = false;
|
|
btnRawName2.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnRawName2.Location = new Point(24, 107);
|
|
btnRawName2.Name = "btnRawName2";
|
|
btnRawName2.Size = new Size(266, 48);
|
|
btnRawName2.TabIndex = 2;
|
|
btnRawName2.Text = "YG03010001 白砂糖";
|
|
btnRawName2.UseVisualStyleBackColor = true;
|
|
btnRawName2.Click += btnRawName2_Click;
|
|
//
|
|
// btnRawName1
|
|
//
|
|
btnRawName1.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnRawName1.Location = new Point(24, 53);
|
|
btnRawName1.Name = "btnRawName1";
|
|
btnRawName1.Size = new Size(266, 48);
|
|
btnRawName1.TabIndex = 1;
|
|
btnRawName1.Text = "YG05030013 瑞士乳杆菌GCL1815";
|
|
btnRawName1.UseVisualStyleBackColor = true;
|
|
btnRawName1.Click += btnRawName1_Click;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Font = new Font("Microsoft YaHei UI", 18F, FontStyle.Bold);
|
|
label2.ForeColor = SystemColors.ControlDarkDark;
|
|
label2.Location = new Point(45, 8);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(158, 31);
|
|
label2.TabIndex = 0;
|
|
label2.Text = "选中原料名称";
|
|
//
|
|
// label1
|
|
//
|
|
label1.BackColor = Color.DeepSkyBlue;
|
|
label1.Dock = DockStyle.Top;
|
|
label1.Font = new Font("Microsoft YaHei UI", 24F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label1.ForeColor = SystemColors.ButtonHighlight;
|
|
label1.Location = new Point(3, 3);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(878, 48);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "生产原料入库";
|
|
label1.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// tabPage3
|
|
//
|
|
tabPage3.Controls.Add(txtOpName);
|
|
tabPage3.Controls.Add(label28);
|
|
tabPage3.Controls.Add(btnLogin);
|
|
tabPage3.Controls.Add(txtPassword);
|
|
tabPage3.Controls.Add(txtCheckUserName);
|
|
tabPage3.Controls.Add(label17);
|
|
tabPage3.Controls.Add(label16);
|
|
tabPage3.Controls.Add(label15);
|
|
tabPage3.Controls.Add(label14);
|
|
tabPage3.Location = new Point(4, 5);
|
|
tabPage3.Name = "tabPage3";
|
|
tabPage3.Size = new Size(884, 693);
|
|
tabPage3.TabIndex = 2;
|
|
tabPage3.UseVisualStyleBackColor = true;
|
|
//
|
|
// txtOpName
|
|
//
|
|
txtOpName.Font = new Font("微软雅黑", 16F);
|
|
txtOpName.Location = new Point(527, 218);
|
|
txtOpName.Name = "txtOpName";
|
|
txtOpName.Size = new Size(97, 36);
|
|
txtOpName.TabIndex = 9;
|
|
//
|
|
// label28
|
|
//
|
|
label28.AutoSize = true;
|
|
label28.Font = new Font("微软雅黑", 16F);
|
|
label28.Location = new Point(439, 219);
|
|
label28.Name = "label28";
|
|
label28.Size = new Size(84, 30);
|
|
label28.TabIndex = 8;
|
|
label28.Text = "操作者:";
|
|
//
|
|
// btnLogin
|
|
//
|
|
btnLogin.BackColor = Color.SandyBrown;
|
|
btnLogin.Font = new Font("微软雅黑", 22F);
|
|
btnLogin.ForeColor = SystemColors.ButtonHighlight;
|
|
btnLogin.Location = new Point(355, 372);
|
|
btnLogin.Name = "btnLogin";
|
|
btnLogin.Size = new Size(224, 79);
|
|
btnLogin.TabIndex = 7;
|
|
btnLogin.Text = "登 录";
|
|
btnLogin.UseVisualStyleBackColor = false;
|
|
btnLogin.Click += btnLogin_Click;
|
|
//
|
|
// txtPassword
|
|
//
|
|
txtPassword.Font = new Font("微软雅黑", 16F);
|
|
txtPassword.Location = new Point(335, 296);
|
|
txtPassword.Name = "txtPassword";
|
|
txtPassword.Size = new Size(289, 36);
|
|
txtPassword.TabIndex = 6;
|
|
//
|
|
// txtCheckUserName
|
|
//
|
|
txtCheckUserName.Font = new Font("微软雅黑", 16F);
|
|
txtCheckUserName.Location = new Point(335, 218);
|
|
txtCheckUserName.Name = "txtCheckUserName";
|
|
txtCheckUserName.Size = new Size(97, 36);
|
|
txtCheckUserName.TabIndex = 5;
|
|
//
|
|
// label17
|
|
//
|
|
label17.AutoSize = true;
|
|
label17.Font = new Font("微软雅黑", 16F);
|
|
label17.Location = new Point(247, 296);
|
|
label17.Name = "label17";
|
|
label17.Size = new Size(62, 30);
|
|
label17.TabIndex = 4;
|
|
label17.Text = "密码:";
|
|
//
|
|
// label16
|
|
//
|
|
label16.AutoSize = true;
|
|
label16.Font = new Font("微软雅黑", 16F);
|
|
label16.Location = new Point(247, 219);
|
|
label16.Name = "label16";
|
|
label16.Size = new Size(84, 30);
|
|
label16.TabIndex = 3;
|
|
label16.Text = "确认者:";
|
|
//
|
|
// label15
|
|
//
|
|
label15.AutoSize = true;
|
|
label15.Font = new Font("微软雅黑", 26.75F);
|
|
label15.Location = new Point(361, 128);
|
|
label15.Name = "label15";
|
|
label15.Size = new Size(164, 46);
|
|
label15.TabIndex = 2;
|
|
label15.Text = "用户登录";
|
|
//
|
|
// label14
|
|
//
|
|
label14.BackColor = Color.DeepSkyBlue;
|
|
label14.Dock = DockStyle.Top;
|
|
label14.Font = new Font("Microsoft YaHei UI", 24F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label14.ForeColor = SystemColors.ButtonHighlight;
|
|
label14.Location = new Point(0, 0);
|
|
label14.Name = "label14";
|
|
label14.Size = new Size(884, 48);
|
|
label14.TabIndex = 1;
|
|
label14.Text = "用户登录";
|
|
label14.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// tabPage1
|
|
//
|
|
tabPage1.Controls.Add(groupBox1);
|
|
tabPage1.Controls.Add(dataGridView1);
|
|
tabPage1.Controls.Add(label22);
|
|
tabPage1.Location = new Point(4, 5);
|
|
tabPage1.Name = "tabPage1";
|
|
tabPage1.Size = new Size(884, 693);
|
|
tabPage1.TabIndex = 3;
|
|
tabPage1.UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Controls.Add(label26);
|
|
groupBox1.Controls.Add(cbxSearchRawName);
|
|
groupBox1.Controls.Add(txtSearchBatch);
|
|
groupBox1.Controls.Add(label25);
|
|
groupBox1.Controls.Add(btnSearchHistoryData);
|
|
groupBox1.Controls.Add(label24);
|
|
groupBox1.Controls.Add(dtpSearchEndTime);
|
|
groupBox1.Controls.Add(label23);
|
|
groupBox1.Controls.Add(dtpSearchStartTime);
|
|
groupBox1.Dock = DockStyle.Top;
|
|
groupBox1.Location = new Point(0, 48);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(884, 109);
|
|
groupBox1.TabIndex = 4;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "搜索条件";
|
|
//
|
|
// label26
|
|
//
|
|
label26.AutoSize = true;
|
|
label26.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label26.Location = new Point(385, 29);
|
|
label26.Name = "label26";
|
|
label26.Size = new Size(74, 22);
|
|
label26.TabIndex = 8;
|
|
label26.Text = "原料名称";
|
|
//
|
|
// cbxSearchRawName
|
|
//
|
|
cbxSearchRawName.FormattingEnabled = true;
|
|
cbxSearchRawName.Location = new Point(371, 57);
|
|
cbxSearchRawName.Name = "cbxSearchRawName";
|
|
cbxSearchRawName.Size = new Size(121, 25);
|
|
cbxSearchRawName.TabIndex = 7;
|
|
//
|
|
// txtSearchBatch
|
|
//
|
|
txtSearchBatch.Location = new Point(532, 59);
|
|
txtSearchBatch.Name = "txtSearchBatch";
|
|
txtSearchBatch.Size = new Size(100, 23);
|
|
txtSearchBatch.TabIndex = 6;
|
|
//
|
|
// label25
|
|
//
|
|
label25.AutoSize = true;
|
|
label25.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label25.Location = new Point(543, 29);
|
|
label25.Name = "label25";
|
|
label25.Size = new Size(74, 22);
|
|
label25.TabIndex = 5;
|
|
label25.Text = "原料批号";
|
|
//
|
|
// btnSearchHistoryData
|
|
//
|
|
btnSearchHistoryData.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
btnSearchHistoryData.Location = new Point(740, 44);
|
|
btnSearchHistoryData.Name = "btnSearchHistoryData";
|
|
btnSearchHistoryData.Size = new Size(122, 43);
|
|
btnSearchHistoryData.TabIndex = 4;
|
|
btnSearchHistoryData.Text = "搜索数据";
|
|
btnSearchHistoryData.UseVisualStyleBackColor = true;
|
|
btnSearchHistoryData.Click += btnSearchHistoryData_Click;
|
|
//
|
|
// label24
|
|
//
|
|
label24.AutoSize = true;
|
|
label24.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label24.Location = new Point(225, 30);
|
|
label24.Name = "label24";
|
|
label24.Size = new Size(74, 22);
|
|
label24.TabIndex = 3;
|
|
label24.Text = "结束时间";
|
|
//
|
|
// dtpSearchEndTime
|
|
//
|
|
dtpSearchEndTime.CalendarFont = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
dtpSearchEndTime.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
dtpSearchEndTime.Location = new Point(196, 59);
|
|
dtpSearchEndTime.Name = "dtpSearchEndTime";
|
|
dtpSearchEndTime.Size = new Size(142, 28);
|
|
dtpSearchEndTime.TabIndex = 2;
|
|
//
|
|
// label23
|
|
//
|
|
label23.AutoSize = true;
|
|
label23.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label23.Location = new Point(64, 30);
|
|
label23.Name = "label23";
|
|
label23.Size = new Size(74, 22);
|
|
label23.TabIndex = 1;
|
|
label23.Text = "开始时间";
|
|
//
|
|
// dtpSearchStartTime
|
|
//
|
|
dtpSearchStartTime.CalendarFont = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
dtpSearchStartTime.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
dtpSearchStartTime.Location = new Point(35, 59);
|
|
dtpSearchStartTime.Name = "dtpSearchStartTime";
|
|
dtpSearchStartTime.Size = new Size(142, 28);
|
|
dtpSearchStartTime.TabIndex = 0;
|
|
//
|
|
// dataGridView1
|
|
//
|
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView1.Dock = DockStyle.Bottom;
|
|
dataGridView1.Location = new Point(0, 162);
|
|
dataGridView1.Name = "dataGridView1";
|
|
dataGridView1.ReadOnly = true;
|
|
dataGridView1.Size = new Size(884, 531);
|
|
dataGridView1.TabIndex = 3;
|
|
//
|
|
// label22
|
|
//
|
|
label22.BackColor = Color.DeepSkyBlue;
|
|
label22.Dock = DockStyle.Top;
|
|
label22.Font = new Font("Microsoft YaHei UI", 24F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label22.ForeColor = SystemColors.ButtonHighlight;
|
|
label22.Location = new Point(0, 0);
|
|
label22.Name = "label22";
|
|
label22.Size = new Size(884, 48);
|
|
label22.TabIndex = 2;
|
|
label22.Text = "历史数据";
|
|
label22.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// frmMain
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1008, 729);
|
|
Controls.Add(statusStrip1);
|
|
Controls.Add(splitContainer1);
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
Name = "frmMain";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "管理界面";
|
|
WindowState = FormWindowState.Maximized;
|
|
FormClosed += frmMain_FormClosed;
|
|
Load += frmMain_Load;
|
|
statusStrip1.ResumeLayout(false);
|
|
statusStrip1.PerformLayout();
|
|
splitContainer1.Panel1.ResumeLayout(false);
|
|
splitContainer1.Panel1.PerformLayout();
|
|
splitContainer1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
|
|
splitContainer1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
TabControlMain.ResumeLayout(false);
|
|
tabPage2.ResumeLayout(false);
|
|
panel4.ResumeLayout(false);
|
|
panel4.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox5).EndInit();
|
|
panel3.ResumeLayout(false);
|
|
panel3.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox4).EndInit();
|
|
panel2.ResumeLayout(false);
|
|
panel2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox3).EndInit();
|
|
panel1.ResumeLayout(false);
|
|
panel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
|
|
tabPage3.ResumeLayout(false);
|
|
tabPage3.PerformLayout();
|
|
tabPage1.ResumeLayout(false);
|
|
groupBox1.ResumeLayout(false);
|
|
groupBox1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private StatusStrip statusStrip1;
|
|
private SplitContainer splitContainer1;
|
|
private TabControl TabControlMain;
|
|
private TabPage tabPage2;
|
|
private TabPage tabPage3;
|
|
private Label label1;
|
|
private Panel panel1;
|
|
private Label label2;
|
|
private Button btnRawName1;
|
|
private Button btnRawName3;
|
|
private Button btnRawName2;
|
|
private Panel panel2;
|
|
private Label label3;
|
|
private Label label4;
|
|
private TextBox txtWeight;
|
|
private Label label5;
|
|
private TextBox txtBatch;
|
|
private Label label7;
|
|
private TextBox txtShelfLife;
|
|
private Label label6;
|
|
private Button btnTrueProInput;
|
|
private Button btnHistoryData;
|
|
private Panel panel3;
|
|
private Label label8;
|
|
private Label label9;
|
|
private TextBox txtRtWeight;
|
|
private Label label10;
|
|
private Label label11;
|
|
private TextBox txtRemainWeight;
|
|
private Label label12;
|
|
private TextBox txtCode;
|
|
private Label label13;
|
|
private Button btnWeightPrint;
|
|
private Label label14;
|
|
private Button btnLogin;
|
|
private TextBox txtPassword;
|
|
private TextBox txtCheckUserName;
|
|
private Label label17;
|
|
private Label label16;
|
|
private Label label15;
|
|
private ToolStripStatusLabel tslCurrentUser;
|
|
private ToolStripStatusLabel tslWeightState;
|
|
private ToolStripStatusLabel tslServerState;
|
|
private ToolStripStatusLabel tslPrintState;
|
|
private Label lblRawUseState;
|
|
private Button btnClearRaw;
|
|
private Label lblRawBeforeInfo;
|
|
private Label lblRawUseStateTip;
|
|
private PictureBox pictureBox1;
|
|
private TabPage tabPage1;
|
|
private Label label18;
|
|
private Button bntFrmLogin;
|
|
private Button btnSysConfig;
|
|
private Label label19;
|
|
private Label label20;
|
|
private Label label21;
|
|
private Button btnExit;
|
|
private Label label22;
|
|
private DataGridView dataGridView1;
|
|
private GroupBox groupBox1;
|
|
private DateTimePicker dtpSearchStartTime;
|
|
private Button btnSearchHistoryData;
|
|
private Label label24;
|
|
private DateTimePicker dtpSearchEndTime;
|
|
private Label label23;
|
|
private TextBox txtSearchBatch;
|
|
private Label label25;
|
|
private ComboBox cbxSearchRawName;
|
|
private Label label26;
|
|
private Label label27;
|
|
private Button btnMain;
|
|
private PictureBox pictureBox2;
|
|
private PictureBox pictureBox3;
|
|
private PictureBox pictureBox4;
|
|
private TextBox txtOpName;
|
|
private Label label28;
|
|
private Button btnReprint;
|
|
private Label label29;
|
|
private TextBox txtWeightUp;
|
|
private Label label30;
|
|
private TextBox txtWeightDown;
|
|
private Panel panel4;
|
|
private PictureBox pictureBox5;
|
|
private Label label31;
|
|
private Button btnConfigSave;
|
|
}
|
|
} |