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

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

?? frmttype.cs

?? 一個酒店管理系統
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;

namespace bggl.fm
{
	/// <summary>
	/// frmTtype 的摘要說明。
	/// </summary>
	public class frmTtype : System.Windows.Forms.Form
	{
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Button button4;

		cs.frmTtype type=new bggl.cs.frmTtype();
		DataSet objset=new DataSet();
		TreeView tv;
	    cs.Class1 zw=new bggl.cs.Class1();
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.Button button3;
		private System.Windows.Forms.ImageList imageList1;
		private System.Windows.Forms.Button button5;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox textBox1;
		private System.ComponentModel.IContainer components;

		public frmTtype(TreeView tree)
		{
			tv=tree;
			//
			// 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.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmTtype));
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.button3 = new System.Windows.Forms.Button();
			this.imageList1 = new System.Windows.Forms.ImageList(this.components);
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.button4 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.button1 = new System.Windows.Forms.Button();
			this.button5 = new System.Windows.Forms.Button();
			this.label3 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.textBox1);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.button3);
			this.groupBox1.Controls.Add(this.textBox3);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Controls.Add(this.textBox2);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Location = new System.Drawing.Point(8, 8);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(224, 240);
			this.groupBox1.TabIndex = 1;
			this.groupBox1.TabStop = false;
			// 
			// button3
			// 
			this.button3.ImageIndex = 0;
			this.button3.ImageList = this.imageList1;
			this.button3.Location = new System.Drawing.Point(192, 112);
			this.button3.Name = "button3";
			this.button3.Size = new System.Drawing.Size(24, 24);
			this.button3.TabIndex = 6;
			this.button3.Click += new System.EventHandler(this.button3_Click);
			// 
			// imageList1
			// 
			this.imageList1.ImageSize = new System.Drawing.Size(25, 25);
			this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
			this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// textBox3
			// 
			this.textBox3.Location = new System.Drawing.Point(80, 152);
			this.textBox3.Name = "textBox3";
			this.textBox3.Size = new System.Drawing.Size(104, 21);
			this.textBox3.TabIndex = 5;
			this.textBox3.Text = "";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(16, 160);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(48, 16);
			this.label1.TabIndex = 4;
			this.label1.Text = "菜型:";
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(80, 112);
			this.textBox2.Name = "textBox2";
			this.textBox2.TabIndex = 3;
			this.textBox2.Text = "";
			this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
			this.textBox2.DoubleClick += new System.EventHandler(this.textBox2_DoubleClick_1);
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(16, 120);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(80, 24);
			this.label2.TabIndex = 2;
			this.label2.Text = "餐廳類型:";
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.button5);
			this.groupBox2.Controls.Add(this.button4);
			this.groupBox2.Controls.Add(this.button2);
			this.groupBox2.Controls.Add(this.button1);
			this.groupBox2.Location = new System.Drawing.Point(232, 8);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(104, 240);
			this.groupBox2.TabIndex = 2;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "操作";
			// 
			// button4
			// 
			this.button4.Location = new System.Drawing.Point(8, 160);
			this.button4.Name = "button4";
			this.button4.Size = new System.Drawing.Size(80, 32);
			this.button4.TabIndex = 3;
			this.button4.Text = "退出";
			this.button4.Click += new System.EventHandler(this.button4_Click);
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(8, 80);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(80, 32);
			this.button2.TabIndex = 1;
			this.button2.Text = "刪除";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(8, 40);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(80, 32);
			this.button1.TabIndex = 0;
			this.button1.Text = "添加";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// button5
			// 
			this.button5.Location = new System.Drawing.Point(8, 120);
			this.button5.Name = "button5";
			this.button5.Size = new System.Drawing.Size(80, 32);
			this.button5.TabIndex = 4;
			this.button5.Text = "修改";
			this.button5.Click += new System.EventHandler(this.button5_Click);
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(16, 80);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(72, 16);
			this.label3.TabIndex = 7;
			this.label3.Text = "餐廳編號:";
			// 
			// textBox1
			// 
			this.textBox1.Enabled = false;
			this.textBox1.Location = new System.Drawing.Point(80, 72);
			this.textBox1.Name = "textBox1";
			this.textBox1.TabIndex = 8;
			this.textBox1.Text = "";
			// 
			// frmTtype
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(344, 253);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.groupBox1);
			this.Name = "frmTtype";
			this.Text = "餐廳管理";
			this.Load += new System.EventHandler(this.frmTtype_Load);
			this.groupBox1.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		private void textBox2_TextChanged(object sender, System.EventArgs e)
		{
		
		}

		private void button1_Click(object sender, System.EventArgs e)   //添加餐廳
		{
			if(this.textBox2.Text.Trim()!="" && this.textBox3.Text.Trim()!="")
			{
				type.addtype(this.textBox2.Text,this.textBox3.Text);
				MessageBox.Show("添加已成功!");
				this.textBox1.Text="";
				this.textBox2.Text="";
				this.textBox3.Text="";
				gettree();
			}
			else
			{
			   MessageBox.Show(" 數據輸入不完整,請重新輸入數據!");
			}
		}

		private void frmTtype_Load(object sender, System.EventArgs e)
		{
			
		}

		private void textBox2_DoubleClick(object sender, System.EventArgs e)
		{
			

		}

		private void button2_Click(object sender, System.EventArgs e)    //刪除餐廳
		{
			if(this.textBox2.Text.Trim()!="" && this.textBox3.Text.Trim()!="")
			{
				type.deltype(this.textBox2.Text);
				MessageBox.Show("刪除已成功!");
				this.textBox2.Text="";
				this.textBox3.Text="";
				gettree();
			}
			else
			{
			
				 MessageBox.Show(" 數據輸入不完整,請重新輸入數據!");
			}
		}
		private void gettree()       //樹的方法
		{
			this.tv.Nodes.Clear();
			TreeNode node=new TreeNode();
			node.Text="全部顯示";
			node.Tag=1;
				
			this.tv.Nodes.Add(node);
			this.tv.SelectedNode=node;

			DataSet objsetfjlx=new DataSet();
			objsetfjlx=zw.selecttree();
			foreach(DataRow dr in objsetfjlx.Tables[0].Rows)
			{
				TreeNode nodec=new TreeNode();
				nodec.Text=dr["CTqy"].ToString();
				nodec.Tag=1;
				
				this.tv.SelectedNode.Nodes.Add(nodec);
				this.tv.SelectedNode=nodec;
				tv.SelectedNode=nodec.Parent;
			}
		}
		private void textBox2_DoubleClick_1(object sender, System.EventArgs e)
		{
		
		}

//		private void button5_Click(object sender, System.EventArgs e)
//		{
//			frmtype zz=new frmtype(this.textBox2);
//			zz.Show();
//		}

		private void button4_Click(object sender, System.EventArgs e)
		{
			this.Close();
		}

		private void button3_Click(object sender, System.EventArgs e)    //
		{
			frmtype zz=new frmtype(this.textBox1,this.textBox2,this.textBox3);
			zz.ShowDialog();
		}

		private void button5_Click(object sender, System.EventArgs e)   //修改餐廳
		{
			if(this.textBox2.Text.Trim()!="" && this.textBox3.Text.Trim()!="")
			{
				type.uptype(Convert.ToInt16(this.textBox1.Text.Trim()),this.textBox2.Text.Trim(),this.textBox3.Text.Trim());  
				MessageBox.Show("修改已成功!");
				this.textBox1.Text="";
				this.textBox2.Text="";
				this.textBox3.Text="";
				gettree();
			}
			else
			{
			     MessageBox.Show(" 數據輸入不完整,請重新輸入數據!");
			}

		} 
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产电影一区二区| 91丝袜高跟美女视频| 亚洲人快播电影网| 国产偷国产偷亚洲高清人白洁| 在线观看一区二区视频| 成人深夜视频在线观看| 国产一区二区精品久久91| 日韩av午夜在线观看| 日日嗨av一区二区三区四区| 亚洲一二三四区不卡| 亚洲一区二区四区蜜桃| 亚洲婷婷国产精品电影人久久| 国产精品久久久久永久免费观看 | 国产在线精品不卡| 国内精品自线一区二区三区视频| 日韩在线一二三区| 日本在线不卡视频| 久久aⅴ国产欧美74aaa| 狠狠色综合播放一区二区| 国产麻豆精品视频| 成人激情午夜影院| 日本乱人伦一区| 精品视频在线免费看| 欧美一区二区三区免费视频| 日韩一区二区在线免费观看| 精品日韩欧美在线| 国产亚洲成年网址在线观看| 中文字幕五月欧美| 亚洲福利电影网| 久久精品国产精品亚洲综合| 国产福利视频一区二区三区| 91在线视频官网| 欧美另类videos死尸| 欧美大胆人体bbbb| 国产精品美女久久久久久久久| 亚洲乱码国产乱码精品精可以看| 午夜日韩在线观看| 国产精品性做久久久久久| 99久久er热在这里只有精品66| 色综合久久中文综合久久牛| 欧美精品vⅰdeose4hd| 久久精品一区蜜桃臀影院| 欧美激情一区二区三区在线| 亚洲一区电影777| 国产精品一卡二卡| 欧美日韩国产123区| 国产无一区二区| 亚洲一区二区免费视频| 国产一区激情在线| 欧美性猛交xxxx乱大交退制版| 精品久久久久久久久久久院品网| 国产精品短视频| 免费成人在线网站| 91精品福利在线| 日韩二区在线观看| 91色.com| 2020国产精品自拍| 亚洲午夜在线观看视频在线| 国产黄色成人av| 91精品国产综合久久香蕉麻豆| 国产三级精品三级| 美女久久久精品| 91官网在线免费观看| 国产亚洲短视频| 日本欧美肥老太交大片| 一本在线高清不卡dvd| 国产日韩精品一区二区三区在线| 午夜激情一区二区三区| 91麻豆福利精品推荐| 久久嫩草精品久久久精品一| 日韩精品视频网站| 色国产精品一区在线观看| 国产精品久久久久9999吃药| 精品伊人久久久久7777人| 91精品久久久久久蜜臀| 亚洲自拍偷拍网站| 一本一道久久a久久精品综合蜜臀| 久久精品亚洲国产奇米99| 欧美日韩二区三区| 亚洲综合在线观看视频| 99v久久综合狠狠综合久久| 欧美经典一区二区三区| 国产一区二区三区四| 久久你懂得1024| 粉嫩久久99精品久久久久久夜 | 丝袜美腿亚洲一区| 欧美日韩黄视频| 日韩精品一区第一页| 欧美理论片在线| 日本在线观看不卡视频| 欧美一区二区三区白人| 久久99精品久久久久婷婷| 精品欧美一区二区久久| 国产综合色产在线精品| 国产欧美日韩在线观看| 99这里只有精品| 亚洲免费在线播放| 欧美视频一区在线| 日本亚洲三级在线| 日韩精品资源二区在线| 国产一区二区中文字幕| 中文字幕一区二区在线播放| 91福利在线观看| 午夜成人在线视频| 精品久久久久香蕉网| 福利电影一区二区| 一区二区三区视频在线看| 欧美狂野另类xxxxoooo| 美国十次了思思久久精品导航| 欧美精品一区二区高清在线观看| 国产麻豆欧美日韩一区| 亚洲欧美色图小说| 欧美一区二区三区免费大片| 国产激情91久久精品导航| 一区二区国产盗摄色噜噜| 欧美一区二区高清| 成人精品小蝌蚪| 亚洲成人免费av| 国产亚洲精品福利| 欧美精品v国产精品v日韩精品| 国产一二精品视频| 亚洲国产一区二区在线播放| 精品粉嫩超白一线天av| 色综合久久88色综合天天| 人人狠狠综合久久亚洲| 国产精品污污网站在线观看 | a美女胸又www黄视频久久| 天天影视色香欲综合网老头| 欧美激情一区二区三区在线| 欧美日韩黄色影视| 成人免费va视频| 老司机午夜精品99久久| 亚洲综合丁香婷婷六月香| 久久久国产综合精品女国产盗摄| 欧美性受xxxx| 成人av集中营| 精品一区二区三区视频在线观看| 一区二区三区电影在线播| 国产三级精品在线| 日韩一区二区精品在线观看| 日本黄色一区二区| 成人自拍视频在线观看| 精品一区二区av| 日韩精品一二三四| 一区二区三区四区在线免费观看 | 成人中文字幕电影| 久久精品国产精品亚洲综合| 五月综合激情日本mⅴ| 一区二区三区国产豹纹内裤在线| 国产精品国产自产拍在线| 久久久高清一区二区三区| 日韩欧美一区二区三区在线| 色婷婷综合久久久中文字幕| 成人av电影在线| 成人中文字幕电影| 粉嫩欧美一区二区三区高清影视| 美女国产一区二区| 美女高潮久久久| 久草这里只有精品视频| 免费在线观看精品| 免费成人美女在线观看.| 天天色天天爱天天射综合| 亚洲午夜激情网页| 一区二区三国产精华液| 亚洲美女在线一区| 一区二区在线观看av| 伊人婷婷欧美激情| 亚洲丰满少妇videoshd| 视频一区欧美精品| 日韩高清一区在线| 久草精品在线观看| 国产精品18久久久久久久久久久久 | 亚洲人123区| 一区二区三区91| 偷窥国产亚洲免费视频| 蜜桃一区二区三区在线| 九九在线精品视频| 国产宾馆实践打屁股91| 99久久99精品久久久久久| 91免费在线看| 91精品在线一区二区| 精品国免费一区二区三区| 国产亚洲欧洲一区高清在线观看| 中文字幕不卡在线播放| 一区二区三区四区视频精品免费 | 欧美综合久久久| 91精品黄色片免费大全| 国产欧美1区2区3区| 亚洲乱码中文字幕| 天天做天天摸天天爽国产一区| 久久99久国产精品黄毛片色诱| 国产米奇在线777精品观看| 91色porny在线视频| 精品久久久久久亚洲综合网 | 中文字幕一区二区三区四区不卡| 一区二区在线观看av| 国精品**一区二区三区在线蜜桃| jlzzjlzz欧美大全| 91精品国产免费| 中文字幕一区av|