mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 14:07:46 +08:00
541 lines
29 KiB
C#
541 lines
29 KiB
C#
|
|
using mRemoteNG.Themes;
|
|
using mRemoteNG.UI.Controls;
|
|
|
|
namespace mRemoteNG.UI.Window
|
|
{
|
|
public partial class PortScanWindow : BaseWindow
|
|
{
|
|
#region Windows Form Designer generated code
|
|
|
|
internal Controls.Base.NGLabel lblEndIP;
|
|
internal Controls.Base.NGLabel lblStartIP;
|
|
internal IPTextBox ipEnd;
|
|
internal Controls.Base.NGListView olvHosts;
|
|
internal BrightIdeasSoftware.OLVColumn clmHost;
|
|
internal BrightIdeasSoftware.OLVColumn clmSSH;
|
|
internal BrightIdeasSoftware.OLVColumn clmTelnet;
|
|
internal BrightIdeasSoftware.OLVColumn clmHTTP;
|
|
internal BrightIdeasSoftware.OLVColumn clmHTTPS;
|
|
internal BrightIdeasSoftware.OLVColumn clmRlogin;
|
|
internal BrightIdeasSoftware.OLVColumn clmRDP;
|
|
internal BrightIdeasSoftware.OLVColumn clmVNC;
|
|
internal BrightIdeasSoftware.OLVColumn clmOpenPorts;
|
|
internal BrightIdeasSoftware.OLVColumn clmClosedPorts;
|
|
internal Controls.Base.NGProgressBar prgBar;
|
|
internal Controls.Base.NGLabel lblOnlyImport;
|
|
internal Controls.Base.NGComboBox cbProtocol;
|
|
internal Controls.Base.NGNumericUpDown portEnd;
|
|
internal Controls.Base.NGNumericUpDown portStart;
|
|
internal Controls.Base.NGButton btnImport;
|
|
internal IPTextBox ipStart;
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortScanWindow));
|
|
this.ipStart = new mRemoteNG.UI.Controls.IPTextBox();
|
|
this.ipEnd = new mRemoteNG.UI.Controls.IPTextBox();
|
|
this.lblStartIP = new mRemoteNG.UI.Controls.Base.NGLabel();
|
|
this.lblEndIP = new mRemoteNG.UI.Controls.Base.NGLabel();
|
|
this.olvHosts = new mRemoteNG.UI.Controls.Base.NGListView();
|
|
this.resultsMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.importHTTPToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importHTTPSToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importRDPToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importRloginToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importSSH2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importTelnetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importVNCToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.btnImport = new mRemoteNG.UI.Controls.Base.NGButton();
|
|
this.cbProtocol = new mRemoteNG.UI.Controls.Base.NGComboBox();
|
|
this.lblOnlyImport = new mRemoteNG.UI.Controls.Base.NGLabel();
|
|
this.clmHost = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmSSH = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmTelnet = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmHTTP = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmHTTPS = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmRlogin = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmRDP = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmVNC = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmOpenPorts = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.clmClosedPorts = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this.prgBar = new mRemoteNG.UI.Controls.Base.NGProgressBar();
|
|
this.numericSelectorTimeout = new mRemoteNG.UI.Controls.Base.NGNumericUpDown();
|
|
this.lblTimeout = new System.Windows.Forms.Label();
|
|
this.portEnd = new mRemoteNG.UI.Controls.Base.NGNumericUpDown();
|
|
this.portStart = new mRemoteNG.UI.Controls.Base.NGNumericUpDown();
|
|
this.pnlIp = new System.Windows.Forms.TableLayoutPanel();
|
|
this.btnScan = new mRemoteNG.UI.Controls.Base.NGButton();
|
|
this.ngCheckFirstPort = new mRemoteNG.UI.Controls.Base.NGCheckBox();
|
|
this.ngCheckLastPort = new mRemoteNG.UI.Controls.Base.NGCheckBox();
|
|
this.pnlImport = new System.Windows.Forms.TableLayoutPanel();
|
|
this.pnlMain = new System.Windows.Forms.TableLayoutPanel();
|
|
this.portScanToolTip = new System.Windows.Forms.ToolTip(this.components);
|
|
((System.ComponentModel.ISupportInitialize)(this.olvHosts)).BeginInit();
|
|
this.resultsMenuStrip.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericSelectorTimeout)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.portEnd)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.portStart)).BeginInit();
|
|
this.pnlIp.SuspendLayout();
|
|
this.pnlImport.SuspendLayout();
|
|
this.pnlMain.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// ipStart
|
|
//
|
|
this.ipStart.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.ipStart.Location = new System.Drawing.Point(133, 3);
|
|
this.ipStart.Name = "ipStart";
|
|
this.ipStart.Size = new System.Drawing.Size(124, 18);
|
|
this.ipStart.TabIndex = 1;
|
|
this.ipStart.ToolTipText = "";
|
|
//
|
|
// ipEnd
|
|
//
|
|
this.ipEnd.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.ipEnd.Location = new System.Drawing.Point(133, 27);
|
|
this.ipEnd.Name = "ipEnd";
|
|
this.ipEnd.Size = new System.Drawing.Size(124, 18);
|
|
this.ipEnd.TabIndex = 2;
|
|
this.ipEnd.ToolTipText = "";
|
|
//
|
|
// lblStartIP
|
|
//
|
|
this.lblStartIP.AutoSize = true;
|
|
this.lblStartIP.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblStartIP.Location = new System.Drawing.Point(3, 0);
|
|
this.lblStartIP.Name = "lblStartIP";
|
|
this.lblStartIP.Size = new System.Drawing.Size(124, 24);
|
|
this.lblStartIP.TabIndex = 0;
|
|
this.lblStartIP.Text = "First IP";
|
|
this.lblStartIP.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// lblEndIP
|
|
//
|
|
this.lblEndIP.AutoSize = true;
|
|
this.lblEndIP.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblEndIP.Location = new System.Drawing.Point(3, 24);
|
|
this.lblEndIP.Name = "lblEndIP";
|
|
this.lblEndIP.Size = new System.Drawing.Size(124, 24);
|
|
this.lblEndIP.TabIndex = 5;
|
|
this.lblEndIP.Text = "Last IP";
|
|
this.lblEndIP.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// olvHosts
|
|
//
|
|
this.olvHosts.CellEditUseWholeCell = false;
|
|
this.olvHosts.ContextMenuStrip = this.resultsMenuStrip;
|
|
this.olvHosts.Cursor = System.Windows.Forms.Cursors.Default;
|
|
this.olvHosts.DecorateLines = true;
|
|
this.olvHosts.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.olvHosts.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.olvHosts.FullRowSelect = true;
|
|
this.olvHosts.GridLines = true;
|
|
this.olvHosts.HideSelection = false;
|
|
this.olvHosts.Location = new System.Drawing.Point(3, 168);
|
|
this.olvHosts.Name = "olvHosts";
|
|
this.olvHosts.ShowGroups = false;
|
|
this.olvHosts.Size = new System.Drawing.Size(878, 230);
|
|
this.olvHosts.TabIndex = 26;
|
|
this.olvHosts.UseCompatibleStateImageBehavior = false;
|
|
this.olvHosts.View = System.Windows.Forms.View.Details;
|
|
//
|
|
// resultsMenuStrip
|
|
//
|
|
this.resultsMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.importHTTPToolStripMenuItem,
|
|
this.importHTTPSToolStripMenuItem,
|
|
this.importRDPToolStripMenuItem,
|
|
this.importRloginToolStripMenuItem,
|
|
this.importSSH2ToolStripMenuItem,
|
|
this.importTelnetToolStripMenuItem,
|
|
this.importVNCToolStripMenuItem});
|
|
this.resultsMenuStrip.Name = "resultsMenuStrip";
|
|
this.resultsMenuStrip.Size = new System.Drawing.Size(148, 158);
|
|
//
|
|
// importHTTPToolStripMenuItem
|
|
//
|
|
this.importHTTPToolStripMenuItem.Name = "importHTTPToolStripMenuItem";
|
|
this.importHTTPToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
|
|
this.importHTTPToolStripMenuItem.Text = "Import HTTP";
|
|
this.importHTTPToolStripMenuItem.Click += new System.EventHandler(this.importHTTPToolStripMenuItem_Click);
|
|
//
|
|
// importHTTPSToolStripMenuItem
|
|
//
|
|
this.importHTTPSToolStripMenuItem.Name = "importHTTPSToolStripMenuItem";
|
|
this.importHTTPSToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
|
|
this.importHTTPSToolStripMenuItem.Text = "Import HTTPS";
|
|
this.importHTTPSToolStripMenuItem.Click += new System.EventHandler(this.importHTTPSToolStripMenuItem_Click);
|
|
//
|
|
// importRDPToolStripMenuItem
|
|
//
|
|
this.importRDPToolStripMenuItem.Name = "importRDPToolStripMenuItem";
|
|
this.importRDPToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
|
|
this.importRDPToolStripMenuItem.Text = "Import RDP";
|
|
this.importRDPToolStripMenuItem.Click += new System.EventHandler(this.importRDPToolStripMenuItem_Click);
|
|
//
|
|
// importRloginToolStripMenuItem
|
|
//
|
|
this.importRloginToolStripMenuItem.Name = "importRloginToolStripMenuItem";
|
|
this.importRloginToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
|
|
this.importRloginToolStripMenuItem.Text = "Import Rlogin";
|
|
this.importRloginToolStripMenuItem.Click += new System.EventHandler(this.importRloginToolStripMenuItem_Click);
|
|
//
|
|
// importSSH2ToolStripMenuItem
|
|
//
|
|
this.importSSH2ToolStripMenuItem.Name = "importSSH2ToolStripMenuItem";
|
|
this.importSSH2ToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
|
|
this.importSSH2ToolStripMenuItem.Text = "Import SSH2";
|
|
this.importSSH2ToolStripMenuItem.Click += new System.EventHandler(this.importSSH2ToolStripMenuItem_Click);
|
|
//
|
|
// importTelnetToolStripMenuItem
|
|
//
|
|
this.importTelnetToolStripMenuItem.Name = "importTelnetToolStripMenuItem";
|
|
this.importTelnetToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
|
|
this.importTelnetToolStripMenuItem.Text = "Import Telnet";
|
|
this.importTelnetToolStripMenuItem.Click += new System.EventHandler(this.importTelnetToolStripMenuItem_Click);
|
|
//
|
|
// importVNCToolStripMenuItem
|
|
//
|
|
this.importVNCToolStripMenuItem.Name = "importVNCToolStripMenuItem";
|
|
this.importVNCToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
|
|
this.importVNCToolStripMenuItem.Text = "Import VNC";
|
|
this.importVNCToolStripMenuItem.Click += new System.EventHandler(this.importVNCToolStripMenuItem_Click);
|
|
//
|
|
// btnImport
|
|
//
|
|
this.btnImport._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.OUT;
|
|
this.btnImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnImport.Location = new System.Drawing.Point(765, 27);
|
|
this.btnImport.Name = "btnImport";
|
|
this.btnImport.Size = new System.Drawing.Size(110, 24);
|
|
this.btnImport.TabIndex = 8;
|
|
this.btnImport.Text = "&Import";
|
|
this.btnImport.UseVisualStyleBackColor = true;
|
|
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
|
|
//
|
|
// cbProtocol
|
|
//
|
|
this.cbProtocol._mice = mRemoteNG.UI.Controls.Base.NGComboBox.MouseState.HOVER;
|
|
this.cbProtocol.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.cbProtocol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbProtocol.FormattingEnabled = true;
|
|
this.cbProtocol.Items.AddRange(new object[] {
|
|
"SSH2",
|
|
"Telnet",
|
|
"HTTP",
|
|
"HTTPS",
|
|
"Rlogin",
|
|
"RDP",
|
|
"VNC"});
|
|
this.cbProtocol.Location = new System.Drawing.Point(3, 27);
|
|
this.cbProtocol.Name = "cbProtocol";
|
|
this.cbProtocol.Size = new System.Drawing.Size(144, 21);
|
|
this.cbProtocol.TabIndex = 7;
|
|
//
|
|
// lblOnlyImport
|
|
//
|
|
this.lblOnlyImport.AutoSize = true;
|
|
this.lblOnlyImport.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblOnlyImport.Location = new System.Drawing.Point(3, 0);
|
|
this.lblOnlyImport.Name = "lblOnlyImport";
|
|
this.lblOnlyImport.Size = new System.Drawing.Size(144, 24);
|
|
this.lblOnlyImport.TabIndex = 1;
|
|
this.lblOnlyImport.Text = "Protocol to import";
|
|
this.lblOnlyImport.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// clmHost
|
|
//
|
|
this.clmHost.AspectName = "HostIPorName";
|
|
this.clmHost.FillsFreeSpace = true;
|
|
this.clmHost.Text = "Hostname/IP";
|
|
this.clmHost.Width = 130;
|
|
//
|
|
// clmSSH
|
|
//
|
|
this.clmSSH.AspectName = "SshName";
|
|
this.clmSSH.Text = "SSH";
|
|
this.clmSSH.Width = 50;
|
|
//
|
|
// clmTelnet
|
|
//
|
|
this.clmTelnet.AspectName = "TelnetName";
|
|
this.clmTelnet.Text = "Telnet";
|
|
this.clmTelnet.Width = 50;
|
|
//
|
|
// clmHTTP
|
|
//
|
|
this.clmHTTP.AspectName = "HttpName";
|
|
this.clmHTTP.Text = "HTTP";
|
|
this.clmHTTP.Width = 50;
|
|
//
|
|
// clmHTTPS
|
|
//
|
|
this.clmHTTPS.AspectName = "HttpsName";
|
|
this.clmHTTPS.Text = "HTTPS";
|
|
this.clmHTTPS.Width = 50;
|
|
//
|
|
// clmRlogin
|
|
//
|
|
this.clmRlogin.AspectName = "RloginName";
|
|
this.clmRlogin.Text = "Rlogin";
|
|
this.clmRlogin.Width = 50;
|
|
//
|
|
// clmRDP
|
|
//
|
|
this.clmRDP.AspectName = "RdpName";
|
|
this.clmRDP.Text = "RDP";
|
|
this.clmRDP.Width = 50;
|
|
//
|
|
// clmVNC
|
|
//
|
|
this.clmVNC.AspectName = "VncName";
|
|
this.clmVNC.Text = "VNC";
|
|
this.clmVNC.Width = 50;
|
|
//
|
|
// clmOpenPorts
|
|
//
|
|
this.clmOpenPorts.AspectName = "OpenPortsName";
|
|
this.clmOpenPorts.FillsFreeSpace = true;
|
|
this.clmOpenPorts.Text = "Open Ports";
|
|
this.clmOpenPorts.Width = 150;
|
|
//
|
|
// clmClosedPorts
|
|
//
|
|
this.clmClosedPorts.AspectName = "ClosedPortsName";
|
|
this.clmClosedPorts.FillsFreeSpace = true;
|
|
this.clmClosedPorts.Text = "Closed Ports";
|
|
this.clmClosedPorts.Width = 150;
|
|
//
|
|
// prgBar
|
|
//
|
|
this.prgBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.prgBar.Location = new System.Drawing.Point(3, 138);
|
|
this.prgBar.Name = "prgBar";
|
|
this.prgBar.Size = new System.Drawing.Size(878, 24);
|
|
this.prgBar.Step = 1;
|
|
this.prgBar.TabIndex = 28;
|
|
//
|
|
// numericSelectorTimeout
|
|
//
|
|
this.numericSelectorTimeout.Location = new System.Drawing.Point(133, 99);
|
|
this.numericSelectorTimeout.Maximum = new decimal(new int[] {
|
|
2147482,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericSelectorTimeout.Name = "numericSelectorTimeout";
|
|
this.numericSelectorTimeout.Size = new System.Drawing.Size(67, 22);
|
|
this.numericSelectorTimeout.TabIndex = 5;
|
|
this.numericSelectorTimeout.Value = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// lblTimeout
|
|
//
|
|
this.lblTimeout.AutoSize = true;
|
|
this.lblTimeout.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblTimeout.Location = new System.Drawing.Point(3, 96);
|
|
this.lblTimeout.Name = "lblTimeout";
|
|
this.lblTimeout.Size = new System.Drawing.Size(124, 33);
|
|
this.lblTimeout.TabIndex = 16;
|
|
this.lblTimeout.Text = "Timeout [seconds]";
|
|
this.lblTimeout.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// portEnd
|
|
//
|
|
this.portEnd.Enabled = false;
|
|
this.portEnd.Location = new System.Drawing.Point(133, 75);
|
|
this.portEnd.Maximum = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.portEnd.Name = "portEnd";
|
|
this.portEnd.Size = new System.Drawing.Size(67, 22);
|
|
this.portEnd.TabIndex = 4;
|
|
this.portScanToolTip.SetToolTip(this.portEnd, global::mRemoteNG.Language.strPortScanSinglePort);
|
|
this.portEnd.Value = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.portEnd.Enter += new System.EventHandler(this.portEnd_Enter);
|
|
//
|
|
// portStart
|
|
//
|
|
this.portStart.Enabled = false;
|
|
this.portStart.Location = new System.Drawing.Point(133, 51);
|
|
this.portStart.Maximum = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.portStart.Name = "portStart";
|
|
this.portStart.Size = new System.Drawing.Size(67, 22);
|
|
this.portStart.TabIndex = 3;
|
|
this.portScanToolTip.SetToolTip(this.portStart, global::mRemoteNG.Language.strPortScanSinglePort);
|
|
this.portStart.Enter += new System.EventHandler(this.portStart_Enter);
|
|
//
|
|
// pnlIp
|
|
//
|
|
this.pnlIp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.pnlIp.ColumnCount = 3;
|
|
this.pnlIp.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 130F));
|
|
this.pnlIp.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 130F));
|
|
this.pnlIp.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.pnlIp.Controls.Add(this.lblStartIP, 0, 0);
|
|
this.pnlIp.Controls.Add(this.ipEnd, 1, 1);
|
|
this.pnlIp.Controls.Add(this.ipStart, 1, 0);
|
|
this.pnlIp.Controls.Add(this.lblEndIP, 0, 1);
|
|
this.pnlIp.Controls.Add(this.portStart, 1, 2);
|
|
this.pnlIp.Controls.Add(this.portEnd, 1, 3);
|
|
this.pnlIp.Controls.Add(this.lblTimeout, 0, 4);
|
|
this.pnlIp.Controls.Add(this.numericSelectorTimeout, 1, 4);
|
|
this.pnlIp.Controls.Add(this.btnScan, 2, 4);
|
|
this.pnlIp.Controls.Add(this.ngCheckFirstPort, 0, 2);
|
|
this.pnlIp.Controls.Add(this.ngCheckLastPort, 0, 3);
|
|
this.pnlIp.Location = new System.Drawing.Point(3, 3);
|
|
this.pnlIp.Name = "pnlIp";
|
|
this.pnlIp.RowCount = 5;
|
|
this.pnlIp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
|
|
this.pnlIp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
|
|
this.pnlIp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
|
|
this.pnlIp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
|
|
this.pnlIp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
|
|
this.pnlIp.Size = new System.Drawing.Size(878, 129);
|
|
this.pnlIp.TabIndex = 103;
|
|
//
|
|
// btnScan
|
|
//
|
|
this.btnScan._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.OUT;
|
|
this.btnScan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnScan.Image = global::mRemoteNG.Resources.Search;
|
|
this.btnScan.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.btnScan.Location = new System.Drawing.Point(765, 99);
|
|
this.btnScan.Name = "btnScan";
|
|
this.btnScan.Size = new System.Drawing.Size(110, 24);
|
|
this.btnScan.TabIndex = 6;
|
|
this.btnScan.Text = "&Scan";
|
|
this.btnScan.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
|
this.btnScan.UseVisualStyleBackColor = true;
|
|
this.btnScan.Click += new System.EventHandler(this.btnScan_Click);
|
|
//
|
|
// ngCheckFirstPort
|
|
//
|
|
this.ngCheckFirstPort._mice = mRemoteNG.UI.Controls.Base.NGCheckBox.MouseState.OUT;
|
|
this.ngCheckFirstPort.AutoSize = true;
|
|
this.ngCheckFirstPort.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.ngCheckFirstPort.Location = new System.Drawing.Point(3, 51);
|
|
this.ngCheckFirstPort.Name = "ngCheckFirstPort";
|
|
this.ngCheckFirstPort.Size = new System.Drawing.Size(72, 17);
|
|
this.ngCheckFirstPort.TabIndex = 17;
|
|
this.ngCheckFirstPort.Text = "First Port";
|
|
this.portScanToolTip.SetToolTip(this.ngCheckFirstPort, global::mRemoteNG.Language.strPortScanSinglePort);
|
|
this.ngCheckFirstPort.UseVisualStyleBackColor = true;
|
|
this.ngCheckFirstPort.CheckedChanged += new System.EventHandler(this.NgCheckFirstPort_CheckedChanged);
|
|
//
|
|
// ngCheckLastPort
|
|
//
|
|
this.ngCheckLastPort._mice = mRemoteNG.UI.Controls.Base.NGCheckBox.MouseState.OUT;
|
|
this.ngCheckLastPort.AutoSize = true;
|
|
this.ngCheckLastPort.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.ngCheckLastPort.Location = new System.Drawing.Point(3, 75);
|
|
this.ngCheckLastPort.Name = "ngCheckLastPort";
|
|
this.ngCheckLastPort.Size = new System.Drawing.Size(70, 17);
|
|
this.ngCheckLastPort.TabIndex = 18;
|
|
this.ngCheckLastPort.Text = "Last Port";
|
|
this.portScanToolTip.SetToolTip(this.ngCheckLastPort, global::mRemoteNG.Language.strPortScanSinglePort);
|
|
this.ngCheckLastPort.UseVisualStyleBackColor = true;
|
|
this.ngCheckLastPort.CheckedChanged += new System.EventHandler(this.NgCheckLastPort_CheckedChanged);
|
|
//
|
|
// pnlImport
|
|
//
|
|
this.pnlImport.ColumnCount = 2;
|
|
this.pnlImport.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 150F));
|
|
this.pnlImport.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.pnlImport.Controls.Add(this.lblOnlyImport, 0, 0);
|
|
this.pnlImport.Controls.Add(this.cbProtocol, 0, 1);
|
|
this.pnlImport.Controls.Add(this.btnImport, 1, 1);
|
|
this.pnlImport.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlImport.Location = new System.Drawing.Point(3, 404);
|
|
this.pnlImport.Name = "pnlImport";
|
|
this.pnlImport.RowCount = 2;
|
|
this.pnlImport.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
|
|
this.pnlImport.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
|
|
this.pnlImport.Size = new System.Drawing.Size(878, 54);
|
|
this.pnlImport.TabIndex = 104;
|
|
//
|
|
// pnlMain
|
|
//
|
|
this.pnlMain.ColumnCount = 1;
|
|
this.pnlMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.pnlMain.Controls.Add(this.pnlIp, 0, 0);
|
|
this.pnlMain.Controls.Add(this.prgBar, 0, 1);
|
|
this.pnlMain.Controls.Add(this.pnlImport, 0, 3);
|
|
this.pnlMain.Controls.Add(this.olvHosts, 0, 2);
|
|
this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlMain.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlMain.Name = "pnlMain";
|
|
this.pnlMain.RowCount = 4;
|
|
this.pnlMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 135F));
|
|
this.pnlMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
|
|
this.pnlMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.pnlMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
|
|
this.pnlMain.Size = new System.Drawing.Size(884, 461);
|
|
this.pnlMain.TabIndex = 105;
|
|
//
|
|
// PortScanWindow
|
|
//
|
|
this.AcceptButton = this.btnImport;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.AutoScroll = true;
|
|
this.ClientSize = new System.Drawing.Size(884, 461);
|
|
this.Controls.Add(this.pnlMain);
|
|
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "PortScanWindow";
|
|
this.TabText = "Port Scan";
|
|
this.Text = "Port Scan";
|
|
this.Load += new System.EventHandler(this.PortScan_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.olvHosts)).EndInit();
|
|
this.resultsMenuStrip.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.numericSelectorTimeout)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.portEnd)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.portStart)).EndInit();
|
|
this.pnlIp.ResumeLayout(false);
|
|
this.pnlIp.PerformLayout();
|
|
this.pnlImport.ResumeLayout(false);
|
|
this.pnlImport.PerformLayout();
|
|
this.pnlMain.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ContextMenuStrip resultsMenuStrip;
|
|
private System.ComponentModel.IContainer components;
|
|
private System.Windows.Forms.ToolStripMenuItem importHTTPToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importHTTPSToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importRDPToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importRloginToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importSSH2ToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importTelnetToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importVNCToolStripMenuItem;
|
|
private System.Windows.Forms.Label lblTimeout;
|
|
private Controls.Base.NGNumericUpDown numericSelectorTimeout;
|
|
private System.Windows.Forms.TableLayoutPanel pnlIp;
|
|
private System.Windows.Forms.TableLayoutPanel pnlImport;
|
|
internal Controls.Base.NGButton btnScan;
|
|
private System.Windows.Forms.TableLayoutPanel pnlMain;
|
|
private Controls.Base.NGCheckBox ngCheckFirstPort;
|
|
private Controls.Base.NGCheckBox ngCheckLastPort;
|
|
private System.Windows.Forms.ToolTip portScanToolTip;
|
|
}
|
|
}
|