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

📄 frmdwxxselect.cs

📁 c#编写的汽车销售公司erp进销存系统
💻 CS
📖 第 1 页 / 共 4 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using CallCenter.BusinessLayer;
using CallCenter.DALFactory;
using CallCenter.IDAL;
using CallCenter.Modules;
using CallCenter.OracleDAL;
using System.Data;
namespace CallCenter.BusinessInterfaces.MainForms
{
	/// <summary>
	/// ServiceProviderManage 的摘要说明。
	/// </summary>
	public class FrmDwxxSelect : System.Windows.Forms.Form
	{
		private DevExpress.XtraEditors.PanelControl panel2;
		private WebMIS.GoldFilter.GridDataFilter gridDataFilter1;
		private DevExpress.XtraEditors.PanelControl panel1;
		private System.Windows.Forms.DataGrid dgPriver;
		private DataSet dsservice=null;
		private System.Windows.Forms.CheckBox checkBox1;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.Label label10;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.Label label13;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label11;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label2;
		private DevExpress.XtraEditors.SimpleButton btAdd;
		private DevExpress.XtraEditors.SimpleButton btSave;
		private DevExpress.XtraEditors.SimpleButton btDelete;
		private DevExpress.XtraEditors.SimpleButton btReset;
		private DevExpress.XtraEditors.MemoEdit txtbz;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.Label label12;
		private System.Windows.Forms.Label label14;
		private System.Windows.Forms.Label label15;
		private System.Windows.Forms.Label label16;
		private System.Windows.Forms.Label label17;
		private System.Windows.Forms.Label label18;
		private System.Windows.Forms.Label label19;
		private System.Windows.Forms.Label label20;
		private DevExpress.XtraEditors.TextEdit txtzw;
		private DevExpress.XtraEditors.TextEdit txtzy;
		private DevExpress.XtraEditors.TextEdit txtyyah;
		private DevExpress.XtraEditors.TextEdit txtdzyx;
		private DevExpress.XtraEditors.TextEdit txtcz;
		private DevExpress.XtraEditors.TextEdit txtyddh;
		private DevExpress.XtraEditors.TextEdit txtdh;
		private DevExpress.XtraEditors.TextEdit txtqh;
		private DevExpress.XtraEditors.TextEdit txtxxdz;
		private DevExpress.XtraEditors.TextEdit txtyzbm;
		private DevExpress.XtraEditors.TextEdit txtcs;
		private DevExpress.XtraEditors.TextEdit txtsf;
		private DevExpress.XtraEditors.ComboBoxEdit cbxb;
		private DevExpress.XtraEditors.TextEdit txtnl;
		private System.Windows.Forms.Label label24;
		private System.Windows.Forms.Label label25;
		private System.Windows.Forms.Label label26;
		private System.Windows.Forms.Label label27;
		private DevExpress.XtraEditors.TextEdit txtkhly;
		private DevExpress.XtraEditors.TextEdit txtwhcd;
		private DevExpress.XtraEditors.TextEdit txtdwxz;
		private DevExpress.XtraEditors.TextEdit txtdwbm;
		private DevExpress.XtraEditors.TextEdit txtdwmc;
		private DevExpress.XtraEditors.TextEdit txtdwrs;
		private DevExpress.XtraEditors.TextEdit txtdwlxr;
		private DevExpress.XtraEditors.TextEdit txtdwnsr;
		private DevExpress.XtraEditors.TextEdit txtdwzc;
		private DevExpress.XtraEditors.SimpleButton simpleButton1;
		private DwxxInfo dwxx=null;
		private DevExpress.XtraEditors.SimpleButton simpleButton2;
		private DevExpress.XtraPrinting.PrintingSystem ps = new DevExpress.XtraPrinting.PrintingSystem();
		private DevExpress.XtraPrintingLinks.DataGridLink printLink = new DevExpress.XtraPrintingLinks.DataGridLink();

		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public FrmDwxxSelect()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			this.panel2 = new DevExpress.XtraEditors.PanelControl();
			this.checkBox1 = new System.Windows.Forms.CheckBox();
			this.dgPriver = new System.Windows.Forms.DataGrid();
			this.gridDataFilter1 = new WebMIS.GoldFilter.GridDataFilter();
			this.panel1 = new DevExpress.XtraEditors.PanelControl();
			this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
			this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
			this.txtdwzc = new DevExpress.XtraEditors.TextEdit();
			this.txtdwnsr = new DevExpress.XtraEditors.TextEdit();
			this.txtdwlxr = new DevExpress.XtraEditors.TextEdit();
			this.txtdwrs = new DevExpress.XtraEditors.TextEdit();
			this.label27 = new System.Windows.Forms.Label();
			this.label26 = new System.Windows.Forms.Label();
			this.label25 = new System.Windows.Forms.Label();
			this.label24 = new System.Windows.Forms.Label();
			this.txtzw = new DevExpress.XtraEditors.TextEdit();
			this.txtzy = new DevExpress.XtraEditors.TextEdit();
			this.txtyyah = new DevExpress.XtraEditors.TextEdit();
			this.txtdzyx = new DevExpress.XtraEditors.TextEdit();
			this.txtcz = new DevExpress.XtraEditors.TextEdit();
			this.txtyddh = new DevExpress.XtraEditors.TextEdit();
			this.txtdh = new DevExpress.XtraEditors.TextEdit();
			this.txtqh = new DevExpress.XtraEditors.TextEdit();
			this.txtxxdz = new DevExpress.XtraEditors.TextEdit();
			this.txtyzbm = new DevExpress.XtraEditors.TextEdit();
			this.txtcs = new DevExpress.XtraEditors.TextEdit();
			this.txtsf = new DevExpress.XtraEditors.TextEdit();
			this.txtkhly = new DevExpress.XtraEditors.TextEdit();
			this.cbxb = new DevExpress.XtraEditors.ComboBoxEdit();
			this.txtwhcd = new DevExpress.XtraEditors.TextEdit();
			this.txtnl = new DevExpress.XtraEditors.TextEdit();
			this.txtdwxz = new DevExpress.XtraEditors.TextEdit();
			this.txtdwbm = new DevExpress.XtraEditors.TextEdit();
			this.txtdwmc = new DevExpress.XtraEditors.TextEdit();
			this.label20 = new System.Windows.Forms.Label();
			this.label19 = new System.Windows.Forms.Label();
			this.label18 = new System.Windows.Forms.Label();
			this.label17 = new System.Windows.Forms.Label();
			this.label16 = new System.Windows.Forms.Label();
			this.label15 = new System.Windows.Forms.Label();
			this.label14 = new System.Windows.Forms.Label();
			this.label12 = new System.Windows.Forms.Label();
			this.label9 = new System.Windows.Forms.Label();
			this.txtbz = new DevExpress.XtraEditors.MemoEdit();
			this.btReset = new DevExpress.XtraEditors.SimpleButton();
			this.btDelete = new DevExpress.XtraEditors.SimpleButton();
			this.btSave = new DevExpress.XtraEditors.SimpleButton();
			this.btAdd = new DevExpress.XtraEditors.SimpleButton();
			this.label7 = new System.Windows.Forms.Label();
			this.label10 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.label8 = new System.Windows.Forms.Label();
			this.label13 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.label11 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			((System.ComponentModel.ISupportInitialize)(this.panel2)).BeginInit();
			this.panel2.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dgPriver)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.panel1)).BeginInit();
			this.panel1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.txtdwzc.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwnsr.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwlxr.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwrs.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtzw.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtzy.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtyyah.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdzyx.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtcz.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtyddh.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdh.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtqh.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtxxdz.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtyzbm.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtcs.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtsf.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtkhly.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.cbxb.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtwhcd.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtnl.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwxz.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwbm.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwmc.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtbz.Properties)).BeginInit();
			this.SuspendLayout();
			// 
			// panel2
			// 
			this.panel2.Controls.Add(this.checkBox1);
			this.panel2.Controls.Add(this.dgPriver);
			this.panel2.Controls.Add(this.gridDataFilter1);
			this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
			this.panel2.Location = new System.Drawing.Point(0, 248);
			this.panel2.Name = "panel2";
			this.panel2.Size = new System.Drawing.Size(840, 274);
			this.panel2.TabIndex = 15;
			// 
			// checkBox1
			// 
			this.checkBox1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(90)), ((System.Byte)(180)), ((System.Byte)(232)));
			this.checkBox1.Font = new System.Drawing.Font("宋体", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.checkBox1.ForeColor = System.Drawing.Color.Black;
			this.checkBox1.Location = new System.Drawing.Point(112, 5);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(48, 16);
			this.checkBox1.TabIndex = 15;
			this.checkBox1.Text = "全选";
			this.checkBox1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
			// 
			// dgPriver
			// 
			this.dgPriver.AlternatingBackColor = System.Drawing.Color.GhostWhite;
			this.dgPriver.BackColor = System.Drawing.Color.GhostWhite;
			this.dgPriver.BackgroundColor = System.Drawing.Color.Lavender;
			this.dgPriver.CaptionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(90)), ((System.Byte)(180)), ((System.Byte)(232)));
			this.dgPriver.CaptionForeColor = System.Drawing.Color.Black;
			this.dgPriver.CaptionText = "单位信息列表";
			this.dgPriver.DataMember = "";
			this.dgPriver.Dock = System.Windows.Forms.DockStyle.Fill;
			this.dgPriver.Font = new System.Drawing.Font("Tahoma", 8F);
			this.dgPriver.ForeColor = System.Drawing.Color.MidnightBlue;
			this.dgPriver.GridLineColor = System.Drawing.Color.RoyalBlue;
			this.dgPriver.HeaderBackColor = System.Drawing.Color.DeepSkyBlue;
			this.dgPriver.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
			this.dgPriver.HeaderForeColor = System.Drawing.Color.Lavender;
			this.dgPriver.ImeMode = System.Windows.Forms.ImeMode.NoControl;
			this.dgPriver.LinkColor = System.Drawing.Color.Teal;
			this.dgPriver.Location = new System.Drawing.Point(2, 2);
			this.dgPriver.Name = "dgPriver";
			this.dgPriver.ParentRowsBackColor = System.Drawing.Color.Lavender;
			this.dgPriver.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
			this.dgPriver.SelectionBackColor = System.Drawing.Color.Teal;
			this.dgPriver.SelectionForeColor = System.Drawing.Color.PaleGreen;
			this.dgPriver.Size = new System.Drawing.Size(836, 238);
			this.dgPriver.TabIndex = 1;
			this.dgPriver.CurrentCellChanged += new System.EventHandler(this.dgPriver_CurrentCellChanged);
			// 
			// gridDataFilter1
			// 
			this.gridDataFilter1.checkbox = null;
			this.gridDataFilter1.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.gridDataFilter1.Location = new System.Drawing.Point(2, 240);
			this.gridDataFilter1.Name = "gridDataFilter1";
			this.gridDataFilter1.Size = new System.Drawing.Size(836, 32);
			this.gridDataFilter1.TabIndex = 14;
			// 
			// panel1
			// 
			this.panel1.Appearance.BackColor = System.Drawing.Color.Transparent;
			this.panel1.Appearance.Options.UseBackColor = true;
			this.panel1.Controls.Add(this.simpleButton2);
			this.panel1.Controls.Add(this.simpleButton1);
			this.panel1.Controls.Add(this.txtdwzc);
			this.panel1.Controls.Add(this.txtdwnsr);
			this.panel1.Controls.Add(this.txtdwlxr);
			this.panel1.Controls.Add(this.txtdwrs);
			this.panel1.Controls.Add(this.label27);
			this.panel1.Controls.Add(this.label26);
			this.panel1.Controls.Add(this.label25);
			this.panel1.Controls.Add(this.label24);
			this.panel1.Controls.Add(this.txtzw);
			this.panel1.Controls.Add(this.txtzy);
			this.panel1.Controls.Add(this.txtyyah);
			this.panel1.Controls.Add(this.txtdzyx);
			this.panel1.Controls.Add(this.txtcz);
			this.panel1.Controls.Add(this.txtyddh);
			this.panel1.Controls.Add(this.txtdh);
			this.panel1.Controls.Add(this.txtqh);
			this.panel1.Controls.Add(this.txtxxdz);
			this.panel1.Controls.Add(this.txtyzbm);
			this.panel1.Controls.Add(this.txtcs);
			this.panel1.Controls.Add(this.txtsf);
			this.panel1.Controls.Add(this.txtkhly);
			this.panel1.Controls.Add(this.cbxb);
			this.panel1.Controls.Add(this.txtwhcd);
			this.panel1.Controls.Add(this.txtnl);
			this.panel1.Controls.Add(this.txtdwxz);
			this.panel1.Controls.Add(this.txtdwbm);
			this.panel1.Controls.Add(this.txtdwmc);
			this.panel1.Controls.Add(this.label20);
			this.panel1.Controls.Add(this.label19);
			this.panel1.Controls.Add(this.label18);
			this.panel1.Controls.Add(this.label17);
			this.panel1.Controls.Add(this.label16);
			this.panel1.Controls.Add(this.label15);
			this.panel1.Controls.Add(this.label14);
			this.panel1.Controls.Add(this.label12);
			this.panel1.Controls.Add(this.label9);
			this.panel1.Controls.Add(this.txtbz);
			this.panel1.Controls.Add(this.btReset);
			this.panel1.Controls.Add(this.btDelete);
			this.panel1.Controls.Add(this.btSave);
			this.panel1.Controls.Add(this.btAdd);
			this.panel1.Controls.Add(this.label7);
			this.panel1.Controls.Add(this.label10);
			this.panel1.Controls.Add(this.label3);
			this.panel1.Controls.Add(this.label8);
			this.panel1.Controls.Add(this.label13);
			this.panel1.Controls.Add(this.label6);
			this.panel1.Controls.Add(this.label4);
			this.panel1.Controls.Add(this.label11);
			this.panel1.Controls.Add(this.label1);
			this.panel1.Controls.Add(this.label5);
			this.panel1.Controls.Add(this.label2);
			this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
			this.panel1.Location = new System.Drawing.Point(0, 0);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(840, 248);
			this.panel1.TabIndex = 14;
			// 
			// simpleButton2
			// 
			this.simpleButton2.Location = new System.Drawing.Point(752, 144);
			this.simpleButton2.Name = "simpleButton2";
			this.simpleButton2.TabIndex = 117;
			this.simpleButton2.Text = "打印";
			this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
			// 
			// simpleButton1
			// 
			this.simpleButton1.Location = new System.Drawing.Point(752, 168);
			this.simpleButton1.Name = "simpleButton1";
			this.simpleButton1.TabIndex = 116;
			this.simpleButton1.Text = "选择";
			this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
			// 
			// txtdwzc
			// 
			this.txtdwzc.EditValue = "";
			this.txtdwzc.Location = new System.Drawing.Point(576, 144);
			this.txtdwzc.Name = "txtdwzc";
			// 
			// txtdwzc.Properties
			// 
			this.txtdwzc.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtdwzc.Size = new System.Drawing.Size(160, 21);
			this.txtdwzc.TabIndex = 115;
			// 
			// txtdwnsr
			// 
			this.txtdwnsr.EditValue = "";
			this.txtdwnsr.Location = new System.Drawing.Point(328, 144);
			this.txtdwnsr.Name = "txtdwnsr";
			// 
			// txtdwnsr.Properties
			// 
			this.txtdwnsr.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtdwnsr.Size = new System.Drawing.Size(160, 21);
			this.txtdwnsr.TabIndex = 114;
			// 
			// txtdwlxr
			// 
			this.txtdwlxr.EditValue = "";
			this.txtdwlxr.Location = new System.Drawing.Point(88, 168);
			this.txtdwlxr.Name = "txtdwlxr";
			// 
			// txtdwlxr.Properties
			// 
			this.txtdwlxr.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtdwlxr.Size = new System.Drawing.Size(144, 21);
			this.txtdwlxr.TabIndex = 113;
			// 
			// txtdwrs
			// 
			this.txtdwrs.EditValue = "";
			this.txtdwrs.Location = new System.Drawing.Point(88, 144);
			this.txtdwrs.Name = "txtdwrs";
			// 
			// txtdwrs.Properties
			// 
			this.txtdwrs.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtdwrs.Size = new System.Drawing.Size(144, 21);
			this.txtdwrs.TabIndex = 112;
			// 
			// label27
			// 
			this.label27.Location = new System.Drawing.Point(16, 168);
			this.label27.Name = "label27";
			this.label27.Size = new System.Drawing.Size(72, 23);
			this.label27.TabIndex = 111;
			this.label27.Text = "单位联系人";
			this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label26
			// 

⌨️ 快捷键说明

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