📄 captureoptions.cs
字号:
this.GrpBoxCaptureLimits.Controls.AddRange(new System.Windows.Forms.Control[] {
this.label5,
this.label4,
this.label3,
this.TxtCaptureLimitsSeconds,
this.TxtCaptureLimitsKiloBytes,
this.TxtCaptureLimitsPackets,
this.ChkCaptureLimitsSeconds,
this.ChkCaptureLimitsKiloBytes,
this.ChkCaptureLimitsPackets});
this.GrpBoxCaptureLimits.Location = new System.Drawing.Point(8, 256);
this.GrpBoxCaptureLimits.Name = "GrpBoxCaptureLimits";
this.GrpBoxCaptureLimits.Size = new System.Drawing.Size(400, 104);
this.GrpBoxCaptureLimits.TabIndex = 2;
this.GrpBoxCaptureLimits.TabStop = false;
this.GrpBoxCaptureLimits.Text = " Capture Limits ";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(192, 72);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(54, 13);
this.label5.TabIndex = 8;
this.label5.Text = "second(s)";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(192, 48);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(103, 13);
this.label4.TabIndex = 7;
this.label4.Text = "kilobyte(s) captured";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(192, 24);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(98, 13);
this.label3.TabIndex = 6;
this.label3.Text = "packet(s) captured";
//
// TxtCaptureLimitsSeconds
//
this.TxtCaptureLimitsSeconds.Location = new System.Drawing.Point(128, 64);
this.TxtCaptureLimitsSeconds.Name = "TxtCaptureLimitsSeconds";
this.TxtCaptureLimitsSeconds.Size = new System.Drawing.Size(56, 20);
this.TxtCaptureLimitsSeconds.TabIndex = 12;
this.TxtCaptureLimitsSeconds.Text = "1";
//
// TxtCaptureLimitsKiloBytes
//
this.TxtCaptureLimitsKiloBytes.Location = new System.Drawing.Point(128, 40);
this.TxtCaptureLimitsKiloBytes.Name = "TxtCaptureLimitsKiloBytes";
this.TxtCaptureLimitsKiloBytes.Size = new System.Drawing.Size(56, 20);
this.TxtCaptureLimitsKiloBytes.TabIndex = 10;
this.TxtCaptureLimitsKiloBytes.Text = "1";
//
// TxtCaptureLimitsPackets
//
this.TxtCaptureLimitsPackets.Location = new System.Drawing.Point(128, 16);
this.TxtCaptureLimitsPackets.Name = "TxtCaptureLimitsPackets";
this.TxtCaptureLimitsPackets.Size = new System.Drawing.Size(56, 20);
this.TxtCaptureLimitsPackets.TabIndex = 8;
this.TxtCaptureLimitsPackets.Text = "1";
//
// ChkCaptureLimitsSeconds
//
this.ChkCaptureLimitsSeconds.Location = new System.Drawing.Point(8, 72);
this.ChkCaptureLimitsSeconds.Name = "ChkCaptureLimitsSeconds";
this.ChkCaptureLimitsSeconds.Size = new System.Drawing.Size(120, 16);
this.ChkCaptureLimitsSeconds.TabIndex = 11;
this.ChkCaptureLimitsSeconds.Text = "Stop capture after ";
//
// ChkCaptureLimitsKiloBytes
//
this.ChkCaptureLimitsKiloBytes.Location = new System.Drawing.Point(8, 48);
this.ChkCaptureLimitsKiloBytes.Name = "ChkCaptureLimitsKiloBytes";
this.ChkCaptureLimitsKiloBytes.Size = new System.Drawing.Size(120, 16);
this.ChkCaptureLimitsKiloBytes.TabIndex = 9;
this.ChkCaptureLimitsKiloBytes.Text = "Stop capture after ";
//
// ChkCaptureLimitsPackets
//
this.ChkCaptureLimitsPackets.Location = new System.Drawing.Point(8, 24);
this.ChkCaptureLimitsPackets.Name = "ChkCaptureLimitsPackets";
this.ChkCaptureLimitsPackets.Size = new System.Drawing.Size(120, 16);
this.ChkCaptureLimitsPackets.TabIndex = 7;
this.ChkCaptureLimitsPackets.Text = "Stop capture after ";
//
// GrpBoxNameResolution
//
this.GrpBoxNameResolution.Controls.AddRange(new System.Windows.Forms.Control[] {
this.ChkNameResolutionTransport,
this.ChkNameResolutionNetwork,
this.ChkNameResolutionMAC});
this.GrpBoxNameResolution.Location = new System.Drawing.Point(8, 368);
this.GrpBoxNameResolution.Name = "GrpBoxNameResolution";
this.GrpBoxNameResolution.Size = new System.Drawing.Size(400, 104);
this.GrpBoxNameResolution.TabIndex = 3;
this.GrpBoxNameResolution.TabStop = false;
this.GrpBoxNameResolution.Text = " Name Resolution ";
//
// ChkNameResolutionTransport
//
this.ChkNameResolutionTransport.Location = new System.Drawing.Point(16, 72);
this.ChkNameResolutionTransport.Name = "ChkNameResolutionTransport";
this.ChkNameResolutionTransport.Size = new System.Drawing.Size(256, 24);
this.ChkNameResolutionTransport.TabIndex = 15;
this.ChkNameResolutionTransport.Text = "Enable transport name resolution";
//
// ChkNameResolutionNetwork
//
this.ChkNameResolutionNetwork.Location = new System.Drawing.Point(16, 48);
this.ChkNameResolutionNetwork.Name = "ChkNameResolutionNetwork";
this.ChkNameResolutionNetwork.Size = new System.Drawing.Size(256, 24);
this.ChkNameResolutionNetwork.TabIndex = 14;
this.ChkNameResolutionNetwork.Text = "Enable network name resolution";
//
// ChkNameResolutionMAC
//
this.ChkNameResolutionMAC.Location = new System.Drawing.Point(16, 24);
this.ChkNameResolutionMAC.Name = "ChkNameResolutionMAC";
this.ChkNameResolutionMAC.Size = new System.Drawing.Size(256, 24);
this.ChkNameResolutionMAC.TabIndex = 13;
this.ChkNameResolutionMAC.Text = "Enable MAC name resolution";
//
// BtnOk
//
this.BtnOk.Location = new System.Drawing.Point(8, 480);
this.BtnOk.Name = "BtnOk";
this.BtnOk.Size = new System.Drawing.Size(80, 24);
this.BtnOk.TabIndex = 23;
this.BtnOk.Text = "&Ok";
this.BtnOk.Click += new System.EventHandler(this.BtnOk_Click);
//
// BtnCancel
//
this.BtnCancel.Location = new System.Drawing.Point(96, 480);
this.BtnCancel.Name = "BtnCancel";
this.BtnCancel.Size = new System.Drawing.Size(72, 24);
this.BtnCancel.TabIndex = 24;
this.BtnCancel.Text = "&Cancel";
this.BtnCancel.Click += new System.EventHandler(this.BtnCancel_Click);
//
// GrpPacket
//
this.GrpPacket.Controls.AddRange(new System.Windows.Forms.Control[] {
this.ChkBoxHardwareFilter,
this.CmbCaptureMode,
this.label13,
this.label12,
this.TxtAdapterBufferSize,
this.label11,
this.TxtReadTimeOut,
this.TxtNumWrites,
this.TxtMinBytesToCopy,
this.TxtBufferSize,
this.label10,
this.label9,
this.label8,
this.label7});
this.GrpPacket.Location = new System.Drawing.Point(416, 176);
this.GrpPacket.Name = "GrpPacket";
this.GrpPacket.Size = new System.Drawing.Size(304, 328);
this.GrpPacket.TabIndex = 6;
this.GrpPacket.TabStop = false;
this.GrpPacket.Text = " Packet ";
//
// ChkBoxHardwareFilter
//
this.ChkBoxHardwareFilter.Items.AddRange(new object[] {
"DIRECTED",
"MULTICAST",
"ALL_MULTICAST",
"BROADCAST",
"SOURCE_ROUTING",
"PROMISCUOUS",
"SMT",
"ALL_LOCAL",
"MAC_FRAME",
"FUNCTIONAL",
"ALL_FUNCTIONAL",
"GROUP"});
this.ChkBoxHardwareFilter.Location = new System.Drawing.Point(128, 160);
this.ChkBoxHardwareFilter.Name = "ChkBoxHardwareFilter";
this.ChkBoxHardwareFilter.Size = new System.Drawing.Size(168, 154);
this.ChkBoxHardwareFilter.TabIndex = 22;
//
// CmbCaptureMode
//
this.CmbCaptureMode.Items.AddRange(new object[] {
"CAPTURE MODE",
"STATISTICAL MODE",
"DUMP MODE",
"STATISTICAL & DUMP MODE"});
this.CmbCaptureMode.Location = new System.Drawing.Point(128, 136);
this.CmbCaptureMode.Name = "CmbCaptureMode";
this.CmbCaptureMode.Size = new System.Drawing.Size(168, 21);
this.CmbCaptureMode.TabIndex = 21;
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(8, 168);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(82, 13);
this.label13.TabIndex = 11;
this.label13.Text = "Hardware Filter";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(8, 144);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(76, 13);
this.label12.TabIndex = 10;
this.label12.Text = "Capture Mode";
//
// TxtAdapterBufferSize
//
this.TxtAdapterBufferSize.Location = new System.Drawing.Point(128, 16);
this.TxtAdapterBufferSize.Name = "TxtAdapterBufferSize";
this.TxtAdapterBufferSize.Size = new System.Drawing.Size(128, 20);
this.TxtAdapterBufferSize.TabIndex = 16;
this.TxtAdapterBufferSize.Text = "512000";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(8, 24);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(102, 13);
this.label11.TabIndex = 8;
this.label11.Text = "Adapter Buffer Size";
//
// TxtReadTimeOut
//
this.TxtReadTimeOut.Location = new System.Drawing.Point(128, 112);
this.TxtReadTimeOut.Name = "TxtReadTimeOut";
this.TxtReadTimeOut.Size = new System.Drawing.Size(128, 20);
this.TxtReadTimeOut.TabIndex = 20;
this.TxtReadTimeOut.Text = "1000";
//
// TxtNumWrites
//
this.TxtNumWrites.Location = new System.Drawing.Point(128, 88);
this.TxtNumWrites.Name = "TxtNumWrites";
this.TxtNumWrites.Size = new System.Drawing.Size(128, 20);
this.TxtNumWrites.TabIndex = 19;
this.TxtNumWrites.Text = "1";
//
// TxtMinBytesToCopy
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -