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

📄 dwxsxxmanage.cs

📁 c#编写的汽车销售公司erp进销存系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
			this.groupControl3.Controls.Add(this.label40);
			this.groupControl3.Controls.Add(this.mmbz);
			this.groupControl3.Controls.Add(this.dtxsrq);
			this.groupControl3.Controls.Add(this.cbclgz);
			this.groupControl3.Controls.Add(this.txtfph);
			this.groupControl3.Controls.Add(this.txtjg);
			this.groupControl3.Controls.Add(this.label39);
			this.groupControl3.Controls.Add(this.label38);
			this.groupControl3.Controls.Add(this.label37);
			this.groupControl3.Controls.Add(this.label36);
			this.groupControl3.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.groupControl3.Location = new System.Drawing.Point(0, 248);
			this.groupControl3.Name = "groupControl3";
			this.groupControl3.Size = new System.Drawing.Size(864, 328);
			this.groupControl3.TabIndex = 19;
			this.groupControl3.Text = "销售信息";
			// 
			// simpleButton1
			// 
			this.simpleButton1.Location = new System.Drawing.Point(560, 48);
			this.simpleButton1.Name = "simpleButton1";
			this.simpleButton1.TabIndex = 73;
			this.simpleButton1.Text = "打印";
			this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
			// 
			// 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(120, 80);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(48, 16);
			this.checkBox1.TabIndex = 72;
			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.Bottom;
			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, 78);
			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(860, 216);
			this.dgPriver.TabIndex = 66;
			this.dgPriver.CurrentCellChanged += new System.EventHandler(this.dgPriver_CurrentCellChanged);
			// 
			// btReset
			// 
			this.btReset.Location = new System.Drawing.Point(464, 48);
			this.btReset.Name = "btReset";
			this.btReset.TabIndex = 71;
			this.btReset.Text = "清  空";
			this.btReset.Click += new System.EventHandler(this.btReset_Click);
			// 
			// btDelete
			// 
			this.btDelete.Location = new System.Drawing.Point(368, 48);
			this.btDelete.Name = "btDelete";
			this.btDelete.TabIndex = 70;
			this.btDelete.Text = "删  除";
			this.btDelete.Click += new System.EventHandler(this.btDelete_Click);
			// 
			// btSave
			// 
			this.btSave.Location = new System.Drawing.Point(272, 48);
			this.btSave.Name = "btSave";
			this.btSave.TabIndex = 69;
			this.btSave.Text = "修  改";
			this.btSave.Click += new System.EventHandler(this.btSave_Click);
			// 
			// btAdd
			// 
			this.btAdd.Location = new System.Drawing.Point(176, 48);
			this.btAdd.Name = "btAdd";
			this.btAdd.TabIndex = 68;
			this.btAdd.Text = "添  加";
			this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
			// 
			// gridDataFilter1
			// 
			this.gridDataFilter1.checkbox = null;
			this.gridDataFilter1.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.gridDataFilter1.Location = new System.Drawing.Point(2, 294);
			this.gridDataFilter1.Name = "gridDataFilter1";
			this.gridDataFilter1.Size = new System.Drawing.Size(860, 32);
			this.gridDataFilter1.TabIndex = 67;
			// 
			// label40
			// 
			this.label40.Location = new System.Drawing.Point(616, 24);
			this.label40.Name = "label40";
			this.label40.Size = new System.Drawing.Size(32, 23);
			this.label40.TabIndex = 9;
			this.label40.Text = "备注";
			this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// mmbz
			// 
			this.mmbz.EditValue = "";
			this.mmbz.Location = new System.Drawing.Point(648, 24);
			this.mmbz.Name = "mmbz";
			// 
			// mmbz.Properties
			// 
			this.mmbz.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.mmbz.Size = new System.Drawing.Size(192, 21);
			this.mmbz.TabIndex = 8;
			// 
			// dtxsrq
			// 
			this.dtxsrq.EditValue = new System.DateTime(2006, 8, 29, 0, 0, 0, 0);
			this.dtxsrq.Location = new System.Drawing.Point(512, 24);
			this.dtxsrq.Name = "dtxsrq";
			// 
			// dtxsrq.Properties
			// 
			this.dtxsrq.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.dtxsrq.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
																										   new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
			this.dtxsrq.Size = new System.Drawing.Size(100, 21);
			this.dtxsrq.TabIndex = 7;
			// 
			// cbclgz
			// 
			this.cbclgz.EditValue = "";
			this.cbclgz.Location = new System.Drawing.Point(352, 24);
			this.cbclgz.Name = "cbclgz";
			// 
			// cbclgz.Properties
			// 
			this.cbclgz.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.cbclgz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
																										   new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
			this.cbclgz.Properties.Items.AddRange(new object[] {
																   "是",
																   "否"});
			this.cbclgz.Size = new System.Drawing.Size(100, 21);
			this.cbclgz.TabIndex = 6;
			// 
			// txtfph
			// 
			this.txtfph.EditValue = "";
			this.txtfph.Location = new System.Drawing.Point(192, 24);
			this.txtfph.Name = "txtfph";
			// 
			// txtfph.Properties
			// 
			this.txtfph.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtfph.Size = new System.Drawing.Size(100, 21);
			this.txtfph.TabIndex = 5;
			// 
			// txtjg
			// 
			this.txtjg.EditValue = "";
			this.txtjg.Location = new System.Drawing.Point(48, 24);
			this.txtjg.Name = "txtjg";
			// 
			// txtjg.Properties
			// 
			this.txtjg.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
			this.txtjg.Size = new System.Drawing.Size(100, 21);
			this.txtjg.TabIndex = 4;
			// 
			// label39
			// 
			this.label39.Location = new System.Drawing.Point(456, 24);
			this.label39.Name = "label39";
			this.label39.Size = new System.Drawing.Size(64, 23);
			this.label39.TabIndex = 3;
			this.label39.Text = "销售日期";
			this.label39.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label38
			// 
			this.label38.Location = new System.Drawing.Point(296, 24);
			this.label38.Name = "label38";
			this.label38.Size = new System.Drawing.Size(56, 23);
			this.label38.TabIndex = 2;
			this.label38.Text = "车辆改装";
			this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label37
			// 
			this.label37.Location = new System.Drawing.Point(152, 24);
			this.label37.Name = "label37";
			this.label37.Size = new System.Drawing.Size(48, 23);
			this.label37.TabIndex = 1;
			this.label37.Text = "发票号";
			this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label36
			// 
			this.label36.Location = new System.Drawing.Point(16, 24);
			this.label36.Name = "label36";
			this.label36.Size = new System.Drawing.Size(32, 23);
			this.label36.TabIndex = 0;
			this.label36.Text = "价格";
			this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// DwXsxxManage
			// 
			this.Controls.Add(this.groupControl2);
			this.Controls.Add(this.groupControl1);
			this.Controls.Add(this.groupControl3);
			this.Name = "DwXsxxManage";
			this.Size = new System.Drawing.Size(864, 576);
			this.Load += new System.EventHandler(this.DwXsxxManage_Load);
			((System.ComponentModel.ISupportInitialize)(this.cbstate.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtbz.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dtrkrq.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.cbscdw.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.cbclxz.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.cbpp.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.cbys.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dtxxrq.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtggxh.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtfdjhm.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtfdjxh.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtccbh.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
			this.groupControl1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
			this.groupControl2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.txtdwzc.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwnsr.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwlxr.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwrs.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtzw.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtzy.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtyyah.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdzyx.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtcz.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtyddh.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdh.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtqh.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtxxdz.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtyzbm.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtcs.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtsf.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtkhly.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.cbxb.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtwhcd.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtnl.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwbm.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwxz.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtdwmc.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.mebz.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.groupControl3)).EndInit();
			this.groupControl3.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.dgPriver)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.mmbz.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dtxsrq.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.cbclgz.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtfph.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtjg.Properties)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		private void label2_Click(object sender, System.EventArgs e)
		{
			try
			{
				carku=new CarkuInfo();
				FrmCarkuSelect frmcarkuselect=new FrmCarkuSelect();
				frmcarkuselect.ShowDialog();
				carku=frmcarkuselect.getCarkuInfo();
				if(carku==null)
				{
					return;
				}
				setCarkuInfo(carku);
			}
			catch(Exception ex)
			{
				MessageBox.Show(ex.Message);
			}
		}
		private void setCarkuInfo(CarkuInfo carku)
		{
			this.txtccbh.Text=Convert.ToString(carku.ccbh);
			this.cbstate.Text=Convert.ToString(carku.state);
			this.cbys.Text=Convert.ToString(carku.ys);
			this.cbpp.Text=Convert.ToString(carku.pp);
			this.cbclxz.Text=Convert.ToString(carku.clxz);
			this.txtggxh.Text=Convert.ToString(carku.ggxh);
			this.txtfdjxh.Text=Convert.ToString(carku.fdjxh);
			

⌨️ 快捷键说明

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