|
@@ -33,8 +33,8 @@ namespace UAS_LabelMachine
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(客户标签维护));
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.cl_code_label = new System.Windows.Forms.Label();
|
|
|
this.cu_name_label = new System.Windows.Forms.Label();
|
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
@@ -140,7 +140,7 @@ namespace UAS_LabelMachine
|
|
|
// OpenFolder
|
|
|
//
|
|
|
this.OpenFolder.Location = new System.Drawing.Point(749, 612);
|
|
|
- this.OpenFolder.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.OpenFolder.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.OpenFolder.Name = "OpenFolder";
|
|
|
this.OpenFolder.Size = new System.Drawing.Size(100, 34);
|
|
|
this.OpenFolder.TabIndex = 156;
|
|
@@ -163,7 +163,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.FolderPath.Enabled = false;
|
|
|
this.FolderPath.Location = new System.Drawing.Point(505, 616);
|
|
|
- this.FolderPath.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.FolderPath.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.FolderPath.Name = "FolderPath";
|
|
|
this.FolderPath.Size = new System.Drawing.Size(213, 25);
|
|
|
this.FolderPath.TabIndex = 157;
|
|
@@ -189,7 +189,7 @@ namespace UAS_LabelMachine
|
|
|
"中盒",
|
|
|
"外箱"});
|
|
|
this.la_type1.Location = new System.Drawing.Point(505, 568);
|
|
|
- this.la_type1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.la_type1.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.la_type1.Name = "la_type1";
|
|
|
this.la_type1.Size = new System.Drawing.Size(213, 23);
|
|
|
this.la_type1.TabIndex = 169;
|
|
@@ -250,7 +250,7 @@ namespace UAS_LabelMachine
|
|
|
this.la_type.DropDownWidth = 161;
|
|
|
this.la_type.FormattingEnabled = true;
|
|
|
this.la_type.Location = new System.Drawing.Point(940, 20);
|
|
|
- this.la_type.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.la_type.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.la_type.Name = "la_type";
|
|
|
this.la_type.Size = new System.Drawing.Size(213, 23);
|
|
|
this.la_type.TabIndex = 184;
|
|
@@ -261,7 +261,7 @@ namespace UAS_LabelMachine
|
|
|
this.la_name.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.la_name.Location = new System.Drawing.Point(155, 616);
|
|
|
- this.la_name.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.la_name.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.la_name.Name = "la_name";
|
|
|
this.la_name.Size = new System.Drawing.Size(0, 25);
|
|
|
this.la_name.TabIndex = 186;
|
|
@@ -281,7 +281,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.FTPShare.AutoSize = true;
|
|
|
this.FTPShare.Location = new System.Drawing.Point(879, 621);
|
|
|
- this.FTPShare.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.FTPShare.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.FTPShare.Name = "FTPShare";
|
|
|
this.FTPShare.Size = new System.Drawing.Size(83, 19);
|
|
|
this.FTPShare.TabIndex = 188;
|
|
@@ -295,7 +295,7 @@ namespace UAS_LabelMachine
|
|
|
this.FastReport.Checked = true;
|
|
|
this.FastReport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.FastReport.Location = new System.Drawing.Point(1411, 108);
|
|
|
- this.FastReport.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.FastReport.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.FastReport.Name = "FastReport";
|
|
|
this.FastReport.Size = new System.Drawing.Size(136, 31);
|
|
|
this.FastReport.TabIndex = 161;
|
|
@@ -307,7 +307,7 @@ namespace UAS_LabelMachine
|
|
|
// pictureBox1
|
|
|
//
|
|
|
this.pictureBox1.Location = new System.Drawing.Point(1224, 172);
|
|
|
- this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.pictureBox1.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
|
this.pictureBox1.Size = new System.Drawing.Size(339, 375);
|
|
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
@@ -318,7 +318,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.pagination1.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
this.pagination1.Location = new System.Drawing.Point(0, 688);
|
|
|
- this.pagination1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
+ this.pagination1.Margin = new System.Windows.Forms.Padding(5);
|
|
|
this.pagination1.Name = "pagination1";
|
|
|
this.pagination1.Size = new System.Drawing.Size(1572, 39);
|
|
|
this.pagination1.TabIndex = 190;
|
|
@@ -327,7 +327,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.NewLabel.Image = ((System.Drawing.Image)(resources.GetObject("NewLabel.Image")));
|
|
|
this.NewLabel.Location = new System.Drawing.Point(1128, 612);
|
|
|
- this.NewLabel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.NewLabel.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.NewLabel.Name = "NewLabel";
|
|
|
this.NewLabel.Size = new System.Drawing.Size(81, 30);
|
|
|
this.NewLabel.TabIndex = 189;
|
|
@@ -340,7 +340,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.NetURL.ID = null;
|
|
|
this.NetURL.Location = new System.Drawing.Point(1368, 61);
|
|
|
- this.NetURL.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.NetURL.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.NetURL.Name = "NetURL";
|
|
|
this.NetURL.Size = new System.Drawing.Size(161, 25);
|
|
|
this.NetURL.Str = null;
|
|
@@ -359,7 +359,7 @@ namespace UAS_LabelMachine
|
|
|
this.la_code.DBTitle = null;
|
|
|
this.la_code.FormName = null;
|
|
|
this.la_code.Location = new System.Drawing.Point(879, 569);
|
|
|
- this.la_code.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.la_code.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.la_code.Name = "la_code";
|
|
|
this.la_code.Power = null;
|
|
|
this.la_code.ReturnData = null;
|
|
@@ -375,7 +375,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.Save.Image = ((System.Drawing.Image)(resources.GetObject("Save.Image")));
|
|
|
this.Save.Location = new System.Drawing.Point(1012, 614);
|
|
|
- this.Save.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.Save.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.Save.Name = "Save";
|
|
|
this.Save.Size = new System.Drawing.Size(81, 30);
|
|
|
this.Save.TabIndex = 170;
|
|
@@ -387,7 +387,7 @@ namespace UAS_LabelMachine
|
|
|
// ChooseAll
|
|
|
//
|
|
|
this.ChooseAll.Location = new System.Drawing.Point(25, 115);
|
|
|
- this.ChooseAll.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.ChooseAll.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.ChooseAll.Name = "ChooseAll";
|
|
|
this.ChooseAll.Size = new System.Drawing.Size(53, 26);
|
|
|
this.ChooseAll.TabIndex = 177;
|
|
@@ -397,7 +397,7 @@ namespace UAS_LabelMachine
|
|
|
// PrinterList
|
|
|
//
|
|
|
this.PrinterList.Location = new System.Drawing.Point(1368, 28);
|
|
|
- this.PrinterList.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
+ this.PrinterList.Margin = new System.Windows.Forms.Padding(5);
|
|
|
this.PrinterList.Name = "PrinterList";
|
|
|
this.PrinterList.Size = new System.Drawing.Size(161, 25);
|
|
|
this.PrinterList.TabIndex = 174;
|
|
@@ -423,23 +423,24 @@ namespace UAS_LabelMachine
|
|
|
this.cl_labelsoft,
|
|
|
this.cl_status});
|
|
|
this.LabelDataGridView.Location = new System.Drawing.Point(23, 112);
|
|
|
- this.LabelDataGridView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.LabelDataGridView.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.LabelDataGridView.Name = "LabelDataGridView";
|
|
|
- dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle3.BackColor = System.Drawing.Color.Blue;
|
|
|
- dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
|
|
- dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.LabelDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
|
|
- dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
|
|
- this.LabelDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle4;
|
|
|
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.Blue;
|
|
|
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
|
|
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.LabelDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
+ dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
|
|
|
+ this.LabelDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle2;
|
|
|
this.LabelDataGridView.RowTemplate.Height = 23;
|
|
|
this.LabelDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
this.LabelDataGridView.Size = new System.Drawing.Size(1187, 435);
|
|
|
this.LabelDataGridView.TabIndex = 172;
|
|
|
this.LabelDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.LabelDataGridView_CellContentClick);
|
|
|
+ this.LabelDataGridView.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.LabelDataGridView_CellContentDoubleClick);
|
|
|
this.LabelDataGridView.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.LabelDataGridView_CellFormatting);
|
|
|
this.LabelDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.LabelDataGridView_DataError);
|
|
|
//
|
|
@@ -485,48 +486,56 @@ namespace UAS_LabelMachine
|
|
|
this.cl_labeltype.DataPropertyName = "cl_labeltype";
|
|
|
this.cl_labeltype.HeaderText = "标签类型";
|
|
|
this.cl_labeltype.Name = "cl_labeltype";
|
|
|
+ this.cl_labeltype.ReadOnly = true;
|
|
|
//
|
|
|
// cl_labelcode
|
|
|
//
|
|
|
this.cl_labelcode.DataPropertyName = "cl_labelcode";
|
|
|
this.cl_labelcode.HeaderText = "模板编号";
|
|
|
this.cl_labelcode.Name = "cl_labelcode";
|
|
|
+ this.cl_labelcode.ReadOnly = true;
|
|
|
//
|
|
|
// cl_labelurl
|
|
|
//
|
|
|
this.cl_labelurl.DataPropertyName = "cl_labelurl";
|
|
|
this.cl_labelurl.HeaderText = "模板路径";
|
|
|
this.cl_labelurl.Name = "cl_labelurl";
|
|
|
+ this.cl_labelurl.ReadOnly = true;
|
|
|
//
|
|
|
// cl_labelname
|
|
|
//
|
|
|
this.cl_labelname.DataPropertyName = "cl_labelname";
|
|
|
this.cl_labelname.HeaderText = "模板名称";
|
|
|
this.cl_labelname.Name = "cl_labelname";
|
|
|
+ this.cl_labelname.ReadOnly = true;
|
|
|
//
|
|
|
// cl_date
|
|
|
//
|
|
|
this.cl_date.DataPropertyName = "cl_date";
|
|
|
this.cl_date.HeaderText = "最后修改时间";
|
|
|
this.cl_date.Name = "cl_date";
|
|
|
+ this.cl_date.ReadOnly = true;
|
|
|
//
|
|
|
// cl_isdefault
|
|
|
//
|
|
|
this.cl_isdefault.DataPropertyName = "cl_isdefault";
|
|
|
this.cl_isdefault.HeaderText = "是否默认";
|
|
|
this.cl_isdefault.Name = "cl_isdefault";
|
|
|
+ this.cl_isdefault.ReadOnly = true;
|
|
|
//
|
|
|
// cl_detno
|
|
|
//
|
|
|
this.cl_detno.DataPropertyName = "cl_detno";
|
|
|
this.cl_detno.HeaderText = "序号";
|
|
|
this.cl_detno.Name = "cl_detno";
|
|
|
+ this.cl_detno.ReadOnly = true;
|
|
|
//
|
|
|
// cl_labelsoft
|
|
|
//
|
|
|
this.cl_labelsoft.DataPropertyName = "cl_labelsoft";
|
|
|
this.cl_labelsoft.HeaderText = "标签软件";
|
|
|
this.cl_labelsoft.Name = "cl_labelsoft";
|
|
|
+ this.cl_labelsoft.ReadOnly = true;
|
|
|
//
|
|
|
// cl_status
|
|
|
//
|
|
@@ -539,7 +548,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.PrintTest.Image = ((System.Drawing.Image)(resources.GetObject("PrintTest.Image")));
|
|
|
this.PrintTest.Location = new System.Drawing.Point(1355, 569);
|
|
|
- this.PrintTest.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.PrintTest.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.PrintTest.Name = "PrintTest";
|
|
|
this.PrintTest.Size = new System.Drawing.Size(81, 30);
|
|
|
this.PrintTest.TabIndex = 166;
|
|
@@ -556,7 +565,7 @@ namespace UAS_LabelMachine
|
|
|
this.客户编号.DBTitle = null;
|
|
|
this.客户编号.FormName = null;
|
|
|
this.客户编号.Location = new System.Drawing.Point(155, 566);
|
|
|
- this.客户编号.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.客户编号.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.客户编号.Name = "客户编号";
|
|
|
this.客户编号.Power = null;
|
|
|
this.客户编号.ReturnData = null;
|
|
@@ -576,7 +585,7 @@ namespace UAS_LabelMachine
|
|
|
this.cu_code.DBTitle = null;
|
|
|
this.cu_code.FormName = null;
|
|
|
this.cu_code.Location = new System.Drawing.Point(169, 20);
|
|
|
- this.cu_code.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.cu_code.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.cu_code.Name = "cu_code";
|
|
|
this.cu_code.Power = null;
|
|
|
this.cu_code.ReturnData = null;
|
|
@@ -592,7 +601,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.UpdateGrid.Image = ((System.Drawing.Image)(resources.GetObject("UpdateGrid.Image")));
|
|
|
this.UpdateGrid.Location = new System.Drawing.Point(927, 61);
|
|
|
- this.UpdateGrid.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.UpdateGrid.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.UpdateGrid.Name = "UpdateGrid";
|
|
|
this.UpdateGrid.Size = new System.Drawing.Size(81, 30);
|
|
|
this.UpdateGrid.TabIndex = 154;
|
|
@@ -605,7 +614,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.Screen.Image = ((System.Drawing.Image)(resources.GetObject("Screen.Image")));
|
|
|
this.Screen.Location = new System.Drawing.Point(776, 61);
|
|
|
- this.Screen.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.Screen.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.Screen.Name = "Screen";
|
|
|
this.Screen.Size = new System.Drawing.Size(81, 30);
|
|
|
this.Screen.TabIndex = 153;
|
|
@@ -618,7 +627,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
this.cu_name.ID = null;
|
|
|
this.cu_name.Location = new System.Drawing.Point(559, 20);
|
|
|
- this.cu_name.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.cu_name.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.cu_name.Name = "cu_name";
|
|
|
this.cu_name.Size = new System.Drawing.Size(199, 25);
|
|
|
this.cu_name.Str = null;
|
|
@@ -665,7 +674,7 @@ namespace UAS_LabelMachine
|
|
|
this.Controls.Add(this.cu_name);
|
|
|
this.Controls.Add(this.cl_code_label);
|
|
|
this.Controls.Add(this.cu_name_label);
|
|
|
- this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.Name = "客户标签维护";
|
|
|
this.Tag = "Make!CustLabel";
|
|
|
this.Text = "客户标签维护";
|
|
@@ -719,6 +728,7 @@ namespace UAS_LabelMachine
|
|
|
private NormalButton NewLabel;
|
|
|
private Pagination pagination1;
|
|
|
private RadioButton FastReport;
|
|
|
+ private PictureBox pictureBox1;
|
|
|
private DataGridViewCheckBoxColumn Choose;
|
|
|
private DataGridViewTextBoxColumn la_id;
|
|
|
private DataGridViewTextBoxColumn cu_name1;
|
|
@@ -733,6 +743,5 @@ namespace UAS_LabelMachine
|
|
|
private DataGridViewTextBoxColumn cl_detno;
|
|
|
private DataGridViewTextBoxColumn cl_labelsoft;
|
|
|
private DataGridViewTextBoxColumn cl_status;
|
|
|
- private PictureBox pictureBox1;
|
|
|
}
|
|
|
}
|