⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serviceproviderform.cs

📁 汽车销售公司ERP进销存系统 汽车销售公司ERP进销存系统
💻 CS
📖 第 1 页 / 共 4 页
字号:
			this.tbDtailSType.Location = new System.Drawing.Point(296, 24);
			this.tbDtailSType.Name = "tbDtailSType";
			// 
			// tbDtailSType.Properties
			// 
			this.tbDtailSType.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.tbDtailSType.Properties.ReadOnly = true;
			this.tbDtailSType.Size = new System.Drawing.Size(120, 21);
			this.tbDtailSType.TabIndex = 38;
			// 
			// txtAddr
			// 
			this.txtAddr.EditValue = "";
			this.txtAddr.Location = new System.Drawing.Point(88, 168);
			this.txtAddr.Name = "txtAddr";
			// 
			// txtAddr.Properties
			// 
			this.txtAddr.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtAddr.Properties.ReadOnly = true;
			this.txtAddr.Size = new System.Drawing.Size(328, 21);
			this.txtAddr.TabIndex = 37;
			// 
			// txtKeyWords
			// 
			this.txtKeyWords.EditValue = "";
			this.txtKeyWords.Location = new System.Drawing.Point(88, 144);
			this.txtKeyWords.Name = "txtKeyWords";
			// 
			// txtKeyWords.Properties
			// 
			this.txtKeyWords.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtKeyWords.Properties.ReadOnly = true;
			this.txtKeyWords.Size = new System.Drawing.Size(328, 21);
			this.txtKeyWords.TabIndex = 36;
			// 
			// txtGood
			// 
			this.txtGood.EditValue = "";
			this.txtGood.Location = new System.Drawing.Point(88, 120);
			this.txtGood.Name = "txtGood";
			// 
			// txtGood.Properties
			// 
			this.txtGood.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtGood.Properties.ReadOnly = true;
			this.txtGood.Size = new System.Drawing.Size(120, 21);
			this.txtGood.TabIndex = 35;
			// 
			// txtWeb
			// 
			this.txtWeb.EditValue = "";
			this.txtWeb.Location = new System.Drawing.Point(88, 96);
			this.txtWeb.Name = "txtWeb";
			// 
			// txtWeb.Properties
			// 
			this.txtWeb.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtWeb.Properties.ReadOnly = true;
			this.txtWeb.Size = new System.Drawing.Size(120, 21);
			this.txtWeb.TabIndex = 34;
			// 
			// txtFax
			// 
			this.txtFax.EditValue = "";
			this.txtFax.Location = new System.Drawing.Point(88, 72);
			this.txtFax.Name = "txtFax";
			// 
			// txtFax.Properties
			// 
			this.txtFax.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtFax.Properties.ReadOnly = true;
			this.txtFax.Size = new System.Drawing.Size(120, 21);
			this.txtFax.TabIndex = 33;
			// 
			// txtRPerson
			// 
			this.txtRPerson.EditValue = "";
			this.txtRPerson.Location = new System.Drawing.Point(88, 48);
			this.txtRPerson.Name = "txtRPerson";
			// 
			// txtRPerson.Properties
			// 
			this.txtRPerson.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtRPerson.Properties.ReadOnly = true;
			this.txtRPerson.Size = new System.Drawing.Size(120, 21);
			this.txtRPerson.TabIndex = 32;
			// 
			// txtname
			// 
			this.txtname.EditValue = "";
			this.txtname.Location = new System.Drawing.Point(88, 24);
			this.txtname.Name = "txtname";
			// 
			// txtname.Properties
			// 
			this.txtname.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtname.Properties.ReadOnly = true;
			this.txtname.Size = new System.Drawing.Size(120, 21);
			this.txtname.TabIndex = 31;
			// 
			// label10
			// 
			this.label10.Font = new System.Drawing.Font("宋体", 9F);
			this.label10.Location = new System.Drawing.Point(16, 48);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(88, 23);
			this.label10.TabIndex = 27;
			this.label10.Text = "联系人";
			this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label8
			// 
			this.label8.Font = new System.Drawing.Font("宋体", 9F);
			this.label8.Location = new System.Drawing.Point(224, 48);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(88, 23);
			this.label8.TabIndex = 25;
			this.label8.Text = "联系电话 ";
			this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label11
			// 
			this.label11.Font = new System.Drawing.Font("宋体", 9F);
			this.label11.Location = new System.Drawing.Point(16, 96);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(88, 23);
			this.label11.TabIndex = 26;
			this.label11.Text = "服务商网址";
			this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label6
			// 
			this.label6.Font = new System.Drawing.Font("宋体", 9F);
			this.label6.Location = new System.Drawing.Point(16, 24);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(88, 23);
			this.label6.TabIndex = 19;
			this.label6.Text = "服务商名称";
			this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label7
			// 
			this.label7.Font = new System.Drawing.Font("宋体", 9F);
			this.label7.Location = new System.Drawing.Point(224, 24);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(88, 23);
			this.label7.TabIndex = 23;
			this.label7.Text = "服务商类别";
			this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label9
			// 
			this.label9.Font = new System.Drawing.Font("宋体", 9F);
			this.label9.Location = new System.Drawing.Point(224, 96);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(88, 23);
			this.label9.TabIndex = 20;
			this.label9.Text = "加盟时间";
			this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label14
			// 
			this.label14.Font = new System.Drawing.Font("宋体", 9F);
			this.label14.Location = new System.Drawing.Point(224, 72);
			this.label14.Name = "label14";
			this.label14.Size = new System.Drawing.Size(88, 23);
			this.label14.TabIndex = 12;
			this.label14.Text = "邮件地址";
			this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label13
			// 
			this.label13.Font = new System.Drawing.Font("宋体", 9F);
			this.label13.Location = new System.Drawing.Point(16, 72);
			this.label13.Name = "label13";
			this.label13.Size = new System.Drawing.Size(88, 23);
			this.label13.TabIndex = 13;
			this.label13.Text = "传真号码";
			this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label12
			// 
			this.label12.Font = new System.Drawing.Font("宋体", 9F);
			this.label12.Location = new System.Drawing.Point(16, 144);
			this.label12.Name = "label12";
			this.label12.Size = new System.Drawing.Size(88, 23);
			this.label12.TabIndex = 16;
			this.label12.Text = "关键字";
			this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label15
			// 
			this.label15.Font = new System.Drawing.Font("宋体", 9F);
			this.label15.Location = new System.Drawing.Point(224, 120);
			this.label15.Name = "label15";
			this.label15.Size = new System.Drawing.Size(88, 23);
			this.label15.TabIndex = 28;
			this.label15.Text = "差评数";
			this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label16
			// 
			this.label16.Font = new System.Drawing.Font("宋体", 9F);
			this.label16.Location = new System.Drawing.Point(16, 120);
			this.label16.Name = "label16";
			this.label16.Size = new System.Drawing.Size(88, 23);
			this.label16.TabIndex = 26;
			this.label16.Text = "好评数";
			this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label17
			// 
			this.label17.Font = new System.Drawing.Font("宋体", 9F);
			this.label17.Location = new System.Drawing.Point(16, 168);
			this.label17.Name = "label17";
			this.label17.Size = new System.Drawing.Size(88, 23);
			this.label17.TabIndex = 23;
			this.label17.Text = "办公地址";
			this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label18
			// 
			this.label18.Font = new System.Drawing.Font("宋体", 9F);
			this.label18.Location = new System.Drawing.Point(16, 192);
			this.label18.Name = "label18";
			this.label18.Size = new System.Drawing.Size(88, 23);
			this.label18.TabIndex = 22;
			this.label18.Text = "服务商简介";
			this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// ServiceProviderForm
			// 
			this.AutoScroll = true;
			this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(131)), ((System.Byte)(194)), ((System.Byte)(231)));
			this.Controls.Add(this.panel1);
			this.Name = "ServiceProviderForm";
			this.Size = new System.Drawing.Size(864, 429);
			((System.ComponentModel.ISupportInitialize)(this.panel1)).EndInit();
			this.panel1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.groupBox4)).EndInit();
			this.groupBox4.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.tbWBContent.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.panel2)).EndInit();
			this.panel2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.groupBox2)).EndInit();
			this.groupBox2.ResumeLayout(false);
			this.tabPage2.ResumeLayout(false);
