diff --git a/RfidWeb/FormMain.Designer.cs b/RfidWeb/FormMain.Designer.cs
new file mode 100644
index 0000000..4c4dcab
--- /dev/null
+++ b/RfidWeb/FormMain.Designer.cs
@@ -0,0 +1,322 @@
+namespace RfidWeb
+{
+ partial class FormMain
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.panel5 = new System.Windows.Forms.Panel();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel6 = new System.Windows.Forms.Panel();
+ this.panel8 = new System.Windows.Forms.Panel();
+ this.button4 = new System.Windows.Forms.Button();
+ this.button3 = new System.Windows.Forms.Button();
+ this.btnMes = new System.Windows.Forms.Button();
+ this.btnAccount = new System.Windows.Forms.Button();
+ this.btnAlarm = new System.Windows.Forms.Button();
+ this.btnExit = new System.Windows.Forms.Button();
+ this.btnArgument = new System.Windows.Forms.Button();
+ this.btnMain = new System.Windows.Forms.Button();
+ this.panel1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.panel5.SuspendLayout();
+ this.panel6.SuspendLayout();
+ this.panel8.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel1
+ //
+ this.panel1.BackgroundImage = global::RfidWeb.Properties.Resources.frmBei;
+ this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.panel1.Controls.Add(this.panel6);
+ this.panel1.Controls.Add(this.panel2);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(1280, 1024);
+ this.panel1.TabIndex = 0;
+ //
+ // panel2
+ //
+ this.panel2.BackColor = System.Drawing.Color.Transparent;
+ this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.panel2.Controls.Add(this.panel4);
+ this.panel2.Controls.Add(this.panel3);
+ this.panel2.Controls.Add(this.panel5);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel2.Location = new System.Drawing.Point(0, 0);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(1280, 68);
+ this.panel2.TabIndex = 0;
+ //
+ // panel3
+ //
+ this.panel3.BackColor = System.Drawing.Color.Transparent;
+ this.panel3.Controls.Add(this.pictureBox1);
+ this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel3.Location = new System.Drawing.Point(0, 0);
+ this.panel3.Margin = new System.Windows.Forms.Padding(4);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(370, 68);
+ this.panel3.TabIndex = 1;
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.Image = global::RfidWeb.Properties.Resources.mesnac;
+ this.pictureBox1.Location = new System.Drawing.Point(22, 14);
+ this.pictureBox1.Margin = new System.Windows.Forms.Padding(4);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(322, 40);
+ this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pictureBox1.TabIndex = 0;
+ this.pictureBox1.TabStop = false;
+ //
+ // panel5
+ //
+ this.panel5.BackColor = System.Drawing.Color.Transparent;
+ this.panel5.Controls.Add(this.label1);
+ this.panel5.Controls.Add(this.label2);
+ this.panel5.Dock = System.Windows.Forms.DockStyle.Right;
+ this.panel5.Location = new System.Drawing.Point(841, 0);
+ this.panel5.Margin = new System.Windows.Forms.Padding(4);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(439, 68);
+ this.panel5.TabIndex = 3;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(236, 12);
+ this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(117, 40);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "10:25";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(4, 12);
+ this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(217, 40);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "2024/10/25";
+ //
+ // panel4
+ //
+ this.panel4.BackColor = System.Drawing.Color.Transparent;
+ this.panel4.BackgroundImage = global::RfidWeb.Properties.Resources.frm21;
+ this.panel4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
+ this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel4.Location = new System.Drawing.Point(370, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(4);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(471, 68);
+ this.panel4.TabIndex = 4;
+ //
+ // panel6
+ //
+ this.panel6.BackColor = System.Drawing.Color.Transparent;
+ this.panel6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.panel6.Controls.Add(this.panel8);
+ this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel6.Location = new System.Drawing.Point(0, 68);
+ this.panel6.Name = "panel6";
+ this.panel6.Size = new System.Drawing.Size(1280, 956);
+ this.panel6.TabIndex = 1;
+ //
+ // panel8
+ //
+ this.panel8.BackColor = System.Drawing.Color.Transparent;
+ this.panel8.Controls.Add(this.button4);
+ this.panel8.Controls.Add(this.button3);
+ this.panel8.Controls.Add(this.btnMes);
+ this.panel8.Controls.Add(this.btnAccount);
+ this.panel8.Controls.Add(this.btnAlarm);
+ this.panel8.Controls.Add(this.btnExit);
+ this.panel8.Controls.Add(this.btnArgument);
+ this.panel8.Controls.Add(this.btnMain);
+ this.panel8.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel8.Location = new System.Drawing.Point(0, 0);
+ this.panel8.Margin = new System.Windows.Forms.Padding(4);
+ this.panel8.Name = "panel8";
+ this.panel8.Size = new System.Drawing.Size(344, 956);
+ this.panel8.TabIndex = 3;
+ //
+ // button4
+ //
+ this.button4.BackgroundImage = global::RfidWeb.Properties.Resources.照明关;
+ this.button4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.button4.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button4.Location = new System.Drawing.Point(22, 605);
+ this.button4.Margin = new System.Windows.Forms.Padding(4);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(168, 159);
+ this.button4.TabIndex = 6;
+ this.button4.UseVisualStyleBackColor = true;
+ //
+ // button3
+ //
+ this.button3.BackgroundImage = global::RfidWeb.Properties.Resources.消音开;
+ this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.button3.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button3.Location = new System.Drawing.Point(22, 510);
+ this.button3.Margin = new System.Windows.Forms.Padding(4);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(300, 87);
+ this.button3.TabIndex = 5;
+ this.button3.UseVisualStyleBackColor = true;
+ //
+ // btnMes
+ //
+ this.btnMes.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
+ this.btnMes.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMes.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnMes.Location = new System.Drawing.Point(22, 415);
+ this.btnMes.Margin = new System.Windows.Forms.Padding(4);
+ this.btnMes.Name = "btnMes";
+ this.btnMes.Size = new System.Drawing.Size(300, 87);
+ this.btnMes.TabIndex = 4;
+ this.btnMes.Text = "生产计划";
+ this.btnMes.UseVisualStyleBackColor = true;
+ //
+ // btnAccount
+ //
+ this.btnAccount.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
+ this.btnAccount.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnAccount.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnAccount.Location = new System.Drawing.Point(22, 320);
+ this.btnAccount.Margin = new System.Windows.Forms.Padding(4);
+ this.btnAccount.Name = "btnAccount";
+ this.btnAccount.Size = new System.Drawing.Size(300, 87);
+ this.btnAccount.TabIndex = 3;
+ this.btnAccount.Text = "账户管理";
+ this.btnAccount.UseVisualStyleBackColor = true;
+ //
+ // btnAlarm
+ //
+ this.btnAlarm.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
+ this.btnAlarm.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnAlarm.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnAlarm.Location = new System.Drawing.Point(22, 225);
+ this.btnAlarm.Margin = new System.Windows.Forms.Padding(4);
+ this.btnAlarm.Name = "btnAlarm";
+ this.btnAlarm.Size = new System.Drawing.Size(300, 87);
+ this.btnAlarm.TabIndex = 3;
+ this.btnAlarm.Text = "报警记录";
+ this.btnAlarm.UseVisualStyleBackColor = true;
+ //
+ // btnExit
+ //
+ this.btnExit.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
+ this.btnExit.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnExit.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnExit.Location = new System.Drawing.Point(22, 841);
+ this.btnExit.Margin = new System.Windows.Forms.Padding(4);
+ this.btnExit.Name = "btnExit";
+ this.btnExit.Size = new System.Drawing.Size(291, 87);
+ this.btnExit.TabIndex = 2;
+ this.btnExit.Text = "退出";
+ this.btnExit.UseVisualStyleBackColor = true;
+ this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
+ //
+ // btnArgument
+ //
+ this.btnArgument.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
+ this.btnArgument.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnArgument.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnArgument.Location = new System.Drawing.Point(22, 120);
+ this.btnArgument.Margin = new System.Windows.Forms.Padding(4);
+ this.btnArgument.Name = "btnArgument";
+ this.btnArgument.Size = new System.Drawing.Size(300, 87);
+ this.btnArgument.TabIndex = 1;
+ this.btnArgument.Text = "参数界面";
+ this.btnArgument.UseVisualStyleBackColor = true;
+ //
+ // btnMain
+ //
+ this.btnMain.BackgroundImage = global::RfidWeb.Properties.Resources.btn_sel1;
+ this.btnMain.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.btnMain.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnMain.Location = new System.Drawing.Point(22, 22);
+ this.btnMain.Margin = new System.Windows.Forms.Padding(4);
+ this.btnMain.Name = "btnMain";
+ this.btnMain.Size = new System.Drawing.Size(300, 90);
+ this.btnMain.TabIndex = 0;
+ this.btnMain.Text = "首页";
+ this.btnMain.UseVisualStyleBackColor = true;
+ //
+ // FormMain
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(1280, 1024);
+ this.Controls.Add(this.panel1);
+ this.Name = "FormMain";
+ this.Text = "FormMain";
+ this.panel1.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel3.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.panel5.ResumeLayout(false);
+ this.panel5.PerformLayout();
+ this.panel6.ResumeLayout(false);
+ this.panel8.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.PictureBox pictureBox1;
+ private System.Windows.Forms.Panel panel5;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel6;
+ private System.Windows.Forms.Panel panel8;
+ private System.Windows.Forms.Button button4;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.Button btnMes;
+ private System.Windows.Forms.Button btnAccount;
+ private System.Windows.Forms.Button btnAlarm;
+ private System.Windows.Forms.Button btnExit;
+ private System.Windows.Forms.Button btnArgument;
+ private System.Windows.Forms.Button btnMain;
+ }
+}
\ No newline at end of file
diff --git a/RfidWeb/FormMain.cs b/RfidWeb/FormMain.cs
new file mode 100644
index 0000000..7cb551e
--- /dev/null
+++ b/RfidWeb/FormMain.cs
@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace RfidWeb
+{
+ public partial class FormMain : Form
+ {
+ public FormMain()
+ {
+ InitializeComponent();
+ if (this.FormBorderStyle == FormBorderStyle.None)
+ {
+ this.FormBorderStyle = FormBorderStyle.FixedSingle;
+ this.WindowState = FormWindowState.Normal;
+ }
+ else
+ {
+ this.FormBorderStyle = FormBorderStyle.None;
+ this.WindowState = FormWindowState.Maximized;
+ }
+
+ }
+
+ private void btnExit_Click(object sender, EventArgs e)
+ {
+ Application.Exit();
+ }
+ }
+}
diff --git a/RfidWeb/FormMain.resx b/RfidWeb/FormMain.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/RfidWeb/FormMain.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/RfidWeb/FrmMain.Designer.cs b/RfidWeb/FrmMain.Designer.cs
index 53567cb..8a3eb01 100644
--- a/RfidWeb/FrmMain.Designer.cs
+++ b/RfidWeb/FrmMain.Designer.cs
@@ -30,6 +30,7 @@
{
this.panel1 = new System.Windows.Forms.Panel();
this.panel222 = new System.Windows.Forms.Panel();
+ this.panel6 = new System.Windows.Forms.Panel();
this.panel7 = new System.Windows.Forms.Panel();
this.panel8 = new System.Windows.Forms.Panel();
this.button4 = new System.Windows.Forms.Button();
@@ -49,7 +50,6 @@
this.label1 = new System.Windows.Forms.Label();
this.panel3 = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.panel6 = new System.Windows.Forms.Panel();
this.panel1.SuspendLayout();
this.panel222.SuspendLayout();
this.panel7.SuspendLayout();
@@ -66,8 +66,9 @@
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(856, 670);
+ this.panel1.Size = new System.Drawing.Size(1284, 1005);
this.panel1.TabIndex = 0;
//
// panel222
@@ -77,11 +78,22 @@
this.panel222.Controls.Add(this.panel7);
this.panel222.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel222.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panel222.Location = new System.Drawing.Point(0, 54);
+ this.panel222.Location = new System.Drawing.Point(0, 81);
+ this.panel222.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel222.Name = "panel222";
- this.panel222.Size = new System.Drawing.Size(856, 616);
+ this.panel222.Size = new System.Drawing.Size(1284, 924);
this.panel222.TabIndex = 1;
//
+ // panel6
+ //
+ this.panel6.BackColor = System.Drawing.Color.LightCoral;
+ this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel6.Location = new System.Drawing.Point(362, 0);
+ this.panel6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.panel6.Name = "panel6";
+ this.panel6.Size = new System.Drawing.Size(922, 924);
+ this.panel6.TabIndex = 1;
+ //
// panel7
//
this.panel7.BackColor = System.Drawing.Color.Transparent;
@@ -90,8 +102,9 @@
this.panel7.Controls.Add(this.button1);
this.panel7.Dock = System.Windows.Forms.DockStyle.Left;
this.panel7.Location = new System.Drawing.Point(0, 0);
+ this.panel7.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel7.Name = "panel7";
- this.panel7.Size = new System.Drawing.Size(241, 616);
+ this.panel7.Size = new System.Drawing.Size(362, 924);
this.panel7.TabIndex = 0;
//
// panel8
@@ -107,8 +120,9 @@
this.panel8.Controls.Add(this.btnMain);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 0);
+ this.panel8.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel8.Name = "panel8";
- this.panel8.Size = new System.Drawing.Size(241, 616);
+ this.panel8.Size = new System.Drawing.Size(362, 924);
this.panel8.TabIndex = 2;
//
// button4
@@ -116,9 +130,10 @@
this.button4.BackgroundImage = global::RfidWeb.Properties.Resources.照明关;
this.button4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button4.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button4.Location = new System.Drawing.Point(21, 550);
+ this.button4.Location = new System.Drawing.Point(32, 825);
+ this.button4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(112, 106);
+ this.button4.Size = new System.Drawing.Size(168, 159);
this.button4.TabIndex = 6;
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click_1);
@@ -128,9 +143,10 @@
this.button3.BackgroundImage = global::RfidWeb.Properties.Resources.消音开;
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button3.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button3.Location = new System.Drawing.Point(21, 463);
+ this.button3.Location = new System.Drawing.Point(32, 694);
+ this.button3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(200, 58);
+ this.button3.Size = new System.Drawing.Size(300, 87);
this.button3.TabIndex = 5;
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
@@ -140,9 +156,10 @@
this.btnMes.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
this.btnMes.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnMes.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnMes.Location = new System.Drawing.Point(21, 374);
+ this.btnMes.Location = new System.Drawing.Point(32, 561);
+ this.btnMes.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnMes.Name = "btnMes";
- this.btnMes.Size = new System.Drawing.Size(200, 58);
+ this.btnMes.Size = new System.Drawing.Size(300, 87);
this.btnMes.TabIndex = 4;
this.btnMes.Text = "生产计划";
this.btnMes.UseVisualStyleBackColor = true;
@@ -152,9 +169,10 @@
this.btnAccount.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
this.btnAccount.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnAccount.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnAccount.Location = new System.Drawing.Point(21, 291);
+ this.btnAccount.Location = new System.Drawing.Point(32, 436);
+ this.btnAccount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnAccount.Name = "btnAccount";
- this.btnAccount.Size = new System.Drawing.Size(200, 58);
+ this.btnAccount.Size = new System.Drawing.Size(300, 87);
this.btnAccount.TabIndex = 3;
this.btnAccount.Text = "账户管理";
this.btnAccount.UseVisualStyleBackColor = true;
@@ -164,9 +182,10 @@
this.btnAlarm.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
this.btnAlarm.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnAlarm.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnAlarm.Location = new System.Drawing.Point(21, 211);
+ this.btnAlarm.Location = new System.Drawing.Point(32, 316);
+ this.btnAlarm.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnAlarm.Name = "btnAlarm";
- this.btnAlarm.Size = new System.Drawing.Size(200, 58);
+ this.btnAlarm.Size = new System.Drawing.Size(300, 87);
this.btnAlarm.TabIndex = 3;
this.btnAlarm.Text = "报警记录";
this.btnAlarm.UseVisualStyleBackColor = true;
@@ -176,9 +195,10 @@
this.btnExit.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
this.btnExit.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnExit.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnExit.Location = new System.Drawing.Point(21, 851);
+ this.btnExit.Location = new System.Drawing.Point(32, 1276);
+ this.btnExit.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnExit.Name = "btnExit";
- this.btnExit.Size = new System.Drawing.Size(194, 58);
+ this.btnExit.Size = new System.Drawing.Size(291, 87);
this.btnExit.TabIndex = 2;
this.btnExit.Text = "退出";
this.btnExit.UseVisualStyleBackColor = true;
@@ -189,9 +209,10 @@
this.btnArgument.BackgroundImage = global::RfidWeb.Properties.Resources.btn;
this.btnArgument.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnArgument.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnArgument.Location = new System.Drawing.Point(21, 132);
+ this.btnArgument.Location = new System.Drawing.Point(32, 198);
+ this.btnArgument.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnArgument.Name = "btnArgument";
- this.btnArgument.Size = new System.Drawing.Size(200, 58);
+ this.btnArgument.Size = new System.Drawing.Size(300, 87);
this.btnArgument.TabIndex = 1;
this.btnArgument.Text = "参数界面";
this.btnArgument.UseVisualStyleBackColor = true;
@@ -202,9 +223,10 @@
this.btnMain.BackgroundImage = global::RfidWeb.Properties.Resources.btn_sel1;
this.btnMain.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnMain.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnMain.Location = new System.Drawing.Point(21, 55);
+ this.btnMain.Location = new System.Drawing.Point(32, 82);
+ this.btnMain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnMain.Name = "btnMain";
- this.btnMain.Size = new System.Drawing.Size(200, 60);
+ this.btnMain.Size = new System.Drawing.Size(300, 90);
this.btnMain.TabIndex = 0;
this.btnMain.Text = "首页";
this.btnMain.UseVisualStyleBackColor = true;
@@ -213,9 +235,10 @@
// button2
//
this.button2.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button2.Location = new System.Drawing.Point(44, 132);
+ this.button2.Location = new System.Drawing.Point(66, 198);
+ this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(150, 58);
+ this.button2.Size = new System.Drawing.Size(225, 87);
this.button2.TabIndex = 1;
this.button2.Text = "首页";
this.button2.UseVisualStyleBackColor = true;
@@ -223,9 +246,10 @@
// button1
//
this.button1.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.button1.Location = new System.Drawing.Point(44, 55);
+ this.button1.Location = new System.Drawing.Point(66, 82);
+ this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(150, 58);
+ this.button1.Size = new System.Drawing.Size(225, 87);
this.button1.TabIndex = 0;
this.button1.Text = "首页";
this.button1.UseVisualStyleBackColor = true;
@@ -238,8 +262,9 @@
this.panel2.Controls.Add(this.panel3);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0);
+ this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(856, 54);
+ this.panel2.Size = new System.Drawing.Size(1284, 81);
this.panel2.TabIndex = 0;
//
// panel4
@@ -248,9 +273,10 @@
this.panel4.BackgroundImage = global::RfidWeb.Properties.Resources.frm21;
this.panel4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel4.Location = new System.Drawing.Point(377, 0);
+ this.panel4.Location = new System.Drawing.Point(566, 0);
+ this.panel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel4.Name = "panel4";
- this.panel4.Size = new System.Drawing.Size(102, 54);
+ this.panel4.Size = new System.Drawing.Size(152, 81);
this.panel4.TabIndex = 3;
//
// panel5
@@ -259,18 +285,20 @@
this.panel5.Controls.Add(this.label2);
this.panel5.Controls.Add(this.label1);
this.panel5.Dock = System.Windows.Forms.DockStyle.Right;
- this.panel5.Location = new System.Drawing.Point(479, 0);
+ this.panel5.Location = new System.Drawing.Point(718, 0);
+ this.panel5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel5.Name = "panel5";
- this.panel5.Size = new System.Drawing.Size(377, 54);
+ this.panel5.Size = new System.Drawing.Size(566, 81);
this.panel5.TabIndex = 2;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label2.Location = new System.Drawing.Point(218, 9);
+ this.label2.Location = new System.Drawing.Point(327, 14);
+ this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(82, 27);
+ this.label2.Size = new System.Drawing.Size(117, 40);
this.label2.TabIndex = 1;
this.label2.Text = "10:25";
//
@@ -278,9 +306,10 @@
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label1.Location = new System.Drawing.Point(6, 9);
+ this.label1.Location = new System.Drawing.Point(9, 14);
+ this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(152, 27);
+ this.label1.Size = new System.Drawing.Size(217, 40);
this.label1.TabIndex = 0;
this.label1.Text = "2024/10/25";
//
@@ -290,36 +319,28 @@
this.panel3.Controls.Add(this.pictureBox1);
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
this.panel3.Location = new System.Drawing.Point(0, 0);
+ this.panel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(377, 54);
+ this.panel3.Size = new System.Drawing.Size(566, 81);
this.panel3.TabIndex = 0;
//
// pictureBox1
//
this.pictureBox1.Image = global::RfidWeb.Properties.Resources.mesnac;
- this.pictureBox1.Location = new System.Drawing.Point(15, 9);
+ this.pictureBox1.Location = new System.Drawing.Point(22, 14);
+ this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(273, 27);
+ this.pictureBox1.Size = new System.Drawing.Size(410, 40);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
- // panel6
- //
- this.panel6.BackColor = System.Drawing.Color.LightCoral;
- this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel6.Location = new System.Drawing.Point(241, 0);
- this.panel6.Name = "panel6";
- this.panel6.Size = new System.Drawing.Size(615, 616);
- this.panel6.TabIndex = 1;
- //
// FrmMain
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(856, 670);
+ this.ClientSize = new System.Drawing.Size(1284, 1005);
this.Controls.Add(this.panel1);
- this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "FrmMain";
this.Text = "主程序";
this.panel1.ResumeLayout(false);
diff --git a/RfidWeb/FrmMain.cs b/RfidWeb/FrmMain.cs
index 8eb15f1..db16e6b 100644
--- a/RfidWeb/FrmMain.cs
+++ b/RfidWeb/FrmMain.cs
@@ -59,18 +59,18 @@ namespace RfidWeb
private void Init()
{
- if (this.FormBorderStyle == FormBorderStyle.None)
- {
- this.FormBorderStyle = FormBorderStyle.FixedSingle;
- this.WindowState = FormWindowState.Normal;
- }
- else
- {
- this.FormBorderStyle = FormBorderStyle.None;
- this.WindowState = FormWindowState.Maximized;
- }
+ //if (this.FormBorderStyle == FormBorderStyle.None)
+ //{
+ // this.FormBorderStyle = FormBorderStyle.FixedSingle;
+ // this.WindowState = FormWindowState.Normal;
+ //}
+ //else
+ //{
+ // this.FormBorderStyle = FormBorderStyle.None;
+ // this.WindowState = FormWindowState.Maximized;
+ //}
- panel6.Dock = DockStyle.Fill;
+ //panel6.Dock = DockStyle.Fill;
this.panel6.Controls.Add(new UserMain());
diff --git a/RfidWeb/Program.cs b/RfidWeb/Program.cs
index 5762ed1..6b36cd8 100644
--- a/RfidWeb/Program.cs
+++ b/RfidWeb/Program.cs
@@ -18,7 +18,7 @@ namespace RfidWeb
AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new FrmMain());
+ Application.Run(new FormMain());
}
}
}
diff --git a/RfidWeb/RfidWeb.csproj b/RfidWeb/RfidWeb.csproj
index f61ae09..e8846e9 100644
--- a/RfidWeb/RfidWeb.csproj
+++ b/RfidWeb/RfidWeb.csproj
@@ -118,6 +118,12 @@
+
+ Form
+
+
+ FormMain.cs
+
Form
@@ -132,6 +138,9 @@
+
+ FormMain.cs
+
FrmMain.cs