|
|
@@ -33,8 +33,8 @@ namespace UAS_LabelMachine
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(客户标签维护));
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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();
|
|
|
@@ -65,6 +65,12 @@ namespace UAS_LabelMachine
|
|
|
this.ChooseAll = new UAS_LabelMachine.CustomControl.ChooseAllButton();
|
|
|
this.PrinterList = new UAS_LabelMachine.CustomControl.PrinterCombox();
|
|
|
this.LabelDataGridView = new UAS_LabelMachine.CustomControl.DataGridViewWithSerialNum();
|
|
|
+ this.PrintTest = new UAS_LabelMachine.CustomControl.NormalButton();
|
|
|
+ this.客户编号 = new UAS_LabelMachine.CustomControl.SearchTextBox();
|
|
|
+ this.cu_code = new UAS_LabelMachine.CustomControl.SearchTextBox();
|
|
|
+ this.UpdateGrid = new UAS_LabelMachine.CustomControl.NormalButton();
|
|
|
+ this.Screen = new UAS_LabelMachine.CustomControl.NormalButton();
|
|
|
+ this.cu_name = new UAS_LabelMachine.CustomControl.EnterTextBox();
|
|
|
this.Choose = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
this.la_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.cu_name1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
@@ -74,16 +80,11 @@ namespace UAS_LabelMachine
|
|
|
this.cl_labelcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.cl_labelurl = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.cl_labelname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.cl_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.cl_isdefault = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.cl_detno = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.cl_labelsoft = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.cl_status = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.PrintTest = new UAS_LabelMachine.CustomControl.NormalButton();
|
|
|
- this.客户编号 = new UAS_LabelMachine.CustomControl.SearchTextBox();
|
|
|
- this.cu_code = new UAS_LabelMachine.CustomControl.SearchTextBox();
|
|
|
- this.UpdateGrid = new UAS_LabelMachine.CustomControl.NormalButton();
|
|
|
- this.Screen = new UAS_LabelMachine.CustomControl.NormalButton();
|
|
|
- this.cu_name = new UAS_LabelMachine.CustomControl.EnterTextBox();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.LabelDataGridView)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
@@ -265,7 +266,7 @@ namespace UAS_LabelMachine
|
|
|
//
|
|
|
// la_name
|
|
|
//
|
|
|
- this.la_name.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
+ 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);
|
|
|
@@ -410,6 +411,7 @@ namespace UAS_LabelMachine
|
|
|
this.cl_labelcode,
|
|
|
this.cl_labelurl,
|
|
|
this.cl_labelname,
|
|
|
+ this.cl_date,
|
|
|
this.cl_isdefault,
|
|
|
this.cl_detno,
|
|
|
this.cl_labelsoft,
|
|
|
@@ -417,16 +419,16 @@ namespace UAS_LabelMachine
|
|
|
this.LabelDataGridView.Location = new System.Drawing.Point(23, 112);
|
|
|
this.LabelDataGridView.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.LabelDataGridView.Name = "LabelDataGridView";
|
|
|
- dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle5.BackColor = System.Drawing.Color.Blue;
|
|
|
- dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
|
|
- dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.LabelDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
|
|
- dataGridViewCellStyle6.BackColor = System.Drawing.Color.White;
|
|
|
- this.LabelDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle6;
|
|
|
+ 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(1186, 435);
|
|
|
@@ -435,6 +437,88 @@ namespace UAS_LabelMachine
|
|
|
this.LabelDataGridView.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.LabelDataGridView_CellFormatting);
|
|
|
this.LabelDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.LabelDataGridView_DataError);
|
|
|
//
|
|
|
+ // PrintTest
|
|
|
+ //
|
|
|
+ this.PrintTest.Image = ((System.Drawing.Image)(resources.GetObject("PrintTest.Image")));
|
|
|
+ this.PrintTest.Location = new System.Drawing.Point(1354, 569);
|
|
|
+ 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;
|
|
|
+ this.PrintTest.Tag = "Print";
|
|
|
+ this.PrintTest.Text = "打印测试";
|
|
|
+ this.PrintTest.UseVisualStyleBackColor = true;
|
|
|
+ this.PrintTest.Click += new System.EventHandler(this.PrintTest_Click);
|
|
|
+ //
|
|
|
+ // 客户编号
|
|
|
+ //
|
|
|
+ this.客户编号.Caller = null;
|
|
|
+ this.客户编号.Condition = null;
|
|
|
+ this.客户编号.FormName = null;
|
|
|
+ this.客户编号.Location = new System.Drawing.Point(155, 566);
|
|
|
+ this.客户编号.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.客户编号.Name = "客户编号";
|
|
|
+ this.客户编号.SelectField = null;
|
|
|
+ this.客户编号.SetValueField = null;
|
|
|
+ this.客户编号.Size = new System.Drawing.Size(181, 26);
|
|
|
+ this.客户编号.TabIndex = 168;
|
|
|
+ this.客户编号.TableName = null;
|
|
|
+ this.客户编号.Tag = "cu_code";
|
|
|
+ //
|
|
|
+ // cu_code
|
|
|
+ //
|
|
|
+ this.cu_code.Caller = null;
|
|
|
+ this.cu_code.Condition = 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);
|
|
|
+ this.cu_code.Name = "cu_code";
|
|
|
+ this.cu_code.SelectField = null;
|
|
|
+ this.cu_code.SetValueField = null;
|
|
|
+ this.cu_code.Size = new System.Drawing.Size(200, 26);
|
|
|
+ this.cu_code.TabIndex = 159;
|
|
|
+ this.cu_code.TableName = null;
|
|
|
+ this.cu_code.Tag = "cl_custcode";
|
|
|
+ //
|
|
|
+ // UpdateGrid
|
|
|
+ //
|
|
|
+ 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);
|
|
|
+ this.UpdateGrid.Name = "UpdateGrid";
|
|
|
+ this.UpdateGrid.Size = new System.Drawing.Size(81, 30);
|
|
|
+ this.UpdateGrid.TabIndex = 154;
|
|
|
+ this.UpdateGrid.Tag = "IfWrite";
|
|
|
+ this.UpdateGrid.Text = "更新";
|
|
|
+ this.UpdateGrid.UseVisualStyleBackColor = true;
|
|
|
+ this.UpdateGrid.Click += new System.EventHandler(this.Update_Click);
|
|
|
+ //
|
|
|
+ // Screen
|
|
|
+ //
|
|
|
+ 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);
|
|
|
+ this.Screen.Name = "Screen";
|
|
|
+ this.Screen.Size = new System.Drawing.Size(81, 30);
|
|
|
+ this.Screen.TabIndex = 153;
|
|
|
+ this.Screen.Tag = "IfRead";
|
|
|
+ this.Screen.Text = "筛选";
|
|
|
+ this.Screen.UseVisualStyleBackColor = true;
|
|
|
+ this.Screen.Click += new System.EventHandler(this.Screen_Click);
|
|
|
+ //
|
|
|
+ // cu_name
|
|
|
+ //
|
|
|
+ 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);
|
|
|
+ this.cu_name.Name = "cu_name";
|
|
|
+ this.cu_name.Size = new System.Drawing.Size(199, 25);
|
|
|
+ this.cu_name.Str = null;
|
|
|
+ this.cu_name.Str1 = null;
|
|
|
+ this.cu_name.Str2 = null;
|
|
|
+ this.cu_name.TabIndex = 147;
|
|
|
+ this.cu_name.Tag = "cu_name";
|
|
|
+ //
|
|
|
// Choose
|
|
|
//
|
|
|
this.Choose.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
@@ -496,6 +580,12 @@ namespace UAS_LabelMachine
|
|
|
this.cl_labelname.HeaderText = "模板名称";
|
|
|
this.cl_labelname.Name = "cl_labelname";
|
|
|
//
|
|
|
+ // cl_date
|
|
|
+ //
|
|
|
+ this.cl_date.DataPropertyName = "cl_date";
|
|
|
+ this.cl_date.HeaderText = "最后修改时间";
|
|
|
+ this.cl_date.Name = "cl_date";
|
|
|
+ //
|
|
|
// cl_isdefault
|
|
|
//
|
|
|
this.cl_isdefault.DataPropertyName = "cl_isdefault";
|
|
|
@@ -521,88 +611,6 @@ namespace UAS_LabelMachine
|
|
|
this.cl_status.Name = "cl_status";
|
|
|
this.cl_status.ReadOnly = true;
|
|
|
//
|
|
|
- // PrintTest
|
|
|
- //
|
|
|
- this.PrintTest.Image = ((System.Drawing.Image)(resources.GetObject("PrintTest.Image")));
|
|
|
- this.PrintTest.Location = new System.Drawing.Point(1354, 569);
|
|
|
- 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;
|
|
|
- this.PrintTest.Tag = "Print";
|
|
|
- this.PrintTest.Text = "打印测试";
|
|
|
- this.PrintTest.UseVisualStyleBackColor = true;
|
|
|
- this.PrintTest.Click += new System.EventHandler(this.PrintTest_Click);
|
|
|
- //
|
|
|
- // 客户编号
|
|
|
- //
|
|
|
- this.客户编号.Caller = null;
|
|
|
- this.客户编号.Condition = null;
|
|
|
- this.客户编号.FormName = null;
|
|
|
- this.客户编号.Location = new System.Drawing.Point(155, 566);
|
|
|
- this.客户编号.Margin = new System.Windows.Forms.Padding(4);
|
|
|
- this.客户编号.Name = "客户编号";
|
|
|
- this.客户编号.SelectField = null;
|
|
|
- this.客户编号.SetValueField = null;
|
|
|
- this.客户编号.Size = new System.Drawing.Size(181, 26);
|
|
|
- this.客户编号.TabIndex = 168;
|
|
|
- this.客户编号.TableName = null;
|
|
|
- this.客户编号.Tag = "cu_code";
|
|
|
- //
|
|
|
- // cu_code
|
|
|
- //
|
|
|
- this.cu_code.Caller = null;
|
|
|
- this.cu_code.Condition = 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);
|
|
|
- this.cu_code.Name = "cu_code";
|
|
|
- this.cu_code.SelectField = null;
|
|
|
- this.cu_code.SetValueField = null;
|
|
|
- this.cu_code.Size = new System.Drawing.Size(200, 26);
|
|
|
- this.cu_code.TabIndex = 159;
|
|
|
- this.cu_code.TableName = null;
|
|
|
- this.cu_code.Tag = "cl_custcode";
|
|
|
- //
|
|
|
- // UpdateGrid
|
|
|
- //
|
|
|
- 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);
|
|
|
- this.UpdateGrid.Name = "UpdateGrid";
|
|
|
- this.UpdateGrid.Size = new System.Drawing.Size(81, 30);
|
|
|
- this.UpdateGrid.TabIndex = 154;
|
|
|
- this.UpdateGrid.Tag = "IfWrite";
|
|
|
- this.UpdateGrid.Text = "更新";
|
|
|
- this.UpdateGrid.UseVisualStyleBackColor = true;
|
|
|
- this.UpdateGrid.Click += new System.EventHandler(this.Update_Click);
|
|
|
- //
|
|
|
- // Screen
|
|
|
- //
|
|
|
- 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);
|
|
|
- this.Screen.Name = "Screen";
|
|
|
- this.Screen.Size = new System.Drawing.Size(81, 30);
|
|
|
- this.Screen.TabIndex = 153;
|
|
|
- this.Screen.Tag = "IfRead";
|
|
|
- this.Screen.Text = "筛选";
|
|
|
- this.Screen.UseVisualStyleBackColor = true;
|
|
|
- this.Screen.Click += new System.EventHandler(this.Screen_Click);
|
|
|
- //
|
|
|
- // cu_name
|
|
|
- //
|
|
|
- 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);
|
|
|
- this.cu_name.Name = "cu_name";
|
|
|
- this.cu_name.Size = new System.Drawing.Size(199, 25);
|
|
|
- this.cu_name.Str = null;
|
|
|
- this.cu_name.Str1 = null;
|
|
|
- this.cu_name.Str2 = null;
|
|
|
- this.cu_name.TabIndex = 147;
|
|
|
- this.cu_name.Tag = "cu_name";
|
|
|
- //
|
|
|
// 客户标签维护
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
|
@@ -692,6 +700,9 @@ namespace UAS_LabelMachine
|
|
|
private TextBox la_name;
|
|
|
private Label la_name_label;
|
|
|
private CheckBox FTPShare;
|
|
|
+ private NormalButton NewLabel;
|
|
|
+ private Pagination pagination1;
|
|
|
+ private RadioButton CodeSoft;
|
|
|
private DataGridViewCheckBoxColumn Choose;
|
|
|
private DataGridViewTextBoxColumn la_id;
|
|
|
private DataGridViewTextBoxColumn cu_name1;
|
|
|
@@ -701,12 +712,10 @@ namespace UAS_LabelMachine
|
|
|
private DataGridViewTextBoxColumn cl_labelcode;
|
|
|
private DataGridViewTextBoxColumn cl_labelurl;
|
|
|
private DataGridViewTextBoxColumn cl_labelname;
|
|
|
+ private DataGridViewTextBoxColumn cl_date;
|
|
|
private DataGridViewTextBoxColumn cl_isdefault;
|
|
|
private DataGridViewTextBoxColumn cl_detno;
|
|
|
private DataGridViewTextBoxColumn cl_labelsoft;
|
|
|
private DataGridViewTextBoxColumn cl_status;
|
|
|
- private NormalButton NewLabel;
|
|
|
- private Pagination pagination1;
|
|
|
- private RadioButton CodeSoft;
|
|
|
}
|
|
|
}
|