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

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

?? sysmain.cs

?? 簡易專家系統程序
?? CS
?? 第 1 頁 / 共 4 頁
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;

namespace netCS
{
	/// <summary>
	/// sysmain 的摘要說明。
	/// </summary>
	public class sysmain : System.Windows.Forms.Form
	{
		private System.Windows.Forms.TabControl tabControl1;
		private System.Windows.Forms.TabPage tabPage1;
		private System.Windows.Forms.TabPage tabPage2;
		private System.Windows.Forms.TabPage tabPage3;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Button button3;
		private System.Windows.Forms.Button button4;
		private System.Windows.Forms.ListBox listBox3;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.ListBox listBox4;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TabPage tabPage4;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.DataGrid dataGrid1;
		private System.Windows.Forms.DataGridTableStyle dataGridTableStyle2;
		private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.Button button5;
		private System.Windows.Forms.Button button6;
		private System.Windows.Forms.Button button7;
		private System.Windows.Forms.Button button8;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.TextBox textBox4;
		private System.Windows.Forms.Label label10;
		private System.Windows.Forms.Button button9;
		private System.Windows.Forms.ComboBox comboBox1;
		private System.Windows.Forms.Label label11;
		private System.Windows.Forms.TextBox textBox5;
		private System.Windows.Forms.Button button10;
		private System.Windows.Forms.TextBox textBox6;
		private System.Windows.Forms.Label label12;
		private System.Windows.Forms.Button button11;
		private System.Windows.Forms.Label label13;
		private System.Windows.Forms.Label label14;
		private System.Windows.Forms.DataGrid dataGrid2;
		private System.Windows.Forms.Label label15;
		private System.Windows.Forms.DataGrid dataGrid3;
		private System.Windows.Forms.PictureBox pictureBox1;
		private System.Windows.Forms.Button button12;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.Label label16;
		private System.Windows.Forms.ComboBox comboBox2;
		private System.Windows.Forms.ListBox listBox1;
		private System.Windows.Forms.Label label17;
		private System.Windows.Forms.Label label18;
		private System.Windows.Forms.TextBox textBox7;
		private System.Windows.Forms.Button button13;
		private System.Windows.Forms.ListBox listBox2;
		private System.Windows.Forms.ListBox listBox5;
		private System.Windows.Forms.Button button14;
		private System.Windows.Forms.Button button15;
		private System.Windows.Forms.Label label19;
		private System.Windows.Forms.ListBox listBox6;
		private System.Windows.Forms.Label label20;
		private System.Windows.Forms.TextBox textBox8;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.Button button16;
		private System.Windows.Forms.Label label21;
		private System.Windows.Forms.TextBox textBox9;
		private System.Windows.Forms.ListBox listBox7;
		private System.Windows.Forms.Label label22;
		private System.Windows.Forms.TextBox textBox10;
		private System.Windows.Forms.Button button17;
		private System.Windows.Forms.ComboBox comboBox3;
		private System.Windows.Forms.Button button18;
		private System.Windows.Forms.GroupBox groupBox3;
		private System.Windows.Forms.Label label23;
		private System.Windows.Forms.ComboBox comboBox4;
		private System.Windows.Forms.Button button19;
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public sysmain()
		{
			//
			// Windows 窗體設計器支持所必需的
			//
			InitializeComponent();
			SqlConnection cn=new SqlConnection(conn.con);
			SqlCommand com=new SqlCommand("select * from fact where factpos=0",cn);
			SqlCommand comt=new SqlCommand("select * from fact",cn);
			SqlCommand comtt=new SqlCommand("select * from rules",cn);
			SqlCommand com2=new SqlCommand("select distinct ruleno from rules",cn);
			SqlCommand com3=new SqlCommand("select * from fact where factpos=1",cn);
			SqlDataAdapter adp=new SqlDataAdapter(com);
			DataTable dt=new DataTable("mydt");
			adp.Fill(dt);
			adp.SelectCommand=comt;
			DataTable dtt=new DataTable("mydt1");
			adp.Fill(dtt);
			adp.SelectCommand=comtt;
			DataTable dttt=new DataTable("mydt2");
			adp.Fill(dttt);
			adp.SelectCommand=com2;
			DataTable dt1=new DataTable("mydt3");
			adp.Fill(dt1);
			adp.SelectCommand=com3;
			DataTable dt2=new DataTable("mydt4");
			adp.Fill(dt2);
			int i;
			for(i=0;i<dt.Rows.Count;i++)
			{
				listBox4.Items.Add(dt.Rows[i]["facttx"].ToString());
			}
			for(i=0;i<dt.Rows.Count;i++)
			{
				listBox7.Items.Add(dt.Rows[i]["factno"].ToString());
			}
			for(i=0;i<dt.Rows.Count;i++)
			{
				listBox2.Items.Add(dt.Rows[i]["factno"].ToString());
			}
			SqlCommand com1=new SqlCommand("delete  from cs_tempfact",cn);
			try
			{
				cn.Open();
				com1.ExecuteNonQuery();
				cn.Close();
			}
			catch
			{
				if(MessageBox.Show("數據清空出現問題","錯誤提示",MessageBoxButtons.RetryCancel)==DialogResult.Cancel)
					Application.Exit();
			}
			dataGrid1.DataSource=dtt;
			dataGrid2.DataSource=dtt;
			dataGrid3.DataSource=dttt;
			for(i=0;i<dtt.Rows.Count;i++)
			{
				comboBox1.Items.Add(dtt.Rows[i]["factno"].ToString());
			}
			for(i=0;i<dt1.Rows.Count;i++)
			{
				comboBox2.Items.Add(dt1.Rows[i]["ruleno"].ToString());
			}
			for(i=0;i<dt1.Rows.Count;i++)
			{
				comboBox4.Items.Add(dt1.Rows[i]["ruleno"].ToString());
			}
			for(i=0;i<dt2.Rows.Count;i++)
			{
				comboBox3.Items.Add(dt2.Rows[i]["factno"].ToString());
			}
			//for(i=0;i<dt.Rows.Count;i++)
			//dataGrid1.
			//
			// TODO: 在 InitializeComponent 調用后添加任何構造函數代碼
			//
		}

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

		#region Windows Form Designer generated code
		/// <summary>
		/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內容。
		/// </summary>
		private void InitializeComponent()
		{
			this.tabControl1 = new System.Windows.Forms.TabControl();
			this.tabPage1 = new System.Windows.Forms.TabPage();
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			this.button2 = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.tabPage2 = new System.Windows.Forms.TabPage();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.button1 = new System.Windows.Forms.Button();
			this.label4 = new System.Windows.Forms.Label();
			this.button3 = new System.Windows.Forms.Button();
			this.button4 = new System.Windows.Forms.Button();
			this.listBox3 = new System.Windows.Forms.ListBox();
			this.label5 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.listBox4 = new System.Windows.Forms.ListBox();
			this.tabPage3 = new System.Windows.Forms.TabPage();
			this.button11 = new System.Windows.Forms.Button();
			this.label12 = new System.Windows.Forms.Label();
			this.textBox6 = new System.Windows.Forms.TextBox();
			this.button10 = new System.Windows.Forms.Button();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.label11 = new System.Windows.Forms.Label();
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.button9 = new System.Windows.Forms.Button();
			this.label10 = new System.Windows.Forms.Label();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.label9 = new System.Windows.Forms.Label();
			this.label8 = new System.Windows.Forms.Label();
			this.button8 = new System.Windows.Forms.Button();
			this.button7 = new System.Windows.Forms.Button();
			this.button6 = new System.Windows.Forms.Button();
			this.button5 = new System.Windows.Forms.Button();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.dataGrid1 = new System.Windows.Forms.DataGrid();
			this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle();
			this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.tabPage4 = new System.Windows.Forms.TabPage();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.button19 = new System.Windows.Forms.Button();
			this.comboBox4 = new System.Windows.Forms.ComboBox();
			this.label23 = new System.Windows.Forms.Label();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.button18 = new System.Windows.Forms.Button();
			this.comboBox3 = new System.Windows.Forms.ComboBox();
			this.button17 = new System.Windows.Forms.Button();
			this.textBox10 = new System.Windows.Forms.TextBox();
			this.label22 = new System.Windows.Forms.Label();
			this.listBox7 = new System.Windows.Forms.ListBox();
			this.textBox9 = new System.Windows.Forms.TextBox();
			this.label21 = new System.Windows.Forms.Label();
			this.button16 = new System.Windows.Forms.Button();
			this.button15 = new System.Windows.Forms.Button();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.textBox8 = new System.Windows.Forms.TextBox();
			this.label20 = new System.Windows.Forms.Label();
			this.listBox6 = new System.Windows.Forms.ListBox();
			this.label19 = new System.Windows.Forms.Label();
			this.button14 = new System.Windows.Forms.Button();
			this.listBox5 = new System.Windows.Forms.ListBox();
			this.listBox2 = new System.Windows.Forms.ListBox();
			this.button13 = new System.Windows.Forms.Button();
			this.textBox7 = new System.Windows.Forms.TextBox();
			this.label18 = new System.Windows.Forms.Label();
			this.label17 = new System.Windows.Forms.Label();
			this.listBox1 = new System.Windows.Forms.ListBox();
			this.comboBox2 = new System.Windows.Forms.ComboBox();
			this.label16 = new System.Windows.Forms.Label();
			this.button12 = new System.Windows.Forms.Button();
			this.dataGrid3 = new System.Windows.Forms.DataGrid();
			this.label15 = new System.Windows.Forms.Label();
			this.dataGrid2 = new System.Windows.Forms.DataGrid();
			this.label14 = new System.Windows.Forms.Label();
			this.label13 = new System.Windows.Forms.Label();
			this.tabControl1.SuspendLayout();
			this.tabPage1.SuspendLayout();
			this.tabPage2.SuspendLayout();
			this.tabPage3.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
			this.tabPage4.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid3)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).BeginInit();
			this.SuspendLayout();
			// 
			// tabControl1
			// 
			this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] {
																					  this.tabPage1,
																					  this.tabPage2,
																					  this.tabPage3,
																					  this.tabPage4});
			this.tabControl1.Location = new System.Drawing.Point(0, 8);
			this.tabControl1.Name = "tabControl1";
			this.tabControl1.SelectedIndex = 0;
			this.tabControl1.Size = new System.Drawing.Size(816, 712);
			this.tabControl1.TabIndex = 0;
			// 
			// tabPage1
			// 
			this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] {
																				   this.pictureBox1,
																				   this.button2,
																				   this.label1});
			this.tabPage1.Font = new System.Drawing.Font("宋體", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.tabPage1.Location = new System.Drawing.Point(4, 21);
			this.tabPage1.Name = "tabPage1";
			this.tabPage1.Size = new System.Drawing.Size(808, 687);
			this.tabPage1.TabIndex = 0;
			this.tabPage1.Text = "歡迎界面";
			// 
			// pictureBox1
			// 
			this.pictureBox1.Location = new System.Drawing.Point(8, 56);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(752, 376);
			this.pictureBox1.TabIndex = 2;
			this.pictureBox1.TabStop = false;
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(344, 8);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(152, 32);
			this.button2.TabIndex = 1;
			this.button2.Text = "波形顯示界面";
			// 
			// label1
			// 
			this.label1.Font = new System.Drawing.Font("楷體_GB2312", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label1.Location = new System.Drawing.Point(8, 8);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(336, 48);
			this.label1.TabIndex = 0;
			this.label1.Text = "歡迎進入故障診斷專家系統";
			// 
			// tabPage2
			// 
			this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] {
																				   this.textBox1,
																				   this.button1,
																				   this.label4,
																				   this.button3,
																				   this.button4,
																				   this.listBox3,
																				   this.label5,
																				   this.label6,
																				   this.listBox4});
			this.tabPage2.Location = new System.Drawing.Point(4, 21);
			this.tabPage2.Name = "tabPage2";
			this.tabPage2.Size = new System.Drawing.Size(808, 687);
			this.tabPage2.TabIndex = 1;
			this.tabPage2.Text = "正向推理";
			this.tabPage2.Click += new System.EventHandler(this.tabPage2_Click);
			// 
			// textBox1
			// 
			this.textBox1.BackColor = System.Drawing.SystemColors.InactiveCaptionText;
			this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.textBox1.Location = new System.Drawing.Point(112, 408);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(400, 14);
			this.textBox1.TabIndex = 16;
			this.textBox1.Text = "textBox1";
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(536, 416);
			this.button1.Name = "button1";
			this.button1.TabIndex = 15;
			this.button1.Text = "數據刷新";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// label4
			// 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色中色一区二区| 26uuu成人网一区二区三区| 日韩视频在线你懂得| ...xxx性欧美| 韩日精品视频一区| 欧美日本乱大交xxxxx| 最新国产精品久久精品| 国内精品伊人久久久久av影院| 欧美刺激脚交jootjob| 亚洲欧美综合另类在线卡通| 国内精品自线一区二区三区视频| 欧美欧美欧美欧美| 一级中文字幕一区二区| av亚洲精华国产精华精| 国产日韩精品一区| 国产精品一区二区男女羞羞无遮挡| 777久久久精品| 亚洲国产精品一区二区www在线 | 久久久另类综合| 日韩av电影免费观看高清完整版 | 精品一区二区三区不卡| 欧美日韩国产三级| 亚洲欧美另类在线| av中文一区二区三区| 国产欧美精品日韩区二区麻豆天美| 美美哒免费高清在线观看视频一区二区| 色婷婷精品大在线视频| 亚洲欧美另类小说| 91极品美女在线| 一片黄亚洲嫩模| 欧美日韩一级黄| 五月天国产精品| 91精品国产综合久久久久久久久久| 亚洲bt欧美bt精品777| 69av一区二区三区| 日韩精品福利网| 日韩欧美国产三级| 国产精品一品二品| 中文字幕日韩一区二区| 一本久道中文字幕精品亚洲嫩 | 国产精品久久夜| 99久久久精品| 亚洲一级二级三级| 欧美精品在线观看一区二区| 美女视频一区二区三区| 久久免费看少妇高潮| 成人av影视在线观看| 亚洲精品第一国产综合野| 欧美在线高清视频| 久久精品国产77777蜜臀| 国产人妖乱国产精品人妖| 99国产精品久久久久久久久久久| 亚洲一区二区中文在线| 欧美一区二区三区色| 国产毛片一区二区| 亚洲精品成a人| 欧美一级日韩一级| 国产成人亚洲综合a∨婷婷图片| 椎名由奈av一区二区三区| 欧美日韩久久久一区| 久久精品国产一区二区三| 中文字幕一区二区日韩精品绯色| 欧美私人免费视频| 国产在线精品一区二区夜色| 亚洲欧美中日韩| 日韩一级欧美一级| jizz一区二区| 午夜精品影院在线观看| 国产色爱av资源综合区| 欧美特级限制片免费在线观看| 极品少妇一区二区三区精品视频| 综合久久一区二区三区| 国产精品无圣光一区二区| 精品视频一区二区三区免费| 国产一区二区精品久久| 亚洲成av人片一区二区三区| 亚洲国产成人私人影院tom| 欧美精品视频www在线观看| 成人精品电影在线观看| 天天色图综合网| 日韩理论片网站| 久久―日本道色综合久久| 91国偷自产一区二区三区成为亚洲经典| 精品无码三级在线观看视频| 亚洲一区电影777| 欧美国产乱子伦| 日韩免费高清av| 欧美人伦禁忌dvd放荡欲情| 成人精品一区二区三区中文字幕| 美女视频黄 久久| 午夜激情久久久| 亚洲欧美另类久久久精品| 久久精品一区八戒影视| 日韩欧美在线综合网| 欧美日韩精品一区二区三区 | 91亚洲国产成人精品一区二区三 | 国精产品一区一区三区mba桃花 | 亚洲欧美综合色| 中文字幕国产一区| 久久久久久久综合色一本| 日韩一级高清毛片| 欧美日韩视频不卡| 欧美日韩国产一级| 欧美亚洲日本国产| 在线精品观看国产| 欧美性猛交一区二区三区精品| 91蜜桃网址入口| 99国产精品国产精品久久| 成人听书哪个软件好| 国产成人免费9x9x人网站视频| 国产精品一区二区果冻传媒| 国产精品一区专区| 成人夜色视频网站在线观看| 国产一二三精品| 国产成人综合网| av日韩在线网站| 色综合久久久久久久| 欧洲激情一区二区| 欧美日韩一区二区三区高清| 91精品婷婷国产综合久久性色| 91麻豆精品国产91久久久使用方法 | 91精品国产91久久久久久最新毛片| 欧美丝袜丝交足nylons图片| 欧美精品在欧美一区二区少妇| 91麻豆精品国产自产在线| 欧美一二三在线| 久久久蜜臀国产一区二区| 国产精品国产三级国产普通话蜜臀| 国产精品国产三级国产| 亚洲黄色在线视频| 视频一区欧美日韩| 激情图区综合网| av一区二区三区黑人| 欧美日韩一区二区三区四区五区 | 亚洲欧洲一区二区在线播放| 亚洲男人的天堂av| 日韩vs国产vs欧美| 国产a视频精品免费观看| 色欧美片视频在线观看在线视频| 欧美日韩在线免费视频| 2019国产精品| 亚洲精选免费视频| 久久精品久久99精品久久| 成人三级伦理片| 欧美日韩一区三区四区| 久久久噜噜噜久久中文字幕色伊伊| 综合在线观看色| 麻豆极品一区二区三区| 91蜜桃网址入口| 欧美xxxxxxxx| 亚洲午夜电影在线观看| 国模无码大尺度一区二区三区| 99久久精品国产观看| 日韩亚洲国产中文字幕欧美| 中文字幕中文字幕一区二区| 日韩精品五月天| www.视频一区| 欧美xxxxx牲另类人与| 亚洲一区在线观看视频| 国产乱码精品一区二区三区五月婷| 日本高清成人免费播放| 久久久蜜臀国产一区二区| 丝袜脚交一区二区| av影院午夜一区| 精品国产免费人成在线观看| 亚洲国产裸拍裸体视频在线观看乱了| 国产很黄免费观看久久| 日韩欧美在线网站| 亚洲色图视频网| 国产成人欧美日韩在线电影| 日韩欧美国产小视频| 午夜精品久久久久久| 色综合久久综合网欧美综合网| 久久精品亚洲麻豆av一区二区 | 久久―日本道色综合久久| 天天操天天干天天综合网| 91在线视频观看| 国产女主播在线一区二区| 精品一区二区三区在线观看国产 | 亚洲天堂中文字幕| 国产精品 欧美精品| 欧美一区二区三区四区五区| 亚洲成人一区在线| 在线视频你懂得一区二区三区| 亚洲欧美日韩国产一区二区三区 | 亚洲成av人片| 日本韩国欧美在线| 亚洲免费在线播放| 99久久免费精品高清特色大片| 欧美国产在线观看| 成人蜜臀av电影| 成人午夜免费视频| 欧美一区国产二区| 午夜精品福利一区二区三区蜜桃| 在线免费av一区| 亚洲黄一区二区三区| 欧美无乱码久久久免费午夜一区 | 中文字幕在线观看不卡| 丁香一区二区三区| 自拍偷拍亚洲综合|