false
+
False
..\..\..\tsref\Debug\BwpClientPrint.dll
@@ -76,6 +77,12 @@
ItemSelect.cs
+
+ Form
+
+
+ ItemSelect2.cs
+
Form
@@ -84,18 +91,35 @@
+
+ True
+ True
+ Resources.resx
+
Form
ReadCardForm.cs
+
+ Form
+
+
+ ReadCardForm2.cs
+
Form
SelfHelpForm.cs
+
+ Form
+
+
+ Template.cs
+
@@ -113,25 +137,29 @@
ItemSelect.cs
+
+ ItemSelect2.cs
+
MainForm.cs
ResXFileCodeGenerator
- Resources.Designer.cs
Designer
+ Resources.Designer.cs
-
- True
- Resources.resx
- True
-
ReadCardForm.cs
+
+ ReadCardForm2.cs
+
SelfHelpForm.cs
+
+ Template.cs
+
WeightForm.cs
@@ -146,6 +174,9 @@
+
+
+
@@ -158,6 +189,12 @@
+
+
+ {2485631B-624C-43E0-9287-86FA1C8485FC}
+ ButcherFactory.Form
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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/SelfHelpClient/WeightForm.Designer.cs b/SelfHelpClient/WeightForm.Designer.cs
index 5677bfd..a66be7f 100644
--- a/SelfHelpClient/WeightForm.Designer.cs
+++ b/SelfHelpClient/WeightForm.Designer.cs
@@ -28,19 +28,22 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WeightForm));
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.label3 = new System.Windows.Forms.Label();
+ this.backBtn = new System.Windows.Forms.Panel();
+ this.backBtnLbl = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.weightGrid = new WinFormControl.UDataGridView();
this.D_Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -58,23 +61,18 @@
this.F_Farmer_BankAccount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.F_Farmer_Tel = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.F_Farmer_Address = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.panel5 = new System.Windows.Forms.Panel();
+ this.linePanel = new System.Windows.Forms.Panel();
this.titlePanel = new System.Windows.Forms.Panel();
- this.closeBtn = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.logoPanel = new System.Windows.Forms.Panel();
- this.backBtn = new System.Windows.Forms.Panel();
- this.backBtnLbl = new System.Windows.Forms.Label();
- this.panel5 = new System.Windows.Forms.Panel();
- this.linePanel = new System.Windows.Forms.Panel();
- this.panel4 = new System.Windows.Forms.Panel();
- this.label3 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
+ this.panel4.SuspendLayout();
+ this.backBtn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.weightGrid)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.farmerGrid)).BeginInit();
- this.titlePanel.SuspendLayout();
- this.backBtn.SuspendLayout();
this.panel5.SuspendLayout();
- this.panel4.SuspendLayout();
+ this.titlePanel.SuspendLayout();
this.SuspendLayout();
//
// panel1
@@ -87,6 +85,54 @@
this.panel1.Size = new System.Drawing.Size(614, 51);
this.panel1.TabIndex = 0;
//
+ // panel4
+ //
+ this.panel4.BackgroundImage = global::SelfHelpClient.Properties.Resources.queren;
+ this.panel4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.panel4.Controls.Add(this.label3);
+ this.panel4.Location = new System.Drawing.Point(122, -1);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(121, 52);
+ this.panel4.TabIndex = 4;
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.Transparent;
+ this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label3.Font = new System.Drawing.Font("黑体", 15F, System.Drawing.FontStyle.Bold);
+ this.label3.ForeColor = System.Drawing.Color.White;
+ this.label3.Location = new System.Drawing.Point(0, 0);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(121, 52);
+ this.label3.TabIndex = 0;
+ this.label3.Text = "确认";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label3.Click += new System.EventHandler(this.okBtn_Click);
+ //
+ // backBtn
+ //
+ this.backBtn.BackgroundImage = global::SelfHelpClient.Properties.Resources.fanhui;
+ this.backBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.backBtn.Controls.Add(this.backBtnLbl);
+ this.backBtn.Location = new System.Drawing.Point(352, -1);
+ this.backBtn.Name = "backBtn";
+ this.backBtn.Size = new System.Drawing.Size(121, 52);
+ this.backBtn.TabIndex = 2;
+ //
+ // backBtnLbl
+ //
+ this.backBtnLbl.BackColor = System.Drawing.Color.Transparent;
+ this.backBtnLbl.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.backBtnLbl.Font = new System.Drawing.Font("黑体", 15F, System.Drawing.FontStyle.Bold);
+ this.backBtnLbl.ForeColor = System.Drawing.Color.White;
+ this.backBtnLbl.Location = new System.Drawing.Point(0, 0);
+ this.backBtnLbl.Name = "backBtnLbl";
+ this.backBtnLbl.Size = new System.Drawing.Size(121, 52);
+ this.backBtnLbl.TabIndex = 0;
+ this.backBtnLbl.Text = "返回";
+ this.backBtnLbl.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.backBtnLbl.Click += new System.EventHandler(this.backBtn_Click);
+ //
// panel2
//
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -103,20 +149,19 @@
this.weightGrid.AllowUserToDeleteRows = false;
this.weightGrid.AllowUserToResizeColumns = false;
this.weightGrid.AllowUserToResizeRows = false;
- dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
- this.weightGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle12;
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
+ this.weightGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.weightGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.weightGrid.BackgroundColor = System.Drawing.Color.White;
this.weightGrid.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.weightGrid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.weightGrid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(238)))), ((int)(((byte)(250)))));
- dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.weightGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(238)))), ((int)(((byte)(250)))));
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
+ this.weightGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.weightGrid.ColumnHeadersHeight = 40;
this.weightGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.weightGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -131,14 +176,16 @@
this.weightGrid.Name = "weightGrid";
this.weightGrid.ReadOnly = true;
this.weightGrid.RowHeadersVisible = false;
- dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle17.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218)))));
- this.weightGrid.RowsDefaultCellStyle = dataGridViewCellStyle17;
- this.weightGrid.RowTemplate.Height = 30;
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(146)))), ((int)(((byte)(40)))));
+ this.weightGrid.RowsDefaultCellStyle = dataGridViewCellStyle6;
+ this.weightGrid.RowTemplate.Height = 40;
this.weightGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.weightGrid.Size = new System.Drawing.Size(893, 88);
+ this.weightGrid.Size = new System.Drawing.Size(893, 122);
this.weightGrid.TabIndex = 0;
+ this.weightGrid.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.weightGrid_RowPostPaint);
//
// D_Index
//
@@ -159,8 +206,8 @@
//
this.D_MaoWeight.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.D_MaoWeight.DataPropertyName = "MaoWeight";
- dataGridViewCellStyle14.Format = "#0.######";
- this.D_MaoWeight.DefaultCellStyle = dataGridViewCellStyle14;
+ dataGridViewCellStyle3.Format = "#0.######";
+ this.D_MaoWeight.DefaultCellStyle = dataGridViewCellStyle3;
this.D_MaoWeight.HeaderText = "毛重";
this.D_MaoWeight.Name = "D_MaoWeight";
this.D_MaoWeight.ReadOnly = true;
@@ -169,8 +216,8 @@
//
this.D_PiWeight.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.D_PiWeight.DataPropertyName = "PiWeight";
- dataGridViewCellStyle15.Format = "#0.######";
- this.D_PiWeight.DefaultCellStyle = dataGridViewCellStyle15;
+ dataGridViewCellStyle4.Format = "#0.######";
+ this.D_PiWeight.DefaultCellStyle = dataGridViewCellStyle4;
this.D_PiWeight.HeaderText = "皮重";
this.D_PiWeight.Name = "D_PiWeight";
this.D_PiWeight.ReadOnly = true;
@@ -179,8 +226,8 @@
//
this.D_Weight.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.D_Weight.DataPropertyName = "Weight";
- dataGridViewCellStyle16.Format = "#0.######";
- this.D_Weight.DefaultCellStyle = dataGridViewCellStyle16;
+ dataGridViewCellStyle5.Format = "#0.######";
+ this.D_Weight.DefaultCellStyle = dataGridViewCellStyle5;
this.D_Weight.HeaderText = "重量";
this.D_Weight.Name = "D_Weight";
this.D_Weight.ReadOnly = true;
@@ -191,20 +238,19 @@
this.farmerGrid.AllowUserToDeleteRows = false;
this.farmerGrid.AllowUserToResizeColumns = false;
this.farmerGrid.AllowUserToResizeRows = false;
- dataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
- this.farmerGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle18;
+ dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
+ this.farmerGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
this.farmerGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.farmerGrid.BackgroundColor = System.Drawing.Color.White;
this.farmerGrid.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.farmerGrid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.farmerGrid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(238)))), ((int)(((byte)(250)))));
- dataGridViewCellStyle19.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(129)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.farmerGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle19;
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(238)))), ((int)(((byte)(250)))));
+ dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(129)))), ((int)(((byte)(255)))));
+ this.farmerGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
this.farmerGrid.ColumnHeadersHeight = 40;
this.farmerGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.farmerGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -223,14 +269,16 @@
this.farmerGrid.Name = "farmerGrid";
this.farmerGrid.ReadOnly = true;
this.farmerGrid.RowHeadersVisible = false;
- dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle22.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle22.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218)))));
- this.farmerGrid.RowsDefaultCellStyle = dataGridViewCellStyle22;
- this.farmerGrid.RowTemplate.Height = 30;
+ dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle11.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(218)))), ((int)(((byte)(16)))));
+ this.farmerGrid.RowsDefaultCellStyle = dataGridViewCellStyle11;
+ this.farmerGrid.RowTemplate.Height = 40;
this.farmerGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.farmerGrid.Size = new System.Drawing.Size(893, 107);
this.farmerGrid.TabIndex = 0;
+ this.farmerGrid.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.farmerGrid_RowPostPaint);
//
// F_Index
//
@@ -261,8 +309,8 @@
// F_Weight
//
this.F_Weight.DataPropertyName = "Weight";
- dataGridViewCellStyle20.Format = "#0.######";
- this.F_Weight.DefaultCellStyle = dataGridViewCellStyle20;
+ dataGridViewCellStyle9.Format = "#0.######";
+ this.F_Weight.DefaultCellStyle = dataGridViewCellStyle9;
this.F_Weight.HeaderText = "重量";
this.F_Weight.Name = "F_Weight";
this.F_Weight.ReadOnly = true;
@@ -270,8 +318,8 @@
// F_Money
//
this.F_Money.DataPropertyName = "Money";
- dataGridViewCellStyle21.Format = "#0.######";
- this.F_Money.DefaultCellStyle = dataGridViewCellStyle21;
+ dataGridViewCellStyle10.Format = "#0.######";
+ this.F_Money.DefaultCellStyle = dataGridViewCellStyle10;
this.F_Money.HeaderText = "棚前金额";
this.F_Money.Name = "F_Money";
this.F_Money.ReadOnly = true;
@@ -316,11 +364,33 @@
this.F_Farmer_Address.Name = "F_Farmer_Address";
this.F_Farmer_Address.ReadOnly = true;
//
+ // panel5
+ //
+ this.panel5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.panel5.BackColor = System.Drawing.Color.White;
+ this.panel5.Controls.Add(this.linePanel);
+ this.panel5.Controls.Add(this.weightGrid);
+ this.panel5.Controls.Add(this.farmerGrid);
+ this.panel5.Location = new System.Drawing.Point(6, 194);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(914, 292);
+ this.panel5.TabIndex = 1;
+ //
+ // linePanel
+ //
+ this.linePanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.linePanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
+ this.linePanel.Location = new System.Drawing.Point(2, 138);
+ this.linePanel.Name = "linePanel";
+ this.linePanel.Size = new System.Drawing.Size(910, 1);
+ this.linePanel.TabIndex = 1;
+ //
// titlePanel
//
this.titlePanel.BackgroundImage = global::SelfHelpClient.Properties.Resources.titleBg;
this.titlePanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.titlePanel.Controls.Add(this.closeBtn);
this.titlePanel.Controls.Add(this.label1);
this.titlePanel.Controls.Add(this.logoPanel);
this.titlePanel.Dock = System.Windows.Forms.DockStyle.Top;
@@ -329,15 +399,6 @@
this.titlePanel.Size = new System.Drawing.Size(926, 80);
this.titlePanel.TabIndex = 2;
//
- // closeBtn
- //
- this.closeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.closeBtn.BackColor = System.Drawing.Color.Transparent;
- this.closeBtn.Location = new System.Drawing.Point(878, 22);
- this.closeBtn.Name = "closeBtn";
- this.closeBtn.Size = new System.Drawing.Size(36, 33);
- this.closeBtn.TabIndex = 2;
- //
// label1
//
this.label1.AutoSize = true;
@@ -360,77 +421,6 @@
this.logoPanel.Size = new System.Drawing.Size(34, 34);
this.logoPanel.TabIndex = 0;
//
- // backBtn
- //
- this.backBtn.BackgroundImage = global::SelfHelpClient.Properties.Resources.fanhui;
- this.backBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.backBtn.Controls.Add(this.backBtnLbl);
- this.backBtn.Location = new System.Drawing.Point(352, -3);
- this.backBtn.Name = "backBtn";
- this.backBtn.Size = new System.Drawing.Size(121, 52);
- this.backBtn.TabIndex = 2;
- this.backBtn.Click += new System.EventHandler(this.backBtn_Click);
- //
- // backBtnLbl
- //
- this.backBtnLbl.AutoSize = true;
- this.backBtnLbl.BackColor = System.Drawing.Color.Transparent;
- this.backBtnLbl.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold);
- this.backBtnLbl.ForeColor = System.Drawing.Color.White;
- this.backBtnLbl.Location = new System.Drawing.Point(37, 17);
- this.backBtnLbl.Name = "backBtnLbl";
- this.backBtnLbl.Size = new System.Drawing.Size(49, 19);
- this.backBtnLbl.TabIndex = 0;
- this.backBtnLbl.Text = "返回";
- this.backBtnLbl.Click += new System.EventHandler(this.backBtn_Click);
- //
- // panel5
- //
- this.panel5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.panel5.BackColor = System.Drawing.Color.White;
- this.panel5.Controls.Add(this.linePanel);
- this.panel5.Controls.Add(this.weightGrid);
- this.panel5.Controls.Add(this.farmerGrid);
- this.panel5.Location = new System.Drawing.Point(6, 194);
- this.panel5.Name = "panel5";
- this.panel5.Size = new System.Drawing.Size(914, 253);
- this.panel5.TabIndex = 1;
- //
- // linePanel
- //
- this.linePanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.linePanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
- this.linePanel.Location = new System.Drawing.Point(2, 138);
- this.linePanel.Name = "linePanel";
- this.linePanel.Size = new System.Drawing.Size(910, 1);
- this.linePanel.TabIndex = 1;
- //
- // panel4
- //
- this.panel4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel4.BackgroundImage")));
- this.panel4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.panel4.Controls.Add(this.label3);
- this.panel4.Location = new System.Drawing.Point(122, -1);
- this.panel4.Name = "panel4";
- this.panel4.Size = new System.Drawing.Size(121, 52);
- this.panel4.TabIndex = 4;
- this.panel4.Click += new System.EventHandler(this.okBtn_Click);
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.BackColor = System.Drawing.Color.Transparent;
- this.label3.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold);
- this.label3.ForeColor = System.Drawing.Color.White;
- this.label3.Location = new System.Drawing.Point(37, 17);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(49, 19);
- this.label3.TabIndex = 0;
- this.label3.Text = "确认";
- this.label3.Click += new System.EventHandler(this.okBtn_Click);
- //
// WeightForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -446,15 +436,13 @@
this.Text = "WeightForm";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.panel1.ResumeLayout(false);
+ this.panel4.ResumeLayout(false);
+ this.backBtn.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.weightGrid)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.farmerGrid)).EndInit();
+ this.panel5.ResumeLayout(false);
this.titlePanel.ResumeLayout(false);
this.titlePanel.PerformLayout();
- this.backBtn.ResumeLayout(false);
- this.backBtn.PerformLayout();
- this.panel5.ResumeLayout(false);
- this.panel4.ResumeLayout(false);
- this.panel4.PerformLayout();
this.ResumeLayout(false);
}
@@ -480,7 +468,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn D_PiWeight;
private System.Windows.Forms.DataGridViewTextBoxColumn D_Weight;
private System.Windows.Forms.Panel titlePanel;
- private System.Windows.Forms.Panel closeBtn;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel logoPanel;
private System.Windows.Forms.Panel backBtn;
diff --git a/SelfHelpClient/WeightForm.cs b/SelfHelpClient/WeightForm.cs
index 1e00fa1..5bb0b47 100644
--- a/SelfHelpClient/WeightForm.cs
+++ b/SelfHelpClient/WeightForm.cs
@@ -175,7 +175,7 @@ namespace SelfHelpClient
{
Label label = new Label();
label.Text = content;
- label.Font = new System.Drawing.Font("宋体", 14);
+ label.Font = new System.Drawing.Font("黑体", 12);
label.Dock = DockStyle.Fill;
label.TextAlign = ContentAlignment.MiddleLeft;
return label;
@@ -193,6 +193,39 @@ namespace SelfHelpClient
MainForm.Form.Show();
this.Close();
}
+
+ Pen penSelected = new Pen(Color.FromArgb(215, 218, 243));
+ private void farmerGrid_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
+ {
+ var rec = e.RowBounds;
+ Point pTopStart = new Point(rec.X, rec.Y + 1);
+ Point pTopEnd = new Point(rec.X + rec.Width, rec.Y + 1);
+ e.Graphics.DrawLine(penSelected, pTopStart, pTopEnd);
+
+ Point pLeftStart = new Point(rec.X + 1, rec.Y);
+ Point pLeftEnd = new Point(rec.X + 1, rec.Y + rec.Height);
+ e.Graphics.DrawLine(penSelected, pLeftStart, pLeftEnd);
+
+ Point pRightStart = new Point(rec.X + rec.Width - 1, rec.Y);
+ Point pRightEnd = new Point(rec.X + rec.Width - 1, rec.Y + rec.Height);
+ e.Graphics.DrawLine(penSelected, pRightStart, pRightEnd);
+ }
+
+ private void weightGrid_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
+ {
+ var rec = e.RowBounds;
+ Point pTopStart = new Point(rec.X, rec.Y + 1);
+ Point pTopEnd = new Point(rec.X + rec.Width, rec.Y + 1);
+ e.Graphics.DrawLine(penSelected, pTopStart, pTopEnd);
+
+ Point pLeftStart = new Point(rec.X + 1, rec.Y);
+ Point pLeftEnd = new Point(rec.X + 1, rec.Y + rec.Height);
+ e.Graphics.DrawLine(penSelected, pLeftStart, pLeftEnd);
+
+ Point pRightStart = new Point(rec.X + rec.Width - 1, rec.Y);
+ Point pRightEnd = new Point(rec.X + rec.Width - 1, rec.Y + rec.Height);
+ e.Graphics.DrawLine(penSelected, pRightStart, pRightEnd);
+ }
}
struct TableSturct
diff --git a/SelfHelpClient/WeightForm.resx b/SelfHelpClient/WeightForm.resx
index cd6023a..f088455 100644
--- a/SelfHelpClient/WeightForm.resx
+++ b/SelfHelpClient/WeightForm.resx
@@ -117,40 +117,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAAKkAAABSCAYAAAAvgPT1AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAGLUlEQVR4Xu3c2XJUVRTG8fMA
- Dig4AYqIgIwJiIqIhaXlCAgBAiQiRBAQkEmkEEqGhIRJFBRREVAUEZDpWbhSy2cQNJGQhOxerq/30E0n
- VFlFJ66L7+JXWTl7n3P1r0PonJys+rhktSekbtFJ+WPJKXHLz4isPC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yTKdI+VZEQGeGbTJHePTMSIiN8kynSu2ZEQmSEb7IQ
- 6ZuRLhKZ4JtMkd45PRIiI3yThUinRbpIZIJvMkV6x9RIiIzwTTJSMoyRknmMlMxjpGReaaT6vyhPF4lM
- 8E2mSPkRFNlT8hEUP8wne3yTKVL+WpTsKfm1KB8wIXt8kylSPqpH9pQ8qseHnsmekoee+8yKdJHIBN9k
- ivSeOZEQGeGbTJHyr0XJnpK/Fu07LxIiI3yTKdJ+NZEQGeGbTJHyXVBkT8m7oPhWPbKn5K16fD8p2VPy
- ftKH6lyAmcgC32SKtP9iF2AmssA3mSId8K4LMBNZ4JtMkQ5c5gLMRBb4JlOkD69wAWYiC3yTKdJBq1yA
- mcgC32SK9NHVLsBMZIFvMkU6eK0LMBNZ4JtMkQ5Z7wLMRBb4JlOkj29wAWYiC3yTKdKhG12AmcgC36SP
- dE9Ohm1yRfA90f+p0CP6zEc6/CNXsLmYrhH1iqLuinoMkToZsaXzFrBG1Bu6669TI3U+0pEf3yAyKR/p
- uN2dMnJrh2onMqZD0KdGekNGbW8v0uZtI+plsb2iHtGnRtoho3e0qeslWgu2E/WQ4s66NNimkXZopLs6
- ZEz9ddUqY3RjwbUuRu/4p1vd7SWC7nqB7vbe1B961C7Rp0baLmMbWgPdWK8X6KKFqId07Q0dxibRZzau
- qU0qduIgFqMWGVvfTNS70F1Rh+gSfWaVTddvVDTqgbwWXWgO/paKBvhLTyDqGegr3xl6i+2hw9Ck9tmO
- SC9XNIVAG7EBm/UCUcPV4ApRmYW2QmvoLt9fvkPtsekaIr2cVTa21lTmi22WyvwGbMQJV9WVgoY/icqr
- uC/0FtpDh75H7bKxtRqRqmuLKne2/F7R0NyZv/XWg55QryfuiPRCRGUV2kJn+d60u/yPmM2d2uOv2mWt
- iGT/ArSen2rwTNYRAAAAAElFTkSuQmCC
-
-
True
diff --git a/SelfHelpClient/image/bgPanel.png b/SelfHelpClient/image/bgPanel.png
new file mode 100644
index 0000000000000000000000000000000000000000..f03fd6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