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

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

?? zkselect.cs

?? 剖面生成器
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data.SqlClient;
using Microsoft.Win32;
using System.Data;

namespace ProfileCtrl
{
	/// <summary>
	/// ZkSelect 的摘要說明。
	/// </summary>
	public class ZkSelect : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button btnDelAll;
		private System.Windows.Forms.Button btnAddAll;
		private System.Windows.Forms.Button btnDel;
		private System.Windows.Forms.Button btnAdd;
		private System.Windows.Forms.ListBox lstInput;
		public System.Windows.Forms.ListBox lstSource;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button2;
		private AxSuperMapLib.AxSuperWorkspace axSuperWorkspace1;
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public ZkSelect()
		{
			//
			// 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()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ZkSelect));
			this.btnDelAll = new System.Windows.Forms.Button();
			this.btnAddAll = new System.Windows.Forms.Button();
			this.btnDel = new System.Windows.Forms.Button();
			this.btnAdd = new System.Windows.Forms.Button();
			this.lstInput = new System.Windows.Forms.ListBox();
			this.lstSource = new System.Windows.Forms.ListBox();
			this.label4 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.button1 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.axSuperWorkspace1 = new AxSuperMapLib.AxSuperWorkspace();
			((System.ComponentModel.ISupportInitialize)(this.axSuperWorkspace1)).BeginInit();
			this.SuspendLayout();
			// 
			// btnDelAll
			// 
			this.btnDelAll.Location = new System.Drawing.Point(152, 152);
			this.btnDelAll.Name = "btnDelAll";
			this.btnDelAll.Size = new System.Drawing.Size(32, 24);
			this.btnDelAll.TabIndex = 25;
			this.btnDelAll.Text = "<--";
			this.btnDelAll.Click += new System.EventHandler(this.btnDelAll_Click);
			// 
			// btnAddAll
			// 
			this.btnAddAll.Location = new System.Drawing.Point(152, 112);
			this.btnAddAll.Name = "btnAddAll";
			this.btnAddAll.Size = new System.Drawing.Size(32, 24);
			this.btnAddAll.TabIndex = 24;
			this.btnAddAll.Text = "++>";
			this.btnAddAll.Click += new System.EventHandler(this.btnAddAll_Click);
			// 
			// btnDel
			// 
			this.btnDel.Location = new System.Drawing.Point(152, 72);
			this.btnDel.Name = "btnDel";
			this.btnDel.Size = new System.Drawing.Size(32, 24);
			this.btnDel.TabIndex = 23;
			this.btnDel.Text = "<-";
			this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
			// 
			// btnAdd
			// 
			this.btnAdd.Location = new System.Drawing.Point(152, 32);
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.Size = new System.Drawing.Size(32, 24);
			this.btnAdd.TabIndex = 22;
			this.btnAdd.Text = "+>";
			this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
			// 
			// lstInput
			// 
			this.lstInput.ItemHeight = 12;
			this.lstInput.Location = new System.Drawing.Point(200, 32);
			this.lstInput.Name = "lstInput";
			this.lstInput.Size = new System.Drawing.Size(104, 160);
			this.lstInput.TabIndex = 21;
			// 
			// lstSource
			// 
			this.lstSource.ItemHeight = 12;
			this.lstSource.Location = new System.Drawing.Point(24, 32);
			this.lstSource.Name = "lstSource";
			this.lstSource.Size = new System.Drawing.Size(104, 160);
			this.lstSource.TabIndex = 20;
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(200, 8);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(80, 24);
			this.label4.TabIndex = 18;
			this.label4.Text = "已經選取鉆孔";
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(40, 8);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(80, 24);
			this.label5.TabIndex = 19;
			this.label5.Text = "可選鉆孔編號";
			this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// button1
			// 
			this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.button1.Location = new System.Drawing.Point(48, 216);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(72, 32);
			this.button1.TabIndex = 26;
			this.button1.Text = "確定";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// button2
			// 
			this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.button2.Location = new System.Drawing.Point(184, 216);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(72, 32);
			this.button2.TabIndex = 26;
			this.button2.Text = "取消";
			// 
			// axSuperWorkspace1
			// 
			this.axSuperWorkspace1.Enabled = true;
			this.axSuperWorkspace1.Location = new System.Drawing.Point(256, 144);
			this.axSuperWorkspace1.Name = "axSuperWorkspace1";
			this.axSuperWorkspace1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSuperWorkspace1.OcxState")));
			this.axSuperWorkspace1.Size = new System.Drawing.Size(32, 32);
			this.axSuperWorkspace1.TabIndex = 27;
			// 
			// ZkSelect
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(330, 272);
			this.Controls.Add(this.axSuperWorkspace1);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.btnDelAll);
			this.Controls.Add(this.btnAddAll);
			this.Controls.Add(this.btnDel);
			this.Controls.Add(this.btnAdd);
			this.Controls.Add(this.lstInput);
			this.Controls.Add(this.lstSource);
			this.Controls.Add(this.label4);
			this.Controls.Add(this.label5);
			this.Controls.Add(this.button2);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.Name = "ZkSelect";
			this.Text = "ZkSelect";
			this.Load += new System.EventHandler(this.ZkSelect_Load);
			((System.ComponentModel.ISupportInitialize)(this.axSuperWorkspace1)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// 應用程序的主入口點。
		/// </summary>
		[STAThread]
		static void Main() 
		{
			Application.Run(new ZkSelect());
		}
		private void btnAdd_Click(object sender, System.EventArgs e)//增加一個輸入屬性
		{
			if (lstSource.SelectedItem ==null)
			{
				MessageBox.Show("請選擇一個列表項!","提醒");
				return;
			}
			lstInput.Items.Add( lstSource.Text);
			lstSource.Items.Remove( lstSource.Text );
		}

		private void btnAddAll_Click(object sender, System.EventArgs e)
		{
			int i,iLstCount;
			iLstCount = lstSource.Items .Count; 
			for( i = 0;i<=iLstCount-1;i++)
			{
				lstInput.Items.Add(lstSource.Items [0]);
				lstSource.Items.Remove(lstSource.Items [0]);
			}
			
		}

		private void btnDel_Click(object sender, System.EventArgs e)
		{
			if (lstInput.Items.Count<= 0)
			{
				return;
			}
            
			if (lstInput.SelectedItem ==null)
			{
				MessageBox.Show("請選擇一個列表項!","提醒");
				return;
			}
			lstSource.Items .Add ( lstInput.Text);
			lstInput.Items.Remove(lstInput.Text);
		}

		private void btnDelAll_Click(object sender, System.EventArgs e)
		{
			int i , iLstCount;
			iLstCount = lstInput.Items.Count;
			for (i = 0 ;i<=iLstCount - 1;i++)
			{
				lstSource.Items.Add(lstInput.Items [0]);
				lstInput.Items.Remove(lstInput.Items [0]);
			}
		}

		private void ZkSelect_Load(object sender, System.EventArgs e)
		{
			SuperMapLib.soFillStyleLib objFill = axSuperWorkspace1.Resources.FillStyleLib;
			objFill.RemoveAll();
			objFill.Import("Gwater.bru",true);
//			MessageBox.Show(this.axSuperWorkspace1.Resources.FillStyleLib.Find("粘土",0).ToString());


			string server,database,password,userid;
			RegistryKey mykey=Registry.LocalMachine.OpenSubKey("Software",true);
			RegistryKey Borekey=mykey.OpenSubKey("WORKFLOW");
			server= (string)Borekey.GetValue("SQLServer_DataSource");
			userid= (string)Borekey.GetValue("SQLServer_UserID");
			password= (string)Borekey.GetValue("SQLServer_Password");
			database=(string)Borekey.GetValue("SQLServer_serverCatalog");
			Borekey.Close();
			//數據庫鏈接字符串
			string con1="Server="+server+";uid="+userid+";pwd="+password+";database="+database;

			SqlConnection con = new SqlConnection(con1);
			con.Open();
			SqlDataAdapter da= new SqlDataAdapter("select tybh from  zkjlb",con);
//			SqlCommandBuilder MyCB = new SqlCommandBuilder(da);
			DataSet ds = new DataSet();
			da.Fill(ds, "zkjlb");
			this.lstInput.Items.Clear();
			this.lstSource.Items.Clear();
			for(int i=0;i<ds.Tables["zkjlb"].Rows.Count;i++)
			{
				this.lstSource.Items.Add(ds.Tables["zkjlb"].Rows[i]["tybh"].ToString().Trim());

			}
            da=null;
			ds=null;
			con.Close();
		}

		private void button1_Click(object sender, System.EventArgs e)
		{
			ArrayList arrListZK = new ArrayList();			
			for(int i=0;i<lstInput.Items.Count;i++)
			{	
				arrListZK.Add(lstInput.Items[i].ToString());
			}	
			ProfileCtrl.Profile proflie = new ProfileCtrl.Profile();
			proflie.ShowInTaskbar = false;
			proflie.SuperWorkspace = this.axSuperWorkspace1;
			proflie.WindowState = FormWindowState.Maximized;
			proflie.ArrList = arrListZK;
			proflie.IsSum = true;
			if(proflie.DrawProfile())
			{
				proflie.ShowDialog(this);
			}
			proflie.Dispose();
			this.Dispose();
			this.Close();
		}

	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色先锋久久av资源部| 成人美女视频在线观看18| 欧美精品自拍偷拍| 成人av资源在线| 久久成人综合网| 亚洲地区一二三色| 欧美丰满一区二区免费视频| 成人永久免费视频| 国产一区二区女| 国产精一区二区三区| 午夜精品久久久久久久久| 亚洲欧美日韩国产综合在线| 国产精品久久久久aaaa| 久久久www成人免费毛片麻豆| 91精品黄色片免费大全| 色偷偷88欧美精品久久久| 国产一区二区不卡| 日韩影院精彩在线| 中文字幕色av一区二区三区| 亚洲国产精品成人久久综合一区| 欧美日韩一区二区三区高清| 91日韩在线专区| av综合在线播放| 91香蕉视频污| 在线日韩一区二区| 色综合婷婷久久| 欧美亚洲国产一区二区三区va | 蜜臀国产一区二区三区在线播放| 亚洲男人的天堂网| 亚洲一区二区在线免费观看视频| 亚洲一二三四久久| 日韩精品视频网| 国内精品不卡在线| 国产福利一区二区三区| 成人av网站在线观看免费| 成人av电影在线观看| 成人福利视频网站| 免费看精品久久片| 老汉av免费一区二区三区| 精品一区二区三区免费观看| 亚洲国产欧美日韩另类综合| 日韩国产精品久久| 亚洲女同一区二区| 日韩精品视频网站| 93久久精品日日躁夜夜躁欧美| 欧美伊人精品成人久久综合97 | 亚洲精品视频一区| 国产精品乱码一区二区三区软件| 亚洲卡通欧美制服中文| 久久99国产精品久久| 欧洲一区在线电影| 欧美日本一区二区在线观看| 国产精品久久久久一区| 自拍偷在线精品自拍偷无码专区| 亚洲一区二区在线播放相泽| 91国产丝袜在线播放| 男女性色大片免费观看一区二区| 日韩限制级电影在线观看| 日韩精品专区在线影院观看| 国产欧美一区二区三区鸳鸯浴| 欧美精品 日韩| 国产精品传媒视频| 一本在线高清不卡dvd| 国产精品久线在线观看| 激情综合网激情| 久久久久久麻豆| 欧美精品自拍偷拍动漫精品| 日本中文字幕一区二区视频 | 国产精品一区不卡| 日本一区二区三区四区在线视频 | 91小视频在线观看| 日韩电影在线观看一区| 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美成人一区二区三区| 日韩中文字幕av电影| 久久久综合精品| 欧美精品一二三| 7799精品视频| 欧美日韩视频在线一区二区 | 亚洲青青青在线视频| 日韩精品一区第一页| 欧美三区在线观看| 最新中文字幕一区二区三区| 中文字幕免费观看一区| 亚洲一区二区三区在线| 麻豆国产欧美一区二区三区| 午夜精品久久久久久久久久久| 成人不卡免费av| 国产日韩v精品一区二区| 美女网站一区二区| 欧美美女一区二区在线观看| 亚洲成av人片一区二区| 91国偷自产一区二区使用方法| 亚洲天堂中文字幕| 波多野结衣在线一区| 国产精品色婷婷| 99久久综合国产精品| 中文字幕人成不卡一区| 成人理论电影网| 久久午夜老司机| 亚洲一区在线观看免费观看电影高清 | 欧美日韩国产色站一区二区三区| 亚洲精品国产视频| 26uuu久久天堂性欧美| 日韩欧美国产午夜精品| 欧美精品一区二区不卡 | 欧美在线你懂得| 96av麻豆蜜桃一区二区| 色综合av在线| 色狠狠综合天天综合综合| 97久久精品人人爽人人爽蜜臀| 日一区二区三区| 久久福利资源站| 在线看不卡av| 欧美日韩午夜精品| 国产女人aaa级久久久级 | 中文字幕一区二区视频| 亚洲国产精品久久人人爱蜜臀| 偷窥少妇高潮呻吟av久久免费| 久久影院午夜片一区| 国产精品国产自产拍高清av王其 | 精品视频在线视频| 久久久精品人体av艺术| 91蜜桃网址入口| 中文字幕欧美一区| 亚洲精品视频自拍| 91成人免费在线| 久久99久久99| 亚洲色图在线看| 欧美午夜精品一区二区三区| 免费在线欧美视频| 国产精品视频线看| 欧美日韩激情一区二区| 日韩精品一卡二卡三卡四卡无卡 | 欧美成人精品高清在线播放| 国产福利一区在线| 亚洲国产精品一区二区www在线| 精品久久久三级丝袜| 国产福利一区二区三区在线视频| 久久久不卡网国产精品一区| 精品视频999| 不卡视频在线看| 青青青爽久久午夜综合久久午夜 | 国产一区二区在线影院| 日韩美女视频一区| 欧美mv日韩mv国产| 欧美日韩精品二区第二页| 91免费国产在线观看| 波多野结衣在线aⅴ中文字幕不卡| 久久精品久久99精品久久| 天天综合网 天天综合色| 亚洲一区二区三区四区在线观看 | 欧美精品在线观看一区二区| 一本大道久久a久久精二百| 国产91丝袜在线观看| 久久疯狂做爰流白浆xx| 裸体歌舞表演一区二区| 久久综合综合久久综合| 久久精品久久精品| 久久国产成人午夜av影院| 老司机精品视频导航| 久久成人久久鬼色| 精品一区二区免费视频| 精品系列免费在线观看| 韩国一区二区三区| 日本不卡在线视频| 青青草视频一区| 久久精品国产澳门| 国产福利不卡视频| 丁香另类激情小说| 色偷偷一区二区三区| 欧美少妇xxx| 欧美精品123区| 欧美大片免费久久精品三p| 精品免费视频.| 国产精品日韩精品欧美在线| 亚洲婷婷综合色高清在线| 亚洲国产精品一区二区尤物区| 无吗不卡中文字幕| 精品一区二区精品| fc2成人免费人成在线观看播放| 色琪琪一区二区三区亚洲区| 欧美高清视频一二三区| 久久久综合激的五月天| 1024亚洲合集| 毛片av一区二区三区| 国产精品1024| 色丁香久综合在线久综合在线观看| 精品视频一区二区不卡| 欧美日韩精品免费观看视频| 精品日产卡一卡二卡麻豆| 国产精品毛片大码女人| 视频在线在亚洲| 成人av电影免费在线播放| 欧美日韩午夜影院| 国产精品免费av| 毛片av一区二区三区| 色呦呦日韩精品| 国产日韩精品一区二区三区 | 国产精品88888|