//			((System.ComponentModel.ISupportInitialize)(this.axMap1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.panel5)).EndInit();
			this.panel5.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.groupBox1)).EndInit();
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.tbAddress.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.tbKeyWords.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.tbSLinkMan.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.tbSName.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.groupBox3)).EndInit();
			this.groupBox3.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.txtMemo.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtBad.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.tbSDate.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtEmail.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtTel.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.tbDtailSType.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtAddr.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtKeyWords.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtGood.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtWeb.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtFax.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtRPerson.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtname.Properties)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		#region method

		#region 初始化数据

		//初始化服务商类型
		private void InitlCmbSctype(){
			try{
				IList list =m_OtherBLL.getSPType();
				OtherInfo oInfo = new OtherInfo();
				oInfo.sptid = 0;
				oInfo.sptname = "";
				list.Add(oInfo);
				cmbSctype.DataSource = list;
				cmbSctype.ValueMember = "sptid";
				cmbSctype.DisplayMember = "sptname";
				cmbSctype.SelectedValue=0;
			}catch(Exception ex){
				Console.WriteLine(ex.Message);
			}
		}
		//服务商明细SPInfo
		private void DownLoadSPInfo(ServiceProviderInfo spInfo){
			if(spInfo!=null){
				this.txtname.Text = spInfo.sname;
				this.txtTel.Text=spInfo.stelephone;
				this.txtFax.Text=spInfo.sfax;
				this.txtAddr.Text=spInfo.saddress;
				this.tbDtailSType.Text = spInfo.stname;
				this.txtRPerson.Text=spInfo.slinkname;
				this.txtEmail.Text=spInfo.semail;
				this.tbSDate.Text=spInfo.sdate;
				this.txtWeb.Text=spInfo.sweb;
				this.txtKeyWords.Text=spInfo.ckeywords;
				this.txtGood.Text=spInfo.sgood.ToString();
				this.txtBad.Text=spInfo.sbad.ToString();
				//简介
				this.txtMemo.Text=spInfo.sbrief;
			}
		}
		//检索界面里的SPInfo
		private void DownLoadRSPInfo(ServiceProviderInfo SPInfo){
			if(SPInfo!=null){
				this.tbSName.Text=SPInfo.sname ;
				//this.cmbSctype.Text= SPInfo.stype;
				this.tbSLinkMan.Text= SPInfo.slinkname;
				this.tbKeyWords.Text= SPInfo.ckeywords;
				this.tbAddress.Text = SPInfo.saddress;
			}
		}
		//检索界面
		private void UpLoadRSPInfo(ServiceProviderInfo SPInfo){
			if(SPInfo!=null){
				SPInfo.sname  =this.tbSName.Text;
				SPInfo.stype = (int)this.cmbSctype.SelectedValue;
				SPInfo.slinkname = this.tbSLinkMan.Text;
				SPInfo.ckeywords = this.tbKeyWords.Text;
				SPInfo.saddress = this.tbAddress.Text;
			}
		}

		private void InitSPListVewCol(){
			SPListView.Dock=DockStyle.Fill;
			SPListView.InitLV_UserDefined(spInfoCol,DisplayCol);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -