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

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

?? settingsform.cs

?? 微軟C#讀寫類
?? CS
?? 第 1 頁 / 共 3 頁
字號(hào):
			// 
			this.label3.Location = new System.Drawing.Point(112, 40);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(64, 16);
			this.label3.TabIndex = 10;
			this.label3.Text = "Parity";
			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			this.toolTip.SetToolTip(this.label3, "Parity scheme (except for [none] adds a bit to the frame)");
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 40);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(64, 16);
			this.label4.TabIndex = 9;
			this.label4.Text = "DataBits";
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			this.toolTip.SetToolTip(this.label4, "Number of data bits in the frame (unsupported rates will throw an exception)");
			// 
			// groupBox4
			// 
			this.groupBox4.Controls.AddRange(new System.Windows.Forms.Control[] {
																					this.label9,
																					this.label8,
																					this.comboBoxXoff,
																					this.comboBoxXon});
			this.groupBox4.Location = new System.Drawing.Point(4, 303);
			this.groupBox4.Name = "groupBox4";
			this.groupBox4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.groupBox4.Size = new System.Drawing.Size(288, 48);
			this.groupBox4.TabIndex = 21;
			this.groupBox4.TabStop = false;
			// 
			// label9
			// 
			this.label9.Location = new System.Drawing.Point(149, 18);
			this.label9.Name = "label9";
			this.label9.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.label9.Size = new System.Drawing.Size(64, 16);
			this.label9.TabIndex = 28;
			this.label9.Text = "Xoff Code";
			this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.toolTip.SetToolTip(this.label9, "ASCII code to use for Xoff signal");
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(8, 18);
			this.label8.Name = "label8";
			this.label8.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.label8.Size = new System.Drawing.Size(64, 16);
			this.label8.TabIndex = 27;
			this.label8.Text = "Xon Code";
			this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.toolTip.SetToolTip(this.label8, "ASCII code to use for Xon signal");
			// 
			// comboBoxXoff
			// 
			this.comboBoxXoff.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBoxXoff.Location = new System.Drawing.Point(219, 16);
			this.comboBoxXoff.Name = "comboBoxXoff";
			this.comboBoxXoff.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.comboBoxXoff.Size = new System.Drawing.Size(56, 21);
			this.comboBoxXoff.TabIndex = 26;
			this.toolTip.SetToolTip(this.comboBoxXoff, "ASCII code to use for Xoff signal");
			// 
			// comboBoxXon
			// 
			this.comboBoxXon.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBoxXon.Location = new System.Drawing.Point(75, 16);
			this.comboBoxXon.Name = "comboBoxXon";
			this.comboBoxXon.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.comboBoxXon.Size = new System.Drawing.Size(56, 21);
			this.comboBoxXon.TabIndex = 25;
			this.toolTip.SetToolTip(this.comboBoxXon, "ASCII code to use for Xon signal");
			// 
			// checkBoxAR
			// 
			this.checkBoxAR.Location = new System.Drawing.Point(156, 280);
			this.checkBoxAR.Name = "checkBoxAR";
			this.checkBoxAR.Size = new System.Drawing.Size(96, 16);
			this.checkBoxAR.TabIndex = 22;
			this.checkBoxAR.Text = "Auto re-open";
			this.toolTip.SetToolTip(this.checkBoxAR, "Automatically reopen port if it closes due to an error");
			// 
			// groupBox5
			// 
			this.groupBox5.Controls.AddRange(new System.Windows.Forms.Control[] {
																					this.label18,
																					this.label10,
																					this.checkBoxBLC,
																					this.comboBoxBRK,
																					this.checkBoxHX,
																					this.numericUpDownBRN});
			this.groupBox5.Location = new System.Drawing.Point(4, 352);
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.Size = new System.Drawing.Size(288, 96);
			this.groupBox5.TabIndex = 23;
			this.groupBox5.TabStop = false;
			this.groupBox5.Text = "Display";
			// 
			// label18
			// 
			this.label18.Location = new System.Drawing.Point(200, 64);
			this.label18.Name = "label18";
			this.label18.Size = new System.Drawing.Size(56, 16);
			this.label18.TabIndex = 27;
			this.label18.Text = "chars.";
			this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label10
			// 
			this.label10.Location = new System.Drawing.Point(16, 65);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(128, 16);
			this.label10.TabIndex = 26;
			this.label10.Text = "Break line every";
			this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.toolTip.SetToolTip(this.label10, "Break line when it reaches this length (0 - do not break)");
			// 
			// checkBoxBLC
			// 
			this.checkBoxBLC.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.checkBoxBLC.Location = new System.Drawing.Point(13, 40);
			this.checkBoxBLC.Name = "checkBoxBLC";
			this.checkBoxBLC.Size = new System.Drawing.Size(152, 16);
			this.checkBoxBLC.TabIndex = 25;
			this.checkBoxBLC.Text = "Break line on ASCII char";
			this.checkBoxBLC.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.toolTip.SetToolTip(this.checkBoxBLC, "Break displayed lines after specified characters");
			// 
			// comboBoxBRK
			// 
			this.comboBoxBRK.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBoxBRK.Location = new System.Drawing.Point(176, 37);
			this.comboBoxBRK.Name = "comboBoxBRK";
			this.comboBoxBRK.Size = new System.Drawing.Size(56, 21);
			this.comboBoxBRK.TabIndex = 24;
			this.toolTip.SetToolTip(this.comboBoxBRK, "The character after which the line is broken");
			// 
			// checkBoxHX
			// 
			this.checkBoxHX.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.checkBoxHX.Location = new System.Drawing.Point(13, 16);
			this.checkBoxHX.Name = "checkBoxHX";
			this.checkBoxHX.Size = new System.Drawing.Size(152, 16);
			this.checkBoxHX.TabIndex = 23;
			this.checkBoxHX.Text = "Display in hexadecimal";
			this.checkBoxHX.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.toolTip.SetToolTip(this.checkBoxHX, "Display received characters as two hexadecimal digits");
			// 
			// numericUpDownBRN
			// 
			this.numericUpDownBRN.Location = new System.Drawing.Point(151, 64);
			this.numericUpDownBRN.Maximum = new System.Decimal(new int[] {
																			 255,
																			 0,
																			 0,
																			 0});
			this.numericUpDownBRN.Name = "numericUpDownBRN";
			this.numericUpDownBRN.Size = new System.Drawing.Size(48, 20);
			this.numericUpDownBRN.TabIndex = 19;
			this.toolTip.SetToolTip(this.numericUpDownBRN, "Break line when it reaches this length (0 - do not break)");
			// 
			// openFileDialog
			// 
			this.openFileDialog.DefaultExt = "JHC";
			this.openFileDialog.Filter = "JHBaseTerm files|*.JHC|All files|*.*";
			this.openFileDialog.Title = "Open XML Settings File";
			// 
			// saveFileDialog
			// 
			this.saveFileDialog.DefaultExt = "JHC";
			this.saveFileDialog.Filter = "JHBaseTerm files|*.JHC|All files|*.*";
			this.saveFileDialog.Title = "Save XML Settings File";
			// 
			// SettingsForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(294, 451);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.groupBox5,
																		  this.checkBoxAR,
																		  this.groupBox4,
																		  this.groupBox3,
																		  this.groupBox2,
																		  this.groupBox1});
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
			this.Menu = this.mainMenu1;
			this.Name = "SettingsForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "CommBase Settings";
			this.Closing += new System.ComponentModel.CancelEventHandler(this.SettingsForm_Closing);
			this.Load += new System.EventHandler(this.SettingsForm_Load);
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownTC)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownTM)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownTxS)).EndInit();
			this.groupBox2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownRxS)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownHW)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownLW)).EndInit();
			this.groupBox3.ResumeLayout(false);
			this.groupBox4.ResumeLayout(false);
			this.groupBox5.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.numericUpDownBRN)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

	private void Import()
	{
		BaseTerm.CommBaseTermSettings s = BaseTerm.settings;

		comboBoxPort.Text = s.port;
		checkBoxAR.Checked = s.autoReopen;
		comboBoxBaud.SelectedIndex = comboBoxBaud.FindString(s.baudRate.ToString());
		comboBoxParity.SelectedIndex = (int)s.parity;
		comboBoxDB.SelectedIndex = comboBoxDB.FindString(s.dataBits.ToString());
		comboBoxSB.SelectedIndex = (int)s.stopBits;
		checkBoxCTS.Checked = s.txFlowCTS;
		checkBoxDSR.Checked = s.txFlowDSR;
		checkBoxTxX.Checked = s.txFlowX;
		checkBoxXC.Checked = s.txWhenRxXoff;
		comboBoxRTS.SelectedIndex = (int)s.useRTS;
		comboBoxDTR.SelectedIndex = (int)s.useDTR;
		checkBoxRxX.Checked = s.rxFlowX;
		checkBoxGD.Checked = s.rxGateDSR;
		comboBoxXon.SelectedIndex = (int)s.XonChar;
		comboBoxXoff.SelectedIndex = (int)s.XoffChar;
		numericUpDownTM.Value = s.sendTimeoutMultiplier;
		numericUpDownTC.Value = s.sendTimeoutConstant;
		numericUpDownLW.Value = s.rxLowWater;
		numericUpDownHW.Value = s.rxHighWater;
		numericUpDownRxS.Value = s.rxQueue;
		checkBoxCheck.Checked = s.checkAllSends;
		numericUpDownTxS.Value = s.txQueue;
		checkBoxBLC.Checked = s.breakLineOnChar;
		comboBoxBRK.SelectedIndex = (int)s.lineBreakChar;
		numericUpDownBRN.Value = s.charsInLine;
		checkBoxHX.Checked = s.showAsHex;
	}

	private void Export()
	{
		BaseTerm.CommBaseTermSettings s = BaseTerm.settings;

		s.port = comboBoxPort.Text;
		s.autoReopen = checkBoxAR.Checked;
		s.baudRate = int.Parse(comboBoxBaud.Text);
		s.parity = (CommBase.Parity)comboBoxParity.SelectedIndex;
		s.dataBits = int.Parse(comboBoxDB.Text);
		s.stopBits = (CommBase.StopBits)comboBoxSB.SelectedIndex;
		s.txFlowCTS = checkBoxCTS.Checked;
		s.txFlowDSR = checkBoxDSR.Checked;
		s.txFlowX = checkBoxTxX.Checked;
		s.txWhenRxXoff = checkBoxXC.Checked;
		s.useRTS = (CommBase.HSOutput)comboBoxRTS.SelectedIndex;
		s.useDTR = (CommBase.HSOutput)comboBoxDTR.SelectedIndex;
		s.rxFlowX = checkBoxRxX.Checked;
		s.rxGateDSR = checkBoxGD.Checked;
		s.XonChar = (CommBase.ASCII)comboBoxXon.SelectedIndex;
		s.XoffChar = (CommBase.ASCII)comboBoxXoff.SelectedIndex;
		s.sendTimeoutMultiplier = (int)numericUpDownTM.Value;
		s.sendTimeoutConstant = (int)numericUpDownTC.Value;
		s.rxLowWater = (int)numericUpDownLW.Value;
		s.rxHighWater = (int)numericUpDownHW.Value;
		s.rxQueue = (int)numericUpDownRxS.Value;
		s.txQueue = (int)numericUpDownTxS.Value;
		s.checkAllSends = checkBoxCheck.Checked;
		s.breakLineOnChar = checkBoxBLC.Checked;
		s.lineBreakChar = (CommBase.ASCII)comboBoxBRK.SelectedIndex;
		s.charsInLine = (int)numericUpDownBRN.Value;
		s.showAsHex = checkBoxHX.Checked;
	}

	private void FillASCII(ComboBox cb)
	{
		CommBase.ASCII asc;
		for (int i=0; (i < 256); i++)
		{
			asc = (CommBase.ASCII)i;
			if ((i < 33) || (i > 126))
				cb.Items.Add(asc.ToString());
			else
				cb.Items.Add(new string((char)i, 1));
		}
	}

	private void SettingsForm_Load(object sender, System.EventArgs e)
	{
		Import();
	}

	private void SettingsForm_Closing(object sender, System.ComponentModel.CancelEventArgs e)
	{
		Export();
	}

	private void menuItemHSN_Click(object sender, System.EventArgs e)
	{
		BaseTerm.settings.SetStandard(comboBoxPort.Text, int.Parse(comboBoxBaud.Text), CommBase.Handshake.none);
		Import();
	}

	private void menuItemHSX_Click(object sender, System.EventArgs e)
	{
		BaseTerm.settings.SetStandard(comboBoxPort.Text, int.Parse(comboBoxBaud.Text), CommBase.Handshake.XonXoff);
		Import();
	}

	private void menuItemHSC_Click(object sender, System.EventArgs e)
	{
		BaseTerm.settings.SetStandard(comboBoxPort.Text, int.Parse(comboBoxBaud.Text), CommBase.Handshake.CtsRts);
		Import();
	}

	private void menuItemHSD_Click(object sender, System.EventArgs e)
	{
		BaseTerm.settings.SetStandard(comboBoxPort.Text, int.Parse(comboBoxBaud.Text), CommBase.Handshake.DsrDtr);
		Import();
	}

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

	private void menuItemSaveXML_Click(object sender, System.EventArgs e)
	{
		if (saveFileDialog.ShowDialog() == DialogResult.OK)
		{
			Export();
			BaseTerm.settings.SaveAsXML(saveFileDialog.OpenFile());
		}
	}

	private void menuItemOpenXML_Click(object sender, System.EventArgs e)
	{
		if (openFileDialog.ShowDialog() == DialogResult.OK)
		{
			BaseTerm.CommBaseTermSettings ss = BaseTerm.CommBaseTermSettings.LoadFromXML(openFileDialog.OpenFile());
			if (ss != null)
			{
				BaseTerm.settings = ss;
				Import();
			}
			else
			{
				MessageBox.Show("Error opening XML settings file", "BaseTerm", MessageBoxButtons.OK);
			}
		}
	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩成人精品在线| 91在线视频免费91| 一区二区在线观看视频| 日韩一级完整毛片| 91视频一区二区三区| 国产一区二区三区免费观看| 夜夜嗨av一区二区三区网页| 国产色一区二区| 欧美成人女星排名| 欧美亚洲动漫另类| 99r国产精品| 成熟亚洲日本毛茸茸凸凹| 麻豆国产一区二区| 午夜精品福利一区二区蜜股av| 国产精品国产三级国产aⅴ中文 | 日本精品一级二级| 国精品**一区二区三区在线蜜桃 | 国产精品中文字幕欧美| 亚洲一二三区视频在线观看| 国产精品久久久久久久久久久免费看 | 69久久夜色精品国产69蝌蚪网| av成人免费在线| 成人国产在线观看| 国产精品一区二区黑丝| 三级精品在线观看| 亚瑟在线精品视频| 亚洲国产成人91porn| 亚洲精品国产a| 亚洲欧美另类久久久精品 | 国产目拍亚洲精品99久久精品| 欧美一区三区四区| 91精品国产综合久久久久久漫画| 在线观看精品一区| 在线观看亚洲专区| 色丁香久综合在线久综合在线观看| 成人视屏免费看| 岛国精品在线观看| 不卡一区在线观看| 色综合天天综合色综合av| 91麻豆视频网站| 一本色道**综合亚洲精品蜜桃冫| caoporm超碰国产精品| 波多野结衣一区二区三区| 国产91精品入口| 99久久精品国产一区| 色婷婷av一区二区三区软件| 一本色道久久综合亚洲91| 色偷偷久久人人79超碰人人澡| 91蜜桃视频在线| 欧美日韩一区二区三区四区| 欧美精品tushy高清| 欧美一区二区三区在| 26uuu国产电影一区二区| 久久精品视频免费| 中文字幕在线一区| 亚洲精品视频免费看| 婷婷久久综合九色综合伊人色| 婷婷亚洲久悠悠色悠在线播放| 懂色av一区二区在线播放| 1000精品久久久久久久久| 日韩欧美精品在线视频| 久久久欧美精品sm网站 | 亚洲精品视频一区二区| 亚洲va欧美va国产va天堂影院| 日本aⅴ精品一区二区三区 | 欧美视频精品在线观看| 56国语精品自产拍在线观看| 欧美大片在线观看一区| 国产色产综合色产在线视频| 亚洲人成网站色在线观看| 亚洲成人免费影院| 激情成人午夜视频| 一本久久a久久精品亚洲| 6080国产精品一区二区| 国产午夜精品一区二区三区四区| 亚洲精品成a人| 免费国产亚洲视频| 91免费视频大全| 欧美一级二级三级乱码| 国产精品无人区| 午夜视频一区二区| 国产精品综合久久| 欧美日本韩国一区| 欧美国产精品劲爆| 日韩影院在线观看| 97久久超碰国产精品电影| 欧美一区二区三区影视| 国产精品成人免费在线| 麻豆精品一区二区三区| 91网站在线播放| 久久久久久久久久久久久女国产乱| 亚洲视频资源在线| 国产美女精品在线| 欧美日韩高清一区| 国产精品国产自产拍高清av王其| 欧美a一区二区| 欧美在线免费观看视频| 国产日韩在线不卡| 久久99精品久久久久婷婷| 欧美性猛交xxxx乱大交退制版| 日本一区二区高清| 久久99国产精品免费| 欧美性做爰猛烈叫床潮| 国产精品素人一区二区| 麻豆91在线观看| 欧美疯狂做受xxxx富婆| 樱桃国产成人精品视频| 成人丝袜18视频在线观看| 欧美成人精精品一区二区频| 亚洲国产精品自拍| 91女人视频在线观看| 中文字幕+乱码+中文字幕一区| 国内精品国产成人国产三级粉色| 欧美丰满嫩嫩电影| 亚洲综合免费观看高清在线观看| 成人久久久精品乱码一区二区三区| 日韩美一区二区三区| 日韩在线一区二区| 欧美三级欧美一级| 一区二区国产视频| 91色porny| **网站欧美大片在线观看| 成人av资源在线观看| 久久人人97超碰com| 国产一区二区三区在线观看免费 | 91麻豆产精品久久久久久| 国产女人18毛片水真多成人如厕 | 日韩精品综合一本久道在线视频| 午夜视频一区二区| 777a∨成人精品桃花网| 天天色综合成人网| 欧美美女网站色| 日本伊人午夜精品| 91精品国产一区二区| 免费成人在线网站| 精品国产一区二区国模嫣然| 久久99精品久久久| 欧美精品一区二区蜜臀亚洲| 久久激情五月婷婷| 久久久99精品免费观看不卡| 国产一区二区电影| 国产日韩欧美精品在线| 福利电影一区二区| 国产精品国产成人国产三级| 91免费国产在线| 一区二区三区.www| 91精品久久久久久蜜臀| 黑人巨大精品欧美黑白配亚洲| 久久久久青草大香线综合精品| 国产美女视频91| 亚洲欧美综合色| 欧洲精品在线观看| 日韩电影一区二区三区| 欧美变态tickle挠乳网站| 国产91综合一区在线观看| 成人免费一区二区三区视频| 色婷婷精品大在线视频 | 91在线观看污| 一区二区三区不卡视频| 欧美一区二区大片| 国产69精品一区二区亚洲孕妇| 国产精品二三区| 欧美日韩国产123区| 九色porny丨国产精品| 中文一区二区在线观看| 日本福利一区二区| 免费成人在线网站| 国产精品欧美一区喷水| 在线亚洲一区二区| 免费欧美日韩国产三级电影| 国产情人综合久久777777| 欧洲另类一二三四区| 六月婷婷色综合| 亚洲婷婷在线视频| 日韩美女视频在线| 色综合天天综合给合国产| 免费成人美女在线观看.| 中文字幕一区日韩精品欧美| 欧美日本在线看| 成人免费观看视频| 免费日本视频一区| 亚洲女女做受ⅹxx高潮| 欧美电影免费观看高清完整版在线| 成人免费电影视频| 蜜臀久久99精品久久久久久9| 国产精品国产成人国产三级| 91精品国产欧美日韩| 99精品1区2区| 国模无码大尺度一区二区三区| 一个色妞综合视频在线观看| 亚洲精品一区二区三区四区高清 | 亚洲精品午夜久久久| 精品久久久久久久久久久久久久久 | 欧美亚洲自拍偷拍| 福利一区二区在线| 精品综合免费视频观看| 亚洲一级二级三级| 国产精品久久久久久久久快鸭| 欧美成人一区二区| 欧美日产国产精品|