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

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

?? infoform.cs

?? 用C#語言編寫
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Text;
using JH.CommBase;

public class InfoForm : System.Windows.Forms.Form
{
	private System.Timers.Timer timer;
	private System.Windows.Forms.GroupBox groupBox1;
	private System.Windows.Forms.Label label1;
	private System.Windows.Forms.TextBox textBoxTxS;
	private System.Windows.Forms.TextBox textBoxTxQ;
	private System.Windows.Forms.Label label2;
	private System.Windows.Forms.TextBox textBoxTxI;
	private System.Windows.Forms.Label label3;
	private System.Windows.Forms.Label labelTxS;
	private System.Windows.Forms.Label labelCongested;
	private System.Windows.Forms.GroupBox groupBox2;
	private System.Windows.Forms.TextBox textBoxRxS;
	private System.Windows.Forms.Label label4;
	private System.Windows.Forms.TextBox textBoxRxQ;
	private System.Windows.Forms.Label label5;
	/// <summary>
	/// Required designer variable.
	/// </summary>
	private System.ComponentModel.Container components = null;

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

		this.Text = "BaseTerm Q Status: " + BaseTerm.settings.port;

		Update();
	}

	/// <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.timer = new System.Timers.Timer();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.label1 = new System.Windows.Forms.Label();
			this.textBoxTxS = new System.Windows.Forms.TextBox();
			this.textBoxTxQ = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.textBoxTxI = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.labelTxS = new System.Windows.Forms.Label();
			this.labelCongested = new System.Windows.Forms.Label();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.textBoxRxS = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.textBoxRxQ = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			((System.ComponentModel.ISupportInitialize)(this.timer)).BeginInit();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// timer
			// 
			this.timer.Enabled = true;
			this.timer.Interval = 1000;
			this.timer.SynchronizingObject = this;
			this.timer.Elapsed += new System.Timers.ElapsedEventHandler(this.timer_Elapsed);
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.labelCongested);
			this.groupBox1.Controls.Add(this.labelTxS);
			this.groupBox1.Controls.Add(this.textBoxTxI);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.textBoxTxQ);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.textBoxTxS);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Location = new System.Drawing.Point(8, 0);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(176, 128);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Transmission Queue";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(8, 18);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(64, 16);
			this.label1.TabIndex = 0;
			this.label1.Text = "Size:";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBoxTxS
			// 
			this.textBoxTxS.Location = new System.Drawing.Point(72, 16);
			this.textBoxTxS.Name = "textBoxTxS";
			this.textBoxTxS.ReadOnly = true;
			this.textBoxTxS.Size = new System.Drawing.Size(88, 20);
			this.textBoxTxS.TabIndex = 1;
			this.textBoxTxS.Text = "";
			// 
			// textBoxTxQ
			// 
			this.textBoxTxQ.Location = new System.Drawing.Point(72, 40);
			this.textBoxTxQ.Name = "textBoxTxQ";
			this.textBoxTxQ.ReadOnly = true;
			this.textBoxTxQ.Size = new System.Drawing.Size(88, 20);
			this.textBoxTxQ.TabIndex = 3;
			this.textBoxTxQ.Text = "";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(8, 42);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(64, 16);
			this.label2.TabIndex = 2;
			this.label2.Text = "Queued:";
			this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBoxTxI
			// 
			this.textBoxTxI.Location = new System.Drawing.Point(128, 64);
			this.textBoxTxI.Name = "textBoxTxI";
			this.textBoxTxI.ReadOnly = true;
			this.textBoxTxI.Size = new System.Drawing.Size(32, 20);
			this.textBoxTxI.TabIndex = 5;
			this.textBoxTxI.Text = "";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(8, 66);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(112, 16);
			this.label3.TabIndex = 4;
			this.label3.Text = "Immediate Buffer:";
			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// labelTxS
			// 
			this.labelTxS.Location = new System.Drawing.Point(8, 88);
			this.labelTxS.Name = "labelTxS";
			this.labelTxS.Size = new System.Drawing.Size(160, 16);
			this.labelTxS.TabIndex = 6;
			this.labelTxS.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// labelCongested
			// 
			this.labelCongested.Location = new System.Drawing.Point(8, 104);
			this.labelCongested.Name = "labelCongested";
			this.labelCongested.Size = new System.Drawing.Size(160, 16);
			this.labelCongested.TabIndex = 7;
			this.labelCongested.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.textBoxRxQ);
			this.groupBox2.Controls.Add(this.label5);
			this.groupBox2.Controls.Add(this.textBoxRxS);
			this.groupBox2.Controls.Add(this.label4);
			this.groupBox2.Location = new System.Drawing.Point(8, 128);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(176, 72);
			this.groupBox2.TabIndex = 1;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "Reception Queue";
			// 
			// textBoxRxS
			// 
			this.textBoxRxS.Location = new System.Drawing.Point(76, 16);
			this.textBoxRxS.Name = "textBoxRxS";
			this.textBoxRxS.ReadOnly = true;
			this.textBoxRxS.Size = new System.Drawing.Size(88, 20);
			this.textBoxRxS.TabIndex = 3;
			this.textBoxRxS.Text = "";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(12, 18);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(64, 16);
			this.label4.TabIndex = 2;
			this.label4.Text = "Size:";
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBoxRxQ
			// 
			this.textBoxRxQ.Location = new System.Drawing.Point(76, 40);
			this.textBoxRxQ.Name = "textBoxRxQ";
			this.textBoxRxQ.ReadOnly = true;
			this.textBoxRxQ.Size = new System.Drawing.Size(88, 20);
			this.textBoxRxQ.TabIndex = 5;
			this.textBoxRxQ.Text = "";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(12, 42);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(64, 16);
			this.label5.TabIndex = 4;
			this.label5.Text = "Queued:";
			this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// InfoForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(194, 208);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.groupBox1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
			this.Name = "InfoForm";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "CommBase Queue Status";
			this.TopMost = true;
			this.Closing += new System.ComponentModel.CancelEventHandler(this.InfoForm_Closing);
			((System.ComponentModel.ISupportInitialize)(this.timer)).EndInit();
			this.groupBox1.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

	private void timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
	{
		Update();
	}

	private new void Update()
	{
		long v; string s;
		CommBase.QueueStatus q = BaseTerm.term.GetQueueStatus();
		v = q.OutQueueSize;
		textBoxTxS.Text = (v > 0)? v.ToString() : "Unknown";
		textBoxTxQ.Text = q.OutQueue.ToString();
		textBoxTxI.Text = q.immediateWaiting? "1" : "0";
		s = "";
		if (q.ctsHold) s = s + "CTS ";
		if (q.dsrHold) s = s + "DSR ";
		if (q.rlsdHold) s = s + "RLSD ";
		if (q.ctsHold) s = s + "RxXoff ";
		if (q.ctsHold) s = s + "TxXoff ";

		if (s == "")
			labelTxS.Text = "Transmitting";
		else
			labelTxS.Text = "Blocked: " + s;

		if (BaseTerm.term.IsCongested())
			labelCongested.Text = "Congested";
		else
			labelCongested.Text = "Not Congested";
		v = q.InQueueSize;
		textBoxRxS.Text = (v > 0)? v.ToString() : "Unknown";
		textBoxRxQ.Text = q.InQueue.ToString();
	}

	private void InfoForm_Closing(object sender, System.ComponentModel.CancelEventArgs e)
	{
		timer.Enabled = false;
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产美| 国产69精品久久99不卡| 欧美美女一区二区在线观看| 亚洲一本大道在线| 欧美二区三区91| 激情综合一区二区三区| 国产欧美视频一区二区| 91免费国产在线| 亚洲午夜在线观看视频在线| 日韩丝袜美女视频| 国产一区二区三区精品视频| 中文字幕一区免费在线观看| 欧美系列一区二区| 久久精品国产网站| 日韩美女精品在线| 欧美日韩卡一卡二| 国产河南妇女毛片精品久久久 | 亚洲欧美在线视频| 欧美三级日本三级少妇99| 美腿丝袜亚洲色图| 欧美韩日一区二区三区四区| 在线欧美一区二区| 久久国产精品72免费观看| 国产精品久久久久婷婷二区次| 欧洲一区二区av| 国产一区二区0| 亚洲一区在线播放| 日本免费新一区视频| 国产精品色一区二区三区| 欧美色窝79yyyycom| 国产精品一二三四五| 亚洲午夜久久久久| 欧美激情资源网| 欧美日韩国产一二三| 成人久久18免费网站麻豆| 午夜伦欧美伦电影理论片| 国产精品污www在线观看| 国产精品久久毛片a| 欧美人与禽zozo性伦| 国产不卡视频在线播放| 奇米一区二区三区| 亚洲人快播电影网| 久久精品夜色噜噜亚洲aⅴ| 在线观看日韩电影| av毛片久久久久**hd| 精品一区二区三区在线观看| 亚洲精品国产精品乱码不99| 国产亚洲成年网址在线观看| 欧美一区二区三级| 欧美日韩一级二级| 91一区在线观看| 成人精品视频一区二区三区尤物| 秋霞成人午夜伦在线观看| 亚洲综合图片区| 日韩理论片在线| 国产精品视频线看| 国产欧美视频在线观看| 精品卡一卡二卡三卡四在线| 91精品国产一区二区| 欧美怡红院视频| 91成人免费电影| 色综合中文字幕| 成人国产在线观看| 成人av在线资源| 成人在线视频一区| 国产成人免费在线观看| 国产精品18久久久久久久久久久久 | 男人的天堂亚洲一区| 午夜欧美2019年伦理| 亚洲一区二区欧美| 亚洲成人一区在线| 亚洲免费观看在线视频| 一区二区三区久久久| 夜夜夜精品看看| 亚洲一级片在线观看| 亚洲午夜免费福利视频| 亚洲电影在线播放| 亚洲成人资源网| 午夜亚洲福利老司机| 日韩av一级电影| 麻豆极品一区二区三区| 激情都市一区二区| 国产福利精品一区| 成人免费高清在线| 91天堂素人约啪| 在线看国产一区| 欧美另类一区二区三区| 欧美一区二区免费| 国产亚洲精品bt天堂精选| 国产精品免费免费| 亚洲综合免费观看高清完整版在线| 亚洲激情自拍视频| 日韩精品一级中文字幕精品视频免费观看| 五月天亚洲精品| 久久成人羞羞网站| 国产91丝袜在线播放0| av亚洲精华国产精华精| 91福利精品视频| 日韩免费高清av| 国产精品美日韩| 亚洲欧美偷拍三级| 亚洲五码中文字幕| 久久99精品久久久久久久久久久久| 国产精品99久久久| 色呦呦一区二区三区| 精品视频999| 久久这里只精品最新地址| 国产日韩欧美精品电影三级在线| 亚洲同性同志一二三专区| 视频一区二区不卡| 成人高清视频免费观看| 欧美精品vⅰdeose4hd| 国产亚洲综合性久久久影院| 亚洲男人的天堂在线观看| 蜜臂av日日欢夜夜爽一区| 成人av网址在线观看| 欧美午夜一区二区三区免费大片| 欧美成人高清电影在线| 自拍偷拍国产亚洲| 久久99久久久久| 在线观看亚洲专区| 国产蜜臀av在线一区二区三区| 亚洲国产精品久久人人爱| 国产成人亚洲综合a∨猫咪| 欧美三级视频在线| 国产精品午夜久久| 日韩高清不卡在线| 91视视频在线观看入口直接观看www | 欧美亚洲国产一卡| 久久久综合精品| 午夜视频一区二区三区| av一区二区久久| www国产成人免费观看视频 深夜成人网| 亚洲欧美日韩在线| 岛国一区二区三区| 精品粉嫩超白一线天av| 性欧美疯狂xxxxbbbb| 94-欧美-setu| 欧美国产日本韩| 极品美女销魂一区二区三区免费| 欧美无砖专区一中文字| 亚洲欧美在线视频| 国产sm精品调教视频网站| 精品乱人伦小说| 日本中文字幕一区| 欧美精品在线观看播放| 亚洲人成精品久久久久| 国内国产精品久久| 91精品黄色片免费大全| 午夜精品久久久久久| 色婷婷综合久久久| 国产精品美女久久久久久| 久久国产乱子精品免费女| 8x8x8国产精品| 天使萌一区二区三区免费观看| 日本精品免费观看高清观看| 中文字幕一区二区不卡| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲国产一区二区三区| 色屁屁一区二区| 一区二区在线观看免费| 日本伦理一区二区| 亚洲综合在线电影| 欧美伊人久久大香线蕉综合69 | 7777精品伊人久久久大香线蕉完整版 | 欧美日韩视频在线一区二区| 一区二区三区四区亚洲| 色国产精品一区在线观看| 国产精品大尺度| 91亚洲精品久久久蜜桃| 一区二区不卡在线播放| 欧美乱妇15p| 麻豆精品久久精品色综合| 久久综合成人精品亚洲另类欧美| 黑人巨大精品欧美一区| 国产喷白浆一区二区三区| 99久久久国产精品| 亚洲狼人国产精品| 欧美日韩久久久久久| 琪琪久久久久日韩精品| 精品国产凹凸成av人导航| 国产成人综合视频| 国产精品免费观看视频| 欧美在线观看一区| 日韩成人免费看| 精品国产乱码久久久久久蜜臀| 国产精品一区二区果冻传媒| 国产精品国产三级国产普通话三级| 91毛片在线观看| 日本午夜一本久久久综合| 久久久精品一品道一区| 91玉足脚交白嫩脚丫在线播放| 亚洲成人av一区二区| 精品国产一二三区| 91美女视频网站| 久久97超碰国产精品超碰| 日韩一区中文字幕| 日韩视频一区二区三区| a级精品国产片在线观看| 视频一区视频二区中文|