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

📄 qianding.cs

📁 进销存管理系统软件
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace my进销售
{
	/// <summary>
	/// qianding 的摘要说明。
	/// </summary>
	public class qianding : System.Windows.Forms.Form
	{

       

		private Database link=new Database();
		private DataTable newTable;

		public static string[] inputdataempty=new string[]{"",""};
		public static string[] inputdataemptyy=new string[]{null,null,null};

		private System.Windows.Forms.ToolBar toolBar1;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.ImageList imageList1;
		private System.Windows.Forms.ToolBarButton toolBarButton1;
		private System.Windows.Forms.ToolBarButton toolBarButton2;
		private System.Windows.Forms.ToolBarButton toolBarButton3;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.DataGrid dataGrid1;
		private System.Windows.Forms.TextBox textday;
		private System.Windows.Forms.TextBox people;
		private System.Windows.Forms.ComboBox txt_people;
		private System.Windows.Forms.ComboBox gonghuo;
		private System.Windows.Forms.TextBox txt_gonghuo;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.TextBox textBox4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.TextBox tatol_sum;
		private System.ComponentModel.IContainer components;

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

			this.gonghuo.Items.Add("");
			//
			// 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.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(qianding));
			this.toolBar1 = new System.Windows.Forms.ToolBar();
			this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
			this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
			this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
			this.imageList1 = new System.Windows.Forms.ImageList(this.components);
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.gonghuo = new System.Windows.Forms.ComboBox();
			this.txt_gonghuo = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.txt_people = new System.Windows.Forms.ComboBox();
			this.label3 = new System.Windows.Forms.Label();
			this.people = new System.Windows.Forms.TextBox();
			this.textday = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.dataGrid1 = new System.Windows.Forms.DataGrid();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.label8 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.tatol_sum = new System.Windows.Forms.TextBox();
			this.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// toolBar1
			// 
			this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
																						this.toolBarButton1,
																						this.toolBarButton2,
																						this.toolBarButton3});
			this.toolBar1.DropDownArrows = true;
			this.toolBar1.ImageList = this.imageList1;
			this.toolBar1.Location = new System.Drawing.Point(0, 0);
			this.toolBar1.Name = "toolBar1";
			this.toolBar1.ShowToolTips = true;
			this.toolBar1.Size = new System.Drawing.Size(712, 28);
			this.toolBar1.TabIndex = 0;
			this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
			// 
			// toolBarButton1
			// 
			this.toolBarButton1.ImageIndex = 0;
			this.toolBarButton1.ToolTipText = "保存";
			// 
			// toolBarButton2
			// 
			this.toolBarButton2.ImageIndex = 1;
			this.toolBarButton2.ToolTipText = "除去";
			// 
			// toolBarButton3
			// 
			this.toolBarButton3.ImageIndex = 2;
			this.toolBarButton3.ToolTipText = "打印";
			// 
			// imageList1
			// 
			this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
			this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
			this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.gonghuo);
			this.groupBox1.Controls.Add(this.txt_gonghuo);
			this.groupBox1.Controls.Add(this.label4);
			this.groupBox1.Controls.Add(this.txt_people);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.people);
			this.groupBox1.Controls.Add(this.textday);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Location = new System.Drawing.Point(0, 24);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(712, 72);
			this.groupBox1.TabIndex = 1;
			this.groupBox1.TabStop = false;
			// 
			// gonghuo
			// 
			this.gonghuo.Location = new System.Drawing.Point(136, 40);
			this.gonghuo.Name = "gonghuo";
			this.gonghuo.Size = new System.Drawing.Size(121, 20);
			this.gonghuo.TabIndex = 9;
			this.gonghuo.DropDown += new System.EventHandler(this.gonghuo_cmd);
			this.gonghuo.KeyUp += new System.Windows.Forms.KeyEventHandler(this.gonghuo_return);
			// 
			// txt_gonghuo
			// 
			this.txt_gonghuo.Location = new System.Drawing.Point(312, 40);
			this.txt_gonghuo.Name = "txt_gonghuo";
			this.txt_gonghuo.ReadOnly = true;
			this.txt_gonghuo.Size = new System.Drawing.Size(280, 21);
			this.txt_gonghuo.TabIndex = 8;
			this.txt_gonghuo.Text = "";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(72, 48);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(64, 16);
			this.label4.TabIndex = 6;
			this.label4.Text = "供货商号:";
			// 
			// txt_people
			// 
			this.txt_people.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.txt_people.Location = new System.Drawing.Point(504, 16);
			this.txt_people.Name = "txt_people";
			this.txt_people.Size = new System.Drawing.Size(121, 20);
			this.txt_people.TabIndex = 5;
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(448, 16);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(56, 16);
			this.label3.TabIndex = 4;
			this.label3.Text = "业务员:";
			// 
			// people
			// 
			this.people.Location = new System.Drawing.Point(312, 16);
			this.people.Name = "people";
			this.people.Size = new System.Drawing.Size(112, 21);
			this.people.TabIndex = 3;
			this.people.Text = "";
			// 
			// textday
			// 
			this.textday.Location = new System.Drawing.Point(136, 16);
			this.textday.Name = "textday";
			this.textday.Size = new System.Drawing.Size(108, 21);
			this.textday.TabIndex = 2;
			this.textday.Text = "";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(260, 16);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(56, 16);
			this.label2.TabIndex = 1;
			this.label2.Text = "制单人:";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(72, 16);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(64, 16);
			this.label1.TabIndex = 0;
			this.label1.Text = "进货日期:";
			// 
			// dataGrid1
			// 
			this.dataGrid1.CaptionBackColor = System.Drawing.SystemColors.ControlDark;
			this.dataGrid1.DataMember = "";
			this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGrid1.Location = new System.Drawing.Point(0, 96);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.Size = new System.Drawing.Size(712, 224);
			this.dataGrid1.TabIndex = 2;
			this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.label8);
			this.groupBox2.Controls.Add(this.label7);
			this.groupBox2.Controls.Add(this.label6);
			this.groupBox2.Controls.Add(this.label5);
			this.groupBox2.Controls.Add(this.textBox4);
			this.groupBox2.Controls.Add(this.textBox3);
			this.groupBox2.Controls.Add(this.textBox2);
			this.groupBox2.Controls.Add(this.tatol_sum);
			this.groupBox2.Location = new System.Drawing.Point(0, 272);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(712, 120);
			this.groupBox2.TabIndex = 3;
			this.groupBox2.TabStop = false;
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(464, 24);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(80, 23);
			this.label8.TabIndex = 7;
			this.label8.Text = "不含税金额:";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(256, 24);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(64, 23);
			this.label7.TabIndex = 6;
			this.label7.Text = "含税金额:";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(332, 52);

⌨️ 快捷键说明

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