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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? login.cs

?? windows mobile 2005 上可以運行的資產(chǎn)管理系統(tǒng)
?? CS
?? 第 1 頁 / 共 2 頁
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.IO;

//createprocess
//using System.Runtime.InteropServices;
//using System.Reflection;


namespace PDA_test
{
	/// <summary>
	/// Login 的摘要說明。
	/// </summary>
	public class Login : System.Windows.Forms.Form
	{
		private System.Windows.Forms.TextBox name;
		private System.Windows.Forms.TextBox password;
		//internal static Login LoginForm;
		//用戶身份驗證。
	//	private String nameCheck;
		//private String psaaCheck;
		private int textFocus;
		private System.Windows.Forms.Button login_b;
		private System.Windows.Forms.Button n1;
		private System.Windows.Forms.Button n2;
		private System.Windows.Forms.Button n3;
		private System.Windows.Forms.Button n6;
		private System.Windows.Forms.Button n5;
		private System.Windows.Forms.Button n4;
		private System.Windows.Forms.Button n9;
		private System.Windows.Forms.Button n8;
		private System.Windows.Forms.Button n7;
		private System.Windows.Forms.Button nBackSpace;
		private System.Windows.Forms.Button n0;
		private System.Windows.Forms.Button nClear;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.PictureBox pictureBox1;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Label label2;
		private System.Data.SqlClient.SqlConnection sql_conn;
		private System.Data.SqlClient.SqlDataAdapter sql_da;
		private System.Data.SqlClient.SqlCommandBuilder sql_cb;
		private System.Data.SqlClient.SqlCommand sql_cmd;
		private System.Data.DataTable data_uid;
		private PDA_test.ReaderForm frm_start;
		private string czy_id;
		private string czy_name;
		private System.Windows.Forms.Button button2;
		//private string connSql;
		private string fname="id";

#if COMPLETE_FRAMEWORK
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			base.Dispose( disposing );
		}
#endif

		public Login()
		{
			//
			// Windows 窗體設(shè)計器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 調(diào)用后添加任何構(gòu)造函數(shù)代碼
			//
		}
		static void Main() 
		{
			Application.Run(new Login());
		}


		/// <summary>
		/// 清理所有正在使用的資源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			base.Dispose( disposing );
		}

		#region Windows 窗體設(shè)計器生成的代碼
		/// <summary>
		/// 設(shè)計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內(nèi)容。
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Login));
			this.login_b = new System.Windows.Forms.Button();
			this.name = new System.Windows.Forms.TextBox();
			this.password = new System.Windows.Forms.TextBox();
			this.n1 = new System.Windows.Forms.Button();
			this.n2 = new System.Windows.Forms.Button();
			this.n3 = new System.Windows.Forms.Button();
			this.n6 = new System.Windows.Forms.Button();
			this.n5 = new System.Windows.Forms.Button();
			this.n4 = new System.Windows.Forms.Button();
			this.n9 = new System.Windows.Forms.Button();
			this.n8 = new System.Windows.Forms.Button();
			this.n7 = new System.Windows.Forms.Button();
			this.nBackSpace = new System.Windows.Forms.Button();
			this.n0 = new System.Windows.Forms.Button();
			this.nClear = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			this.button1 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			// 
			// login_b
			// 
			this.login_b.Font = new System.Drawing.Font("楷體_GB2312", 18F, System.Drawing.FontStyle.Bold);
			this.login_b.Location = new System.Drawing.Point(8, 224);
			this.login_b.Size = new System.Drawing.Size(144, 40);
			this.login_b.Text = "登 錄";
			this.login_b.Click += new System.EventHandler(this.button1_Click);
			// 
			// name
			// 
			this.name.BackColor = System.Drawing.SystemColors.Window;
			this.name.Location = new System.Drawing.Point(8, 128);
			this.name.Size = new System.Drawing.Size(96, 21);
			this.name.Text = "textBox1";
			this.name.GotFocus += new System.EventHandler(this.name_GotFocus);
			this.name.TextChanged += new System.EventHandler(this.name_TextChanged);
			// 
			// password
			// 
			this.password.Location = new System.Drawing.Point(8, 184);
			this.password.PasswordChar = '*';
			this.password.Size = new System.Drawing.Size(96, 21);
			this.password.Text = "textBox2";
			this.password.GotFocus += new System.EventHandler(this.password_GotFocus);
			// 
			// n1
			// 
			this.n1.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n1.Location = new System.Drawing.Point(112, 88);
			this.n1.Size = new System.Drawing.Size(40, 32);
			this.n1.Text = "1";
			this.n1.Click += new System.EventHandler(this.n1_Click);
			// 
			// n2
			// 
			this.n2.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n2.Location = new System.Drawing.Point(152, 88);
			this.n2.Size = new System.Drawing.Size(40, 32);
			this.n2.Text = "2";
			this.n2.Click += new System.EventHandler(this.n2_Click);
			// 
			// n3
			// 
			this.n3.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n3.Location = new System.Drawing.Point(192, 88);
			this.n3.Size = new System.Drawing.Size(40, 32);
			this.n3.Text = "3";
			this.n3.Click += new System.EventHandler(this.n3_Click);
			// 
			// n6
			// 
			this.n6.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n6.Location = new System.Drawing.Point(192, 120);
			this.n6.Size = new System.Drawing.Size(40, 32);
			this.n6.Text = "6";
			this.n6.Click += new System.EventHandler(this.n6_Click);
			// 
			// n5
			// 
			this.n5.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n5.Location = new System.Drawing.Point(152, 120);
			this.n5.Size = new System.Drawing.Size(40, 32);
			this.n5.Text = "5";
			this.n5.Click += new System.EventHandler(this.n5_Click);
			// 
			// n4
			// 
			this.n4.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n4.Location = new System.Drawing.Point(112, 120);
			this.n4.Size = new System.Drawing.Size(40, 32);
			this.n4.Text = "4";
			this.n4.Click += new System.EventHandler(this.n4_Click);
			// 
			// n9
			// 
			this.n9.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n9.Location = new System.Drawing.Point(192, 152);
			this.n9.Size = new System.Drawing.Size(40, 32);
			this.n9.Text = "9";
			this.n9.Click += new System.EventHandler(this.n9_Click);
			// 
			// n8
			// 
			this.n8.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n8.Location = new System.Drawing.Point(152, 152);
			this.n8.Size = new System.Drawing.Size(40, 32);
			this.n8.Text = "8";
			this.n8.Click += new System.EventHandler(this.n8_Click);
			// 
			// n7
			// 
			this.n7.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n7.Location = new System.Drawing.Point(112, 152);
			this.n7.Size = new System.Drawing.Size(40, 32);
			this.n7.Text = "7";
			this.n7.Click += new System.EventHandler(this.n7_Click);
			// 
			// nBackSpace
			// 
			this.nBackSpace.Font = new System.Drawing.Font("楷體_GB2312", 9F, System.Drawing.FontStyle.Bold);
			this.nBackSpace.Location = new System.Drawing.Point(192, 184);
			this.nBackSpace.Size = new System.Drawing.Size(40, 32);
			this.nBackSpace.Text = "退格";
			this.nBackSpace.Click += new System.EventHandler(this.nBackSpace_Click);
			// 
			// n0
			// 
			this.n0.Font = new System.Drawing.Font("楷體_GB2312", 14.25F, System.Drawing.FontStyle.Bold);
			this.n0.Location = new System.Drawing.Point(152, 184);
			this.n0.Size = new System.Drawing.Size(40, 32);
			this.n0.Text = "0";
			this.n0.Click += new System.EventHandler(this.n0_Click);
			// 
			// nClear
			// 
			this.nClear.Font = new System.Drawing.Font("楷體_GB2312", 9F, System.Drawing.FontStyle.Bold);
			this.nClear.Location = new System.Drawing.Point(112, 184);
			this.nClear.Size = new System.Drawing.Size(40, 32);
			this.nClear.Text = "清除";
			this.nClear.Click += new System.EventHandler(this.nClear_Click);
			// 
			// label1
			// 
			this.label1.Font = new System.Drawing.Font("楷體_GB2312", 12F, System.Drawing.FontStyle.Bold);
			this.label1.ForeColor = System.Drawing.Color.Blue;
			this.label1.Location = new System.Drawing.Point(8, 104);
			this.label1.Size = new System.Drawing.Size(72, 24);
			this.label1.Text = "工號:";
			// 
			// label2
			// 
			this.label2.Font = new System.Drawing.Font("楷體_GB2312", 12F, System.Drawing.FontStyle.Bold);
			this.label2.ForeColor = System.Drawing.Color.Blue;
			this.label2.Location = new System.Drawing.Point(8, 160);
			this.label2.Size = new System.Drawing.Size(72, 24);
			this.label2.Text = "密碼:";
			// 
			// pictureBox1
			// 
			this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
			this.pictureBox1.Size = new System.Drawing.Size(240, 280);
			this.pictureBox1.ParentChanged += new System.EventHandler(this.pictureBox1_ParentChanged);
			// 
			// button1
			// 
			this.button1.Font = new System.Drawing.Font("楷體_GB2312", 18F, System.Drawing.FontStyle.Bold);
			this.button1.Location = new System.Drawing.Point(160, 224);
			this.button1.Size = new System.Drawing.Size(72, 40);
			this.button1.Text = "退出";
			this.button1.Click += new System.EventHandler(this.button1_Click_1);
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(152, 8);
			this.button2.Size = new System.Drawing.Size(80, 24);
			this.button2.Text = "button2";
			this.button2.Visible = false;
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// Login
			// 
			this.Controls.Add(this.button2);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.nBackSpace);
			this.Controls.Add(this.n0);
			this.Controls.Add(this.nClear);
			this.Controls.Add(this.n9);
			this.Controls.Add(this.n8);
			this.Controls.Add(this.n7);
			this.Controls.Add(this.n6);
			this.Controls.Add(this.n5);
			this.Controls.Add(this.n4);
			this.Controls.Add(this.n3);
			this.Controls.Add(this.n2);
			this.Controls.Add(this.n1);
			this.Controls.Add(this.password);
			this.Controls.Add(this.name);
			this.Controls.Add(this.login_b);
			this.Controls.Add(this.pictureBox1);
			this.Text = "登錄";
			this.Load += new System.EventHandler(this.Login_Load);

		}
		#endregion

		private void Login_Load(object sender, System.EventArgs e)
		{
			name.Text="";
			password.Text="";
			name.Focus();
			textFocus=1;	//焦點為name
			if(Symbol.Win32.PlatformType == "PocketPC")
			{
				this.Menu = new MainMenu();
			}
//fghisdb503
			 //connSql="data source=172.16.10.11,1433;user id=fugle;initial catalog=FGYPDB;password=fghisdb503";
			try 
			{
			//sql_conn = new SqlConnection( connSql );	
			}
			catch (SqlException ex) 
			{
				//MessageBox.Show( "Error connecting to the server: " + ex.Message );
				//MessageBox.Show("網(wǎng)絡(luò)故障,連接中斷,請重起程序。");
				//MessageBox.Show(this.connSql.ToString());
			}

		}

		private void button1_Click(object sender, System.EventArgs e)
		{
			//
			//此處添加數(shù)據(jù)庫聯(lián)接與權(quán)限判斷模塊
			//
//				if (ReaderForm.frm1==null)
//				{
//					ReaderForm.frm1=new ReaderForm();
//				}
//				LoginForm=this;
//				ReaderForm.frm1.Show();
//				ReaderForm.frm1.gonghao.Text=name.Text;
//				LoginForm.Hide();
			string log_name=this.name.Text.ToString().Trim();
			string log_pwd=this.password.Text.ToString().Trim();
			czy_id="wrong";
			this.pwd_confirm(log_name,log_pwd);
			if (czy_id=="wrong")
			{	
			}
			else
			{
				
				this.frm_start=new ReaderForm(this);
				this.frm_start.gonghao.Text=czy_id.ToString();
				this.frm_start.label_name.Text=this.czy_name.ToString();
				this.frm_start.log_name=czy_id.ToString().Trim();
				//this.frm_start.Sql_string=connSql.ToString();
				password.Text="";
				this.frm_start.Show();
				this.Hide();
			}
			
		}


		private string pwd_confirm(string in_name ,string pwd_in)
		{
			//data_uid=new System.Data.DataTable();
			try
			{	
				
				this.czy_id=" ";
				//sql_cmd=new SqlCommand();
				//sql_cmd.Connection=sql_conn;
				//string lc_sql_cmd="exec get_uid  '"+in_name.ToString().Trim()+"'";
				//sql_conn.Open();
				//sql_da =new SqlDataAdapter(lc_sql_cmd, sql_conn );
				//sql_cb =new SqlCommandBuilder( sql_da );
				//sql_da.Fill(data_uid);	
				//sql_conn.Close();
				//this.dataGrid1.DataSource=data_test;
				//int lc_rowcount=data_uid.Rows.Count;

				//string fname=".\test.txt";
/*				if (File.Exists(fname)) 
				{
					MessageBox.Show("{0} already exists.", fname);
					
				}
				StreamWriter sw = File.CreateText(fname);

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷综合久色| 久久精品国产成人一区二区三区| 国产成人在线看| 亚洲国产精品精华液2区45| 国产精品456| 亚洲丝袜自拍清纯另类| 色美美综合视频| 日韩成人精品在线| 欧美一区二区在线观看| 国产一区欧美二区| 亚洲色图视频免费播放| 欧美色爱综合网| 精品中文字幕一区二区 | 欧美视频在线一区二区三区| 亚洲国产精品一区二区久久恐怖片| 在线亚洲人成电影网站色www| 亚洲成av人片一区二区梦乃| 日韩欧美的一区| 成人h动漫精品一区二区| 亚洲国产综合视频在线观看| www激情久久| 色婷婷亚洲综合| 老司机午夜精品99久久| 中文字幕一区不卡| 91麻豆精品国产91久久久久| 国产精品一区二区黑丝| 亚洲精品欧美激情| 精品国产人成亚洲区| 91香蕉视频污在线| 久久精品国产成人一区二区三区 | 大白屁股一区二区视频| 亚洲最新在线观看| 久久蜜臀中文字幕| 欧美性大战久久久久久久蜜臀| 免费成人深夜小野草| 亚洲欧洲一区二区在线播放| 欧美一区二区三区免费大片 | 欧美成人精品1314www| 99免费精品视频| 免费观看日韩电影| 日韩精品一二三| 国产精品久久久久久久第一福利| 欧美一区二区私人影院日本| 色域天天综合网| 国产传媒一区在线| 麻豆极品一区二区三区| 亚洲图片自拍偷拍| 中文字幕综合网| 久久久高清一区二区三区| 欧美日韩黄色影视| 91浏览器打开| 国产99久久久国产精品| 麻豆精品一二三| 天堂va蜜桃一区二区三区| 亚洲柠檬福利资源导航| 国产亚洲欧美日韩在线一区| 日韩欧美亚洲国产精品字幕久久久| 日本韩国一区二区三区视频| 国产不卡视频一区| 国产精品一区在线| 精品一区二区免费| 免费人成精品欧美精品| 亚洲图片欧美一区| 一区二区三区日韩精品| 亚洲视频一区二区免费在线观看| 国产日韩精品一区二区三区| 精品女同一区二区| 日韩一区二区三区av| 欧美日韩第一区日日骚| 欧美天堂亚洲电影院在线播放| 一本一本久久a久久精品综合麻豆| 成人激情开心网| 成人免费av网站| 成人激情视频网站| 成人av免费在线| 不卡av在线免费观看| 成人av手机在线观看| 99热这里都是精品| 色婷婷一区二区三区四区| 91免费视频大全| 欧美少妇一区二区| 3d动漫精品啪啪1区2区免费| 91精品国产91热久久久做人人| 4438x亚洲最大成人网| 日韩欧美一区在线| 亚洲精品一区二区在线观看| 亚洲精品一区二区三区蜜桃下载| 久久久久久一二三区| 国产三级精品视频| 综合久久久久综合| 亚洲一区免费在线观看| 三级不卡在线观看| 老色鬼精品视频在线观看播放| 精品一区二区三区在线观看国产 | 丁香网亚洲国际| 波多野结衣亚洲一区| 日本韩国精品在线| 69堂成人精品免费视频| 久久久久久久久久久久电影| 国产精品婷婷午夜在线观看| 国产精品国产三级国产aⅴ入口| 亚洲男同1069视频| 天天综合天天综合色| 国产真实乱偷精品视频免| 成人蜜臀av电影| 欧美日韩中文国产| 久久综合成人精品亚洲另类欧美 | 蜜臀a∨国产成人精品| 国产精品一二三四| 欧洲一区二区三区在线| 精品国产百合女同互慰| 中文字幕一区二区三区在线不卡| 亚洲成人tv网| 懂色av一区二区在线播放| 欧美在线999| 久久久精品2019中文字幕之3| 亚洲欧美另类图片小说| 蜜臀va亚洲va欧美va天堂| 成人黄色国产精品网站大全在线免费观看| 日本韩国欧美一区二区三区| 日韩精品一区二区三区老鸭窝| 中文字幕一区二区三| 蜜臀va亚洲va欧美va天堂| 91丝袜呻吟高潮美腿白嫩在线观看| 欧美另类一区二区三区| 国产精品婷婷午夜在线观看| 丝袜美腿高跟呻吟高潮一区| 成人免费av在线| 日韩美女主播在线视频一区二区三区 | 国产成人综合网站| 精品视频免费在线| 中文字幕在线观看不卡视频| 蜜臀av性久久久久蜜臀av麻豆| 91社区在线播放| 国产日韩欧美精品综合| 天天综合网天天综合色| 91免费看片在线观看| 久久精品亚洲一区二区三区浴池| 亚洲曰韩产成在线| av高清久久久| 国产亚洲视频系列| 久久成人久久爱| 538在线一区二区精品国产| 亚洲欧美日韩在线| 大白屁股一区二区视频| 亚洲精品一区二区三区香蕉| 日韩制服丝袜av| 欧美视频在线一区二区三区| 亚洲欧洲成人自拍| 国产成人在线视频网站| 精品久久国产老人久久综合| 丝袜美腿亚洲一区二区图片| 欧美在线你懂的| 曰韩精品一区二区| 色综合久久66| 亚洲图片欧美激情| www.亚洲国产| 中文字幕亚洲区| www.色精品| 亚洲三级在线免费| 97精品久久久久中文字幕| 国产精品免费视频一区| 成人黄色网址在线观看| 国产精品毛片高清在线完整版| 国产馆精品极品| 国产清纯美女被跳蛋高潮一区二区久久w | 亚洲欧美激情插| 99久久久久久| 亚洲色欲色欲www| 色老汉一区二区三区| 亚洲黄色小视频| 欧美日韩国产影片| 午夜视频在线观看一区| 欧美日韩国产在线观看| 天堂va蜜桃一区二区三区漫画版| 欧美乱妇15p| 久久精品99国产精品| 久久久久久毛片| 99久久久无码国产精品| 一区二区三区中文字幕| 欧美日韩一级黄| 免费观看日韩电影| 亚洲国产精品一区二区久久恐怖片 | 国产精品九色蝌蚪自拍| 91在线视频网址| 亚洲国产成人av好男人在线观看| 91精品国产一区二区人妖| 另类欧美日韩国产在线| 中文字幕av免费专区久久| aaa亚洲精品一二三区| 一区二区三区国产精品| 日韩午夜在线观看| 丁香天五香天堂综合| 亚洲精品你懂的| 日韩欧美国产小视频| 成人一级片在线观看| 亚洲国产aⅴ成人精品无吗| 日韩免费观看高清完整版 | 99国产精品一区| 日韩和欧美一区二区|