📄 workbillform.cs
字号:
//
// label5
//
this.label5.Location = new System.Drawing.Point(16, 96);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 23);
this.label5.TabIndex = 44;
this.label5.Text = "客户地址";
//
// tbTelNo
//
this.tbTelNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbTelNo.Location = new System.Drawing.Point(88, 24);
this.tbTelNo.Name = "tbTelNo";
this.tbTelNo.ReadOnly = true;
this.tbTelNo.Size = new System.Drawing.Size(120, 21);
this.tbTelNo.TabIndex = 43;
this.tbTelNo.Text = "";
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 24);
this.label1.Name = "label1";
this.label1.TabIndex = 42;
this.label1.Text = "来电号码";
//
// cmbCustmType
//
this.cmbCustmType.Enabled = false;
this.cmbCustmType.Location = new System.Drawing.Point(296, 48);
this.cmbCustmType.Name = "cmbCustmType";
this.cmbCustmType.Size = new System.Drawing.Size(121, 20);
this.cmbCustmType.TabIndex = 41;
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 48);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(72, 23);
this.label3.TabIndex = 25;
this.label3.Text = "客户姓名";
//
// tbCName
//
this.tbCName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbCName.Enabled = false;
this.tbCName.Location = new System.Drawing.Point(88, 48);
this.tbCName.Name = "tbCName";
this.tbCName.ReadOnly = true;
this.tbCName.Size = new System.Drawing.Size(120, 21);
this.tbCName.TabIndex = 26;
this.tbCName.Text = "";
//
// label4
//
this.label4.Location = new System.Drawing.Point(224, 72);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(72, 23);
this.label4.TabIndex = 27;
this.label4.Text = "客户性别";
//
// cmbCSex
//
this.cmbCSex.Enabled = false;
this.cmbCSex.ItemHeight = 12;
this.cmbCSex.Items.AddRange(new object[] {
"男",
"女"});
this.cmbCSex.Location = new System.Drawing.Point(296, 72);
this.cmbCSex.Name = "cmbCSex";
this.cmbCSex.Size = new System.Drawing.Size(120, 20);
this.cmbCSex.TabIndex = 28;
//
// label6
//
this.label6.Location = new System.Drawing.Point(16, 72);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(72, 23);
this.label6.TabIndex = 31;
this.label6.Text = "联系方式";
//
// tbCcontact
//
this.tbCcontact.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbCcontact.Enabled = false;
this.tbCcontact.Location = new System.Drawing.Point(88, 72);
this.tbCcontact.Name = "tbCcontact";
this.tbCcontact.ReadOnly = true;
this.tbCcontact.Size = new System.Drawing.Size(120, 21);
this.tbCcontact.TabIndex = 32;
this.tbCcontact.Text = "";
//
// label9
//
this.label9.Location = new System.Drawing.Point(224, 48);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(72, 23);
this.label9.TabIndex = 36;
this.label9.Text = "客户类别";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.combWBGrade);
this.groupBox3.Controls.Add(this.tbCComment);
this.groupBox3.Controls.Add(this.label13);
this.groupBox3.Controls.Add(this.label12);
this.groupBox3.Location = new System.Drawing.Point(0, 240);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(448, 104);
this.groupBox3.TabIndex = 0;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "回访记录";
//
// combWBGrade
//
this.combWBGrade.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.combWBGrade.Location = new System.Drawing.Point(96, 24);
this.combWBGrade.Name = "combWBGrade";
this.combWBGrade.Size = new System.Drawing.Size(121, 20);
this.combWBGrade.TabIndex = 3;
//
// tbCComment
//
this.tbCComment.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbCComment.Location = new System.Drawing.Point(96, 56);
this.tbCComment.Multiline = true;
this.tbCComment.Name = "tbCComment";
this.tbCComment.Size = new System.Drawing.Size(328, 40);
this.tbCComment.TabIndex = 2;
this.tbCComment.Text = "";
//
// label13
//
this.label13.Location = new System.Drawing.Point(24, 24);
this.label13.Name = "label13";
this.label13.TabIndex = 1;
this.label13.Text = "满 意 度";
//
// label12
//
this.label12.Location = new System.Drawing.Point(24, 64);
this.label12.Name = "label12";
this.label12.TabIndex = 0;
this.label12.Text = "用户评议";
//
// label2
//
this.label2.Location = new System.Drawing.Point(24, 160);
this.label2.Name = "label2";
this.label2.TabIndex = 2;
this.label2.Text = "工单状态";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.tbOpDate);
this.groupBox2.Controls.Add(this.label14);
this.groupBox2.Controls.Add(this.AutoOpContentPanel);
this.groupBox2.Controls.Add(this.tbOpContent);
this.groupBox2.Controls.Add(this.label11);
this.groupBox2.Controls.Add(this.tbOpName);
this.groupBox2.Controls.Add(this.label10);
this.groupBox2.Location = new System.Drawing.Point(8, 16);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(424, 296);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "处理内容";
//
// tbOpDate
//
this.tbOpDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbOpDate.Enabled = false;
this.tbOpDate.Location = new System.Drawing.Point(288, 24);
this.tbOpDate.Name = "tbOpDate";
this.tbOpDate.ReadOnly = true;
this.tbOpDate.Size = new System.Drawing.Size(112, 21);
this.tbOpDate.TabIndex = 6;
this.tbOpDate.Text = "";
//
// label14
//
this.label14.Location = new System.Drawing.Point(216, 24);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(72, 23);
this.label14.TabIndex = 5;
this.label14.Text = "处理时间";
//
// AutoOpContentPanel
//
this.AutoOpContentPanel.AutoScroll = true;
this.AutoOpContentPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.AutoOpContentPanel.Location = new System.Drawing.Point(3, 109);
this.AutoOpContentPanel.Name = "AutoOpContentPanel";
this.AutoOpContentPanel.Size = new System.Drawing.Size(418, 184);
this.AutoOpContentPanel.TabIndex = 4;
//
// tbOpContent
//
this.tbOpContent.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbOpContent.Location = new System.Drawing.Point(88, 56);
this.tbOpContent.Multiline = true;
this.tbOpContent.Name = "tbOpContent";
this.tbOpContent.Size = new System.Drawing.Size(312, 40);
this.tbOpContent.TabIndex = 3;
this.tbOpContent.Text = "";
//
// label11
//
this.label11.Location = new System.Drawing.Point(16, 56);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(70, 20);
this.label11.TabIndex = 2;
this.label11.Text = "处理内容";
//
// tbOpName
//
this.tbOpName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbOpName.Enabled = false;
this.tbOpName.Location = new System.Drawing.Point(88, 24);
this.tbOpName.Name = "tbOpName";
this.tbOpName.ReadOnly = true;
this.tbOpName.Size = new System.Drawing.Size(112, 21);
this.tbOpName.TabIndex = 1;
this.tbOpName.Text = "";
//
// label10
//
this.label10.Location = new System.Drawing.Point(16, 24);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(72, 23);
this.label10.TabIndex = 0;
this.label10.Text = "操 作 员";
//
// panel2
//
this.panel2.Controls.Add(this.groupBox2);
this.panel2.Controls.Add(this.btnClose);
this.panel2.Controls.Add(this.button1);
this.panel2.Location = new System.Drawing.Point(448, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(432, 344);
this.panel2.TabIndex = 1;
//
// btnClose
//
this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClose.Location = new System.Drawing.Point(272, 317);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(75, 24);
this.btnClose.TabIndex = 5;
this.btnClose.Text = "关闭";
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// button1
//
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Location = new System.Drawing.Point(136, 317);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 24);
this.button1.TabIndex = 2;
this.button1.Text = "保存";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// WorkBillForm
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(888, 346);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "WorkBillForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "工单维护";
this.panel1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region method
#region 添加控件
private void CreateLabelControl(string labelName,Point point,Panel panel){
Label tempLb = new Label();
tempLb.Text =labelName;
tempLb.Location=point;
tempLb.Size = new Size(82, 20);
panel.Controls.Add(tempLb);
}
private void CreateCombBoxControl(string labelName,int valueIndex,Point point,Panel panel){
CreateCombBoxControl(labelName,valueIndex,point,true,panel);
}
private void CreateCombBoxControl(string labelName,int valueIndex,Point point,bool enabled,Panel panel){
IList list=null;
try{
list = m_OtherBLL.getAppraiseGrade();
OtherInfo oInfo = new OtherInfo();
oInfo.gmark=0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -