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

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

?? connectiondialogbox.cs

?? 一個經(jīng)典的apriori算法(c#實(shí)現(xiàn))
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using APrioriWindows;


namespace APrioriWindows
{
	/// <summary>
	/// Summary description for ConnectionDialogBox.
	/// </summary>
	public class ConnectionDialogBox : System.Windows.Forms.Form
	{
		private System.Windows.Forms.GroupBox groupBoxConnectionDialogBox;
		private System.Windows.Forms.GroupBox groupBoxDataStorageType;
		private System.Windows.Forms.RadioButton radioButtonDatabase;
		private System.Windows.Forms.RadioButton radioButtonXML;
		private System.Windows.Forms.GroupBox groupBoxConnectionInfo;
		private System.Windows.Forms.TextBox textBoxConnection;
		private System.Windows.Forms.OpenFileDialog openFileDialogXMLFilePath;
		private System.Windows.Forms.GroupBox groupBoxOK;
		private System.Windows.Forms.Button buttonOK;
		private System.Windows.Forms.Button buttonCancel;
		private System.Windows.Forms.GroupBox groupBoxDataModel;
		private System.Windows.Forms.RadioButton radioButtonNorthwind;
		private System.Windows.Forms.RadioButton radioButtonTransactions;
		//
		//

		//
		//

		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public ConnectionDialogBox()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.groupBoxConnectionDialogBox = new System.Windows.Forms.GroupBox();
			this.groupBoxOK = new System.Windows.Forms.GroupBox();
			this.buttonCancel = new System.Windows.Forms.Button();
			this.buttonOK = new System.Windows.Forms.Button();
			this.groupBoxConnectionInfo = new System.Windows.Forms.GroupBox();
			this.textBoxConnection = new System.Windows.Forms.TextBox();
			this.groupBoxDataStorageType = new System.Windows.Forms.GroupBox();
			this.radioButtonXML = new System.Windows.Forms.RadioButton();
			this.radioButtonDatabase = new System.Windows.Forms.RadioButton();
			this.openFileDialogXMLFilePath = new System.Windows.Forms.OpenFileDialog();
			this.groupBoxDataModel = new System.Windows.Forms.GroupBox();
			this.radioButtonTransactions = new System.Windows.Forms.RadioButton();
			this.radioButtonNorthwind = new System.Windows.Forms.RadioButton();
			this.groupBoxConnectionDialogBox.SuspendLayout();
			this.groupBoxOK.SuspendLayout();
			this.groupBoxConnectionInfo.SuspendLayout();
			this.groupBoxDataStorageType.SuspendLayout();
			this.groupBoxDataModel.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBoxConnectionDialogBox
			// 
			this.groupBoxConnectionDialogBox.Controls.AddRange(new System.Windows.Forms.Control[] {
																									  this.groupBoxDataModel,
																									  this.groupBoxOK,
																									  this.groupBoxConnectionInfo,
																									  this.groupBoxDataStorageType});
			this.groupBoxConnectionDialogBox.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBoxConnectionDialogBox.Location = new System.Drawing.Point(8, 16);
			this.groupBoxConnectionDialogBox.Name = "groupBoxConnectionDialogBox";
			this.groupBoxConnectionDialogBox.Size = new System.Drawing.Size(376, 344);
			this.groupBoxConnectionDialogBox.TabIndex = 0;
			this.groupBoxConnectionDialogBox.TabStop = false;
			this.groupBoxConnectionDialogBox.Text = "Data Connection";
			this.groupBoxConnectionDialogBox.Enter += new System.EventHandler(this.groupBoxConnectionDialogBox_Enter);
			// 
			// groupBoxOK
			// 
			this.groupBoxOK.Controls.AddRange(new System.Windows.Forms.Control[] {
																					 this.buttonCancel,
																					 this.buttonOK});
			this.groupBoxOK.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBoxOK.Location = new System.Drawing.Point(8, 288);
			this.groupBoxOK.Name = "groupBoxOK";
			this.groupBoxOK.Size = new System.Drawing.Size(360, 48);
			this.groupBoxOK.TabIndex = 2;
			this.groupBoxOK.TabStop = false;
			// 
			// buttonCancel
			// 
			this.buttonCancel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.buttonCancel.ForeColor = System.Drawing.Color.DarkBlue;
			this.buttonCancel.Location = new System.Drawing.Point(248, 16);
			this.buttonCancel.Name = "buttonCancel";
			this.buttonCancel.TabIndex = 1;
			this.buttonCancel.Text = "Cancel";
			this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
			// 
			// buttonOK
			// 
			this.buttonOK.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.buttonOK.ForeColor = System.Drawing.Color.DarkBlue;
			this.buttonOK.Location = new System.Drawing.Point(40, 16);
			this.buttonOK.Name = "buttonOK";
			this.buttonOK.TabIndex = 0;
			this.buttonOK.Text = "OK";
			this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
			// 
			// groupBoxConnectionInfo
			// 
			this.groupBoxConnectionInfo.Controls.AddRange(new System.Windows.Forms.Control[] {
																								 this.textBoxConnection});
			this.groupBoxConnectionInfo.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBoxConnectionInfo.Location = new System.Drawing.Point(8, 104);
			this.groupBoxConnectionInfo.Name = "groupBoxConnectionInfo";
			this.groupBoxConnectionInfo.Size = new System.Drawing.Size(360, 56);
			this.groupBoxConnectionInfo.TabIndex = 1;
			this.groupBoxConnectionInfo.TabStop = false;
			this.groupBoxConnectionInfo.Text = "Enter the Connection String to your Database";
			// 
			// textBoxConnection
			// 
			this.textBoxConnection.Location = new System.Drawing.Point(8, 24);
			this.textBoxConnection.Multiline = true;
			this.textBoxConnection.Name = "textBoxConnection";
			this.textBoxConnection.Size = new System.Drawing.Size(344, 21);
			this.textBoxConnection.TabIndex = 0;
			this.textBoxConnection.Text = "";
			// 
			// groupBoxDataStorageType
			// 
			this.groupBoxDataStorageType.Controls.AddRange(new System.Windows.Forms.Control[] {
																								  this.radioButtonXML,
																								  this.radioButtonDatabase});
			this.groupBoxDataStorageType.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBoxDataStorageType.Location = new System.Drawing.Point(8, 32);
			this.groupBoxDataStorageType.Name = "groupBoxDataStorageType";
			this.groupBoxDataStorageType.Size = new System.Drawing.Size(360, 56);
			this.groupBoxDataStorageType.TabIndex = 0;
			this.groupBoxDataStorageType.TabStop = false;
			this.groupBoxDataStorageType.Text = "Choose the Location of your Transactions Data";
			// 
			// radioButtonXML
			// 
			this.radioButtonXML.Location = new System.Drawing.Point(200, 24);
			this.radioButtonXML.Name = "radioButtonXML";
			this.radioButtonXML.TabIndex = 1;
			this.radioButtonXML.TabStop = true;
			this.radioButtonXML.Text = "XML File";
			this.radioButtonXML.CheckedChanged += new System.EventHandler(this.radioButtonXML_CheckedChanged);
			// 
			// radioButtonDatabase
			// 
			this.radioButtonDatabase.Checked = true;
			this.radioButtonDatabase.Location = new System.Drawing.Point(40, 24);
			this.radioButtonDatabase.Name = "radioButtonDatabase";
			this.radioButtonDatabase.TabIndex = 0;
			this.radioButtonDatabase.TabStop = true;
			this.radioButtonDatabase.Text = "Database";
			this.radioButtonDatabase.CheckedChanged += new System.EventHandler(this.radioButtonDatabase_CheckedChanged);
			// 
			// groupBoxDataModel
			// 
			this.groupBoxDataModel.Controls.AddRange(new System.Windows.Forms.Control[] {
																							this.radioButtonNorthwind,
																							this.radioButtonTransactions});
			this.groupBoxDataModel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBoxDataModel.Location = new System.Drawing.Point(8, 192);
			this.groupBoxDataModel.Name = "groupBoxDataModel";
			this.groupBoxDataModel.Size = new System.Drawing.Size(360, 64);
			this.groupBoxDataModel.TabIndex = 3;
			this.groupBoxDataModel.TabStop = false;
			this.groupBoxDataModel.Text = "Choose the design of the Transactions Database";
			// 
			// radioButtonTransactions
			// 
			this.radioButtonTransactions.Checked = true;
			this.radioButtonTransactions.Location = new System.Drawing.Point(56, 24);
			this.radioButtonTransactions.Name = "radioButtonTransactions";
			this.radioButtonTransactions.Size = new System.Drawing.Size(128, 24);
			this.radioButtonTransactions.TabIndex = 0;
			this.radioButtonTransactions.TabStop = true;
			this.radioButtonTransactions.Text = "Transactions Table";
			// 
			// radioButtonNorthwind
			// 
			this.radioButtonNorthwind.Location = new System.Drawing.Point(200, 24);
			this.radioButtonNorthwind.Name = "radioButtonNorthwind";
			this.radioButtonNorthwind.Size = new System.Drawing.Size(88, 24);
			this.radioButtonNorthwind.TabIndex = 1;
			this.radioButtonNorthwind.Text = "Northwind ";
			// 
			// ConnectionDialogBox
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
			this.ClientSize = new System.Drawing.Size(392, 373);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.groupBoxConnectionDialogBox});
			this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.Location = new System.Drawing.Point(100, 100);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "ConnectionDialogBox";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "ConnectionDialogBox";
			this.TopMost = true;
			this.groupBoxConnectionDialogBox.ResumeLayout(false);
			this.groupBoxOK.ResumeLayout(false);
			this.groupBoxConnectionInfo.ResumeLayout(false);
			this.groupBoxDataStorageType.ResumeLayout(false);
			this.groupBoxDataModel.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

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

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


		private void buttonOK_Click(object sender, System.EventArgs e)
		{
			
			if(this.radioButtonDatabase.Checked == true)
			{

				ClassInfo.ConnectionString = this.textBoxConnection.Text.Trim();

				ClassInfo.DataStorage = ClassInfo.DataStorageLocation.Database;

				if (!(ClassInfo.ConnectionString.Length > 0))
				{
					MessageBox.Show(this,"Please enter the connection string to the database!",ClassInfo.AppCaption,																			MessageBoxButtons.OK ,MessageBoxIcon.Information);
				}

				else
				{
					this.Close();
				}


				if(this.radioButtonTransactions.Checked == true)
				{
					ClassInfo.DataStorageModel = ClassInfo.DataModel.TransactionsTable;
				}

				else if(this.radioButtonNorthwind.Checked == true)
				{
					ClassInfo.DataStorageModel = ClassInfo.DataModel.NorthwindDatabase;
				}

			}

			else if (this.radioButtonXML.Checked == true)
			{
				ClassInfo.XMLFilePath = this.textBoxConnection.Text.Trim();

				ClassInfo.DataStorage = ClassInfo.DataStorageLocation.XMLFile;

				if (!(ClassInfo.XMLFilePath.Length > 0))
				{
					MessageBox.Show(this,"Please enter the path of an XML file with transactions to be analyzed!",ClassInfo.																	AppCaption, MessageBoxButtons.OK ,MessageBoxIcon.Information);
				}

				else
				{
					this.Close();
				}
			}


		}


		private void radioButtonDatabase_CheckedChanged(object sender, System.EventArgs e)
		{
			this.textBoxConnection.Text = "";

			if(this.radioButtonDatabase.Checked == true)
			{
				ClassInfo.DataStorage = ClassInfo.DataStorageLocation.Database;
			
				this.groupBoxConnectionInfo.Text = "Enter the Connection String to your transactions Database";
			}
		}

		private void radioButtonXML_CheckedChanged(object sender, System.EventArgs e)
		{
			this.textBoxConnection.Text = "";

			if (this.radioButtonXML.Checked == true)
			{
				ClassInfo.DataStorage = ClassInfo.DataStorageLocation.XMLFile;

				this.groupBoxConnectionInfo.Text = "Enter the path of an XML file with transactions to be analyzed";

				this.openFileDialogXMLFilePath.Title = ClassInfo.AppCaption;

				this.openFileDialogXMLFilePath.Filter = "xml files (*.xml)|*.xml";


				this.openFileDialogXMLFilePath.RestoreDirectory = true;

				this.openFileDialogXMLFilePath.CheckFileExists = true;

				this.openFileDialogXMLFilePath.CheckPathExists = true;			
 
				this.openFileDialogXMLFilePath.ShowDialog(this);

				ClassInfo.XMLFilePath = this.openFileDialogXMLFilePath.FileName;

				this.textBoxConnection.Text = ClassInfo.XMLFilePath;
			}
		}


	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲亚洲国产日韩| 久久色在线视频| 国产一区二区美女| 亚洲伦理在线精品| 久久久久九九视频| 在线综合视频播放| 中文字幕高清一区| 91精品国产免费| 一本色道久久综合亚洲aⅴ蜜桃| 麻豆91在线观看| 亚洲成人黄色影院| 亚洲欧美电影一区二区| 国产人成亚洲第一网站在线播放| 欧美高清你懂得| 色综合久久综合中文综合网| 国产成人在线免费| 看片网站欧美日韩| 日韩国产在线观看一区| 亚洲制服欧美中文字幕中文字幕| 欧美极品少妇xxxxⅹ高跟鞋 | 高清国产一区二区| 日韩国产在线一| 亚洲成人www| 亚洲国产wwwccc36天堂| 亚洲人xxxx| 亚洲欧美综合色| 国产精品大尺度| 国产精品伦一区二区三级视频| 韩国v欧美v日本v亚洲v| 日本不卡免费在线视频| 午夜视频一区二区三区| 亚洲一区二区三区四区的| 亚洲日本一区二区三区| 亚洲日本在线天堂| 亚洲日本丝袜连裤袜办公室| 亚洲色图一区二区三区| 日韩美女精品在线| 亚洲免费三区一区二区| 亚洲猫色日本管| 一区二区三区日韩精品视频| 一区二区在线观看免费视频播放| 中文字幕一区二区三区蜜月| 亚洲色图另类专区| 一区二区日韩av| 亚洲mv在线观看| 日本在线观看不卡视频| 精品一区二区久久久| 国产一区在线观看视频| 国产很黄免费观看久久| 成人app下载| 91麻豆精品视频| 欧美日韩你懂得| 日韩视频免费观看高清在线视频| 日韩精品一区二区三区三区免费| 精品噜噜噜噜久久久久久久久试看 | 欧美一级日韩一级| 精品奇米国产一区二区三区| 久久久综合视频| 国产精品国产三级国产专播品爱网| 亚洲日本丝袜连裤袜办公室| 亚洲国产乱码最新视频 | 日韩一区中文字幕| 亚洲图片欧美一区| 美女视频网站黄色亚洲| 国产成人精品1024| 欧美在线不卡一区| 日韩一级视频免费观看在线| 国产亚洲精品精华液| 国产精品色婷婷| 色噜噜狠狠色综合中国| 5566中文字幕一区二区电影| 2020国产精品| 亚洲激情欧美激情| 美国精品在线观看| 99国产一区二区三精品乱码| 欧美日韩国产大片| 久久久久青草大香线综合精品| 亚洲欧美一区二区三区极速播放 | 中文字幕在线一区免费| 日韩精彩视频在线观看| 成人免费的视频| 91精品欧美久久久久久动漫| 亚洲国产经典视频| 日韩和欧美一区二区| 成人一区二区三区| 欧美一级片在线| 亚洲三级在线观看| 国产在线精品不卡| 在线观看精品一区| 国产农村妇女精品| 日本中文字幕一区二区有限公司| 国产91丝袜在线播放| 56国语精品自产拍在线观看| 国产精品美女视频| 免费观看在线色综合| 91女厕偷拍女厕偷拍高清| 久久综合九色综合97_久久久| 亚洲一区二区成人在线观看| 国产福利一区二区三区视频在线| 欧美日韩第一区日日骚| 亚洲欧洲日韩在线| 黄色日韩网站视频| 欧美日韩国产综合一区二区三区| 国产精品入口麻豆原神| 久久99久久99小草精品免视看| 色视频一区二区| 国产精品久久网站| 国产精品一二三| 日韩精品一区二区三区swag| 亚洲一区二区在线播放相泽| eeuss鲁片一区二区三区在线看| 精品国产一区二区三区久久影院| 亚洲mv大片欧洲mv大片精品| 91麻豆123| 中文字幕一区在线观看视频| 国产精一区二区三区| 日韩视频免费直播| 日本三级亚洲精品| 欧美精品一二三四| 亚洲v中文字幕| 在线中文字幕一区| 一区二区三区在线视频观看| 99久久亚洲一区二区三区青草| 国产日韩欧美综合一区| 国产自产v一区二区三区c| 日韩欧美国产综合| 另类专区欧美蜜桃臀第一页| 日韩亚洲国产中文字幕欧美| 日韩影视精彩在线| 欧美日韩国产大片| 日韩中文字幕1| 欧美精品高清视频| 日韩成人一区二区三区在线观看| 欧美日韩在线免费视频| 亚洲国产精品欧美一二99| 日本丶国产丶欧美色综合| 悠悠色在线精品| 欧美亚洲一区二区在线| 午夜a成v人精品| 一区二区国产视频| 欧洲视频一区二区| 亚洲电影在线免费观看| 欧美日韩国产综合视频在线观看| 亚洲小少妇裸体bbw| 欧美老年两性高潮| 麻豆精品精品国产自在97香蕉| 精品蜜桃在线看| 高清国产一区二区三区| 中文字幕在线视频一区| 欧美主播一区二区三区美女| 亚洲午夜成aⅴ人片| 欧美一二三四在线| 国产一区二区三区香蕉| 欧美高清在线一区二区| 色偷偷成人一区二区三区91| 亚洲一区二区四区蜜桃| 欧美一区二区视频在线观看2022 | 欧美日韩1234| 九九国产精品视频| 亚洲国产精品成人综合色在线婷婷| caoporen国产精品视频| 亚洲高清不卡在线观看| 精品国产免费人成在线观看| 不卡视频免费播放| 亚洲小说春色综合另类电影| 日韩丝袜美女视频| 成人精品电影在线观看| 亚洲18女电影在线观看| 精品国精品自拍自在线| 91一区二区在线观看| 青草国产精品久久久久久| 国产色婷婷亚洲99精品小说| 日本韩国一区二区三区视频| 久久精品av麻豆的观看方式| 国产精品卡一卡二卡三| 欧美喷水一区二区| 国产91精品在线观看| 亚洲成人黄色影院| 国产日产精品1区| 欧美日韩成人在线一区| 懂色av一区二区夜夜嗨| 日韩高清一区在线| 国产精品久久久久9999吃药| 日韩一区二区三区视频在线| 成人18视频在线播放| 美女脱光内衣内裤视频久久网站 | 精品日韩一区二区| 色av一区二区| 国产在线不卡视频| 偷窥少妇高潮呻吟av久久免费| 国产欧美一区二区精品性| 777久久久精品| 97久久超碰国产精品电影| 日本三级韩国三级欧美三级| 亚洲欧美偷拍三级| 国产亚洲一区二区三区在线观看| 欧美剧情电影在线观看完整版免费励志电影 | 日本一区二区免费在线观看视频| 欧美色爱综合网| 91亚洲精品久久久蜜桃|