亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? selltable.cs

?? 完整的進銷存系統 本人已經測試 對系統的初學者很有幫助
?? CS
?? 第 1 頁 / 共 2 頁
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace 進銷存管理系統
{
	/// <summary>
	/// SellTable 的摘要說明。
	/// </summary>
	public class SellTable : System.Windows.Forms.Form
	{
		private	LinkDataBase link = new LinkDataBase();	
		private DataTable newTable;
		public static string [] inputDataGridArray = new string [] {null,null,null,null};
		public static string [] inputTextDataArray = new string [] {"",""}; //確定要賦的值為文本,故用空字符
		private DateTime gridMouseDownTime;//記錄事件,確定鼠標是雙擊表格還是選中一個單元

		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.DataGrid dgrd_SellTable;
		private System.Windows.Forms.ComboBox cmb_Oprater;
		private System.Windows.Forms.TextBox txt_SellDate;
		private System.Windows.Forms.TextBox txt_Maker;
		private System.Windows.Forms.TextBox txt_Company;
		private System.Windows.Forms.ToolBar toolBar1;
		private System.Windows.Forms.ToolBarButton tbarBtnSave;
		private System.Windows.Forms.ToolBarButton tbarBtnDelete;
		private System.Windows.Forms.ImageList imageList1;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.TextBox txt_TotalCount;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox txt_NoTax;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox txt_Tax;
		private System.Windows.Forms.ToolBarButton tbarTrash;
		private System.Windows.Forms.ComboBox cmb_ClientID;
		private System.ComponentModel.IContainer components;

		public SellTable()
		{
			//
			// Windows 窗體設計器支持所必需的
			//
			InitializeComponent();
			//
			// TODO: 在 InitializeComponent 調用后添加任何構造函數代碼
			//
			this.selectDataBase();
			this.DataGridStateControl();
			this.cmb_ClientID.Items.Add("");
			
		}

		/// <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(SellTable));
			this.dgrd_SellTable = new System.Windows.Forms.DataGrid();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.cmb_Oprater = new System.Windows.Forms.ComboBox();
			this.cmb_ClientID = new System.Windows.Forms.ComboBox();
			this.txt_SellDate = new System.Windows.Forms.TextBox();
			this.txt_Maker = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.txt_Company = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.toolBar1 = new System.Windows.Forms.ToolBar();
			this.tbarBtnSave = new System.Windows.Forms.ToolBarButton();
			this.tbarBtnDelete = new System.Windows.Forms.ToolBarButton();
			this.tbarTrash = new System.Windows.Forms.ToolBarButton();
			this.imageList1 = new System.Windows.Forms.ImageList(this.components);
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.txt_TotalCount = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.txt_NoTax = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.txt_Tax = new System.Windows.Forms.TextBox();
			((System.ComponentModel.ISupportInitialize)(this.dgrd_SellTable)).BeginInit();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// dgrd_SellTable
			// 
			this.dgrd_SellTable.AllowSorting = false;
			this.dgrd_SellTable.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.dgrd_SellTable.CaptionVisible = false;
			this.dgrd_SellTable.DataMember = "";
			this.dgrd_SellTable.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dgrd_SellTable.Location = new System.Drawing.Point(0, 104);
			this.dgrd_SellTable.Name = "dgrd_SellTable";
			this.dgrd_SellTable.Size = new System.Drawing.Size(720, 264);
			this.dgrd_SellTable.TabIndex = 5;
			this.dgrd_SellTable.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgrd_SellTable_MouseDown);
			this.dgrd_SellTable.DoubleClick += new System.EventHandler(this.dgrd_SellTable_DoubleClick);
			this.dgrd_SellTable.CurrentCellChanged += new System.EventHandler(this.dgrd_SellTable_CurrentCellChanged);
			// 
			// groupBox1
			// 
			this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.groupBox1.Controls.Add(this.cmb_Oprater);
			this.groupBox1.Controls.Add(this.cmb_ClientID);
			this.groupBox1.Controls.Add(this.txt_SellDate);
			this.groupBox1.Controls.Add(this.txt_Maker);
			this.groupBox1.Controls.Add(this.label4);
			this.groupBox1.Controls.Add(this.txt_Company);
			this.groupBox1.Controls.Add(this.label5);
			this.groupBox1.Controls.Add(this.label6);
			this.groupBox1.Controls.Add(this.label7);
			this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.groupBox1.Location = new System.Drawing.Point(0, 22);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(720, 82);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			// 
			// cmb_Oprater
			// 
			this.cmb_Oprater.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmb_Oprater.Location = new System.Drawing.Point(525, 16);
			this.cmb_Oprater.Name = "cmb_Oprater";
			this.cmb_Oprater.Size = new System.Drawing.Size(120, 20);
			this.cmb_Oprater.Sorted = true;
			this.cmb_Oprater.TabIndex = 3;
			// 
			// cmb_ClientID
			// 
			this.cmb_ClientID.Location = new System.Drawing.Point(143, 51);
			this.cmb_ClientID.MaxDropDownItems = 1;
			this.cmb_ClientID.Name = "cmb_ClientID";
			this.cmb_ClientID.Size = new System.Drawing.Size(128, 20);
			this.cmb_ClientID.Sorted = true;
			this.cmb_ClientID.TabIndex = 4;
			this.cmb_ClientID.DropDown += new System.EventHandler(this.cmb_Client_DropDown);
			this.cmb_ClientID.KeyUp += new System.Windows.Forms.KeyEventHandler(this.cmb_Client_KeyUp);
			// 
			// txt_SellDate
			// 
			this.txt_SellDate.Location = new System.Drawing.Point(143, 16);
			this.txt_SellDate.Name = "txt_SellDate";
			this.txt_SellDate.Size = new System.Drawing.Size(128, 21);
			this.txt_SellDate.TabIndex = 1;
			this.txt_SellDate.Text = "";
			// 
			// txt_Maker
			// 
			this.txt_Maker.Location = new System.Drawing.Point(346, 16);
			this.txt_Maker.Name = "txt_Maker";
			this.txt_Maker.TabIndex = 2;
			this.txt_Maker.Text = "sys";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(75, 55);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(62, 16);
			this.label4.TabIndex = 19;
			this.label4.Text = "客戶編號:";
			// 
			// txt_Company
			// 
			this.txt_Company.Location = new System.Drawing.Point(293, 51);
			this.txt_Company.Name = "txt_Company";
			this.txt_Company.ReadOnly = true;
			this.txt_Company.Size = new System.Drawing.Size(352, 21);
			this.txt_Company.TabIndex = 9;
			this.txt_Company.TabStop = false;
			this.txt_Company.Text = "";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(293, 22);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(48, 16);
			this.label5.TabIndex = 17;
			this.label5.Text = "制單人:";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(471, 22);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(48, 16);
			this.label6.TabIndex = 18;
			this.label6.Text = "業務員:";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(75, 22);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(62, 16);
			this.label7.TabIndex = 16;
			this.label7.Text = "售貨日期:";
			// 
			// toolBar1
			// 
			this.toolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
																						this.tbarBtnSave,
																						this.tbarBtnDelete,
																						this.tbarTrash});
			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(720, 29);
			this.toolBar1.TabIndex = 8;
			this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
			// 
			// tbarBtnSave
			// 
			this.tbarBtnSave.ImageIndex = 0;
			this.tbarBtnSave.ToolTipText = "保存修改";
			// 
			// tbarBtnDelete
			// 
			this.tbarBtnDelete.ImageIndex = 1;
			this.tbarBtnDelete.ToolTipText = "刪除數據";
			// 
			// tbarTrash
			// 
			this.tbarTrash.ImageIndex = 2;
			this.tbarTrash.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;
			// 
			// groupBox2
			// 
			this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.groupBox2.Controls.Add(this.txt_TotalCount);
			this.groupBox2.Controls.Add(this.label1);
			this.groupBox2.Controls.Add(this.label2);
			this.groupBox2.Controls.Add(this.txt_NoTax);
			this.groupBox2.Controls.Add(this.label3);
			this.groupBox2.Controls.Add(this.txt_Tax);
			this.groupBox2.Location = new System.Drawing.Point(0, 374);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(720, 46);
			this.groupBox2.TabIndex = 9;
			this.groupBox2.TabStop = false;
			// 
			// txt_TotalCount
			// 
			this.txt_TotalCount.Location = new System.Drawing.Point(123, 13);
			this.txt_TotalCount.Name = "txt_TotalCount";
			this.txt_TotalCount.TabIndex = 6;
			this.txt_TotalCount.Text = "0.00";
			this.txt_TotalCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(59, 18);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(64, 16);
			this.label1.TabIndex = 46;
			this.label1.Text = "合計金額:";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(283, 18);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(72, 16);
			this.label2.TabIndex = 44;
			this.label2.Text = "不含稅金額:";
			// 
			// txt_NoTax
			// 
			this.txt_NoTax.Location = new System.Drawing.Point(363, 13);
			this.txt_NoTax.Name = "txt_NoTax";
			this.txt_NoTax.TabIndex = 7;
			this.txt_NoTax.Text = "0.00";
			this.txt_NoTax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(515, 18);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(40, 16);
			this.label3.TabIndex = 45;
			this.label3.Text = "稅額:";
			// 
			// txt_Tax
			// 
			this.txt_Tax.Location = new System.Drawing.Point(562, 13);
			this.txt_Tax.Name = "txt_Tax";
			this.txt_Tax.TabIndex = 8;
			this.txt_Tax.Text = "0.00";
			this.txt_Tax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// SellTable
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(720, 421);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.toolBar1);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.dgrd_SellTable);
			this.Name = "SellTable";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "【銷售單】";
			this.Load += new System.EventHandler(this.SellTable_Load);
			((System.ComponentModel.ISupportInitialize)(this.dgrd_SellTable)).EndInit();
			this.groupBox1.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		//---------在表格中填入所選商品名稱,稅率等信息---------
		public void setWareData()
		{
			dgrd_SellTable[dgrd_SellTable.CurrentCell.RowNumber,0] = inputDataGridArray[0];
			dgrd_SellTable[dgrd_SellTable.CurrentCell.RowNumber,4] = inputDataGridArray[1];
			dgrd_SellTable[dgrd_SellTable.CurrentCell.RowNumber,5] = inputDataGridArray[2];
			dgrd_SellTable[dgrd_SellTable.CurrentCell.RowNumber,7] = 17;
		}

		//----------在表格中填入倉庫信息------
		public void setStorageData()
		{
			dgrd_SellTable[dgrd_SellTable.CurrentCell.RowNumber,3] = inputDataGridArray[3];
		}

		//---------------設置客戶編號和客戶名稱--------------
		private void setTextData()
		{
			this.cmb_ClientID.IntegralHeight = false;//使組合框不調整大小以顯示其所有項
			this.cmb_ClientID.DroppedDown = false;//使組合框不顯示其下拉部分
			this.cmb_ClientID.Items[0] = inputTextDataArray[0];
			this.cmb_ClientID.SelectedIndex = 0;
			this.txt_Company.Text = inputTextDataArray[1];
			this.cmb_ClientID.IntegralHeight = true;//恢復默認值
		}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品在线网站| 欧美一区二区性放荡片| 欧美特级限制片免费在线观看| 日韩一区二区影院| 亚洲色欲色欲www在线观看| 久久精品国产精品亚洲红杏| 日韩一级二级三级| 日本一区二区不卡视频| 日韩av电影免费观看高清完整版| 粉嫩在线一区二区三区视频| 3d成人h动漫网站入口| 亚洲人被黑人高潮完整版| 国产一区二区视频在线播放| 欧美人妇做爰xxxⅹ性高电影 | 国产一区二区三区四区五区美女| 91免费国产在线| 国产亚洲精久久久久久| 美女www一区二区| 欧美三级在线看| 亚洲最新视频在线播放| 奇米四色…亚洲| 亚洲国产精品精华液ab| 国产亚洲欧洲一区高清在线观看| 亚洲成a人v欧美综合天堂下载| 99国产精品视频免费观看| 国产一区二区三区综合| 99re这里只有精品首页| 精品国产成人在线影院 | 美女视频第一区二区三区免费观看网站 | 久久99国产精品久久| 欧美三级视频在线观看| 亚洲欧美国产高清| 色综合久久久久综合体桃花网| 国产精品丝袜久久久久久app| 国产精品综合网| 久久久久免费观看| 国产精品资源在线看| 久久网站最新地址| 国产高清视频一区| 2欧美一区二区三区在线观看视频| 美女国产一区二区三区| 精品久久久久久久久久久久久久久久久 | 久久久精品一品道一区| 经典三级在线一区| 久久久不卡网国产精品一区| 国产精品中文字幕日韩精品| 国产日产欧美一区| 97国产精品videossex| 亚洲欧美一区二区三区极速播放 | 久久99精品久久久久久国产越南| 日韩免费观看高清完整版在线观看| 秋霞影院一区二区| 久久婷婷色综合| 99久久免费视频.com| 亚洲精品美国一| 欧美一区二区三区精品| 国产一区二区在线影院| 国产精品女人毛片| 欧美日韩一区二区三区在线| 麻豆国产一区二区| 国产精品久久夜| 欧美伊人久久大香线蕉综合69 | 中文字幕欧美三区| 在线免费观看成人短视频| 日韩国产欧美在线视频| 久久久久高清精品| 91久久精品一区二区| 奇米影视在线99精品| 中文字幕精品一区二区三区精品| 一本到一区二区三区| 久久噜噜亚洲综合| 中文字幕在线不卡一区| 欧美色综合影院| 国产成人小视频| 亚洲国产精品一区二区www | 亚洲一区av在线| 久久婷婷成人综合色| 色婷婷久久综合| 国产一区视频在线看| 一区二区三区资源| 久久久久久免费网| 欧美日韩免费在线视频| 盗摄精品av一区二区三区| 日韩精品每日更新| 最新欧美精品一区二区三区| 日韩一区二区三区在线视频| 91免费视频观看| 国产aⅴ综合色| 免费成人你懂的| 亚洲一区二区在线播放相泽| 国产肉丝袜一区二区| 91精品国产手机| 欧美做爰猛烈大尺度电影无法无天| 国模套图日韩精品一区二区| 久久国产福利国产秒拍| 亚洲aaa精品| 亚洲欧美另类久久久精品| 久久免费国产精品| 日韩一区二区三区观看| 欧美三级视频在线观看| 色噜噜狠狠色综合欧洲selulu| 国产成人在线视频网站| 国产综合久久久久久鬼色| 日韩专区在线视频| 亚洲一区精品在线| 亚洲伦在线观看| ...av二区三区久久精品| 欧美国产丝袜视频| 日本一区二区视频在线| 久久女同性恋中文字幕| 欧美精品一区二区久久婷婷| 日韩欧美美女一区二区三区| 欧美疯狂做受xxxx富婆| 欧美男人的天堂一二区| 欧美日韩一区在线| 欧美三级电影一区| 欧美三级韩国三级日本三斤| 欧美视频在线不卡| 欧美性xxxxxx少妇| 欧美日韩精品免费| 欧美丰满嫩嫩电影| 欧美一卡2卡三卡4卡5免费| 欧美一区二区私人影院日本| 欧美一区二视频| 欧美不卡视频一区| 久久久不卡影院| 一色桃子久久精品亚洲| 一区二区在线观看免费| 亚洲va欧美va国产va天堂影院| 亚洲成人黄色小说| 日本伊人午夜精品| 国内精品在线播放| 成人自拍视频在线观看| 91亚洲国产成人精品一区二三| 色视频一区二区| 777色狠狠一区二区三区| 日韩欧美的一区二区| 久久久精品影视| 亚洲欧美激情插| 日韩成人一区二区三区在线观看| 蜜臀精品一区二区三区在线观看| 另类小说欧美激情| 国产高清成人在线| 欧美在线视频日韩| 日韩精品中文字幕一区| 国产欧美日韩久久| 亚洲一区二区三区美女| 精品一区精品二区高清| 成人av在线影院| 欧美剧在线免费观看网站| 久久久午夜精品| 亚洲人成网站精品片在线观看| 丝袜a∨在线一区二区三区不卡| 经典三级视频一区| 91国偷自产一区二区三区观看| 91精品欧美综合在线观看最新| 国产婷婷色一区二区三区| 亚洲欧美日韩中文播放| 久久国产综合精品| 在线免费观看成人短视频| 欧美mv和日韩mv国产网站| 亚洲精品中文在线影院| 国产自产视频一区二区三区| 欧美制服丝袜第一页| 精品国产1区二区| 亚洲五月六月丁香激情| 极品美女销魂一区二区三区| 日本韩国欧美一区二区三区| 久久伊人蜜桃av一区二区| 亚洲一区二区三区爽爽爽爽爽 | 97精品视频在线观看自产线路二| 91精品视频网| 亚洲精品一卡二卡| 成人性生交大片免费看视频在线| 制服.丝袜.亚洲.中文.综合| 日韩毛片视频在线看| 国产一区二区精品久久91| 91麻豆精品国产91久久久久久 | 免费日韩伦理电影| 在线观看亚洲精品视频| 国产欧美精品一区二区色综合| 日本中文在线一区| 欧美中文字幕不卡| 亚洲色图.com| av在线播放不卡| 国产欧美一区二区三区沐欲| 免费成人av资源网| 在线观看91精品国产麻豆| 亚洲一区二区偷拍精品| 97久久超碰国产精品电影| 日本一区二区三区久久久久久久久不| 美女一区二区在线观看| 3atv一区二区三区| 无码av中文一区二区三区桃花岛| 91精品福利视频| 一区二区三区在线看| 日本乱人伦aⅴ精品| 亚洲欧美国产三级| 在线视频国内一区二区| 一区二区在线观看免费视频播放|