/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup4 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup5 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup6 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup7 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup8 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "已启用" }, 0); HostEditor.Host host1 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("ExampleServer", 0); HostEditor.Host host2 = new HostEditor.Host(); this.toolStripHostEditor = new System.Windows.Forms.ToolStrip(); this.btnAdd = new System.Windows.Forms.ToolStripButton(); this.btnEdit = new System.Windows.Forms.ToolStripButton(); this.btnDelete = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.btnSave = new System.Windows.Forms.ToolStripButton(); this.btnEditSource = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.btnImport = new System.Windows.Forms.ToolStripButton(); this.btnExport = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.btnAbout = new System.Windows.Forms.ToolStripButton(); this.statusStripHostEditor = new System.Windows.Forms.StatusStrip(); this.txtStatus = new System.Windows.Forms.ToolStripStatusLabel(); this.cboIp = new System.Windows.Forms.ToolStripDropDownButton(); this.txtSpring = new System.Windows.Forms.ToolStripStatusLabel(); this.dropDownView = new System.Windows.Forms.ToolStripDropDownButton(); this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItemLargeIcon = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemSmallIcon = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemTile = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemDetail = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemList = new System.Windows.Forms.ToolStripMenuItem(); this.exportDialog = new System.Windows.Forms.SaveFileDialog(); this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.menuView = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem10 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem11 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem12 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem13 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem14 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripSeparator(); this.menuEnabled = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); this.menuAdd = new System.Windows.Forms.ToolStripMenuItem(); this.menuEdit = new System.Windows.Forms.ToolStripMenuItem(); this.menuDelete = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.menuSetGroup = new System.Windows.Forms.ToolStripMenuItem(); this.txtGroupName = new System.Windows.Forms.ToolStripComboBox(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.menuPing = new System.Windows.Forms.ToolStripMenuItem(); this.menuPingt = new System.Windows.Forms.ToolStripMenuItem(); this.menuPing6 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator(); this.menuPingAddress = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator(); this.menuBrowser = new System.Windows.Forms.ToolStripMenuItem(); this.menuOpenHttp = new System.Windows.Forms.ToolStripMenuItem(); this.menuOpenSMB = new System.Windows.Forms.ToolStripMenuItem(); this.menuOpenFtp = new System.Windows.Forms.ToolStripMenuItem(); this.listViewHost = new HostEditor.HostListView(); this.toolStripHostEditor.SuspendLayout(); this.statusStripHostEditor.SuspendLayout(); this.contextMenuStrip.SuspendLayout(); this.SuspendLayout(); // // toolStripHostEditor // this.toolStripHostEditor.AllowItemReorder = true; this.toolStripHostEditor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.toolStripHostEditor.AutoSize = false; this.toolStripHostEditor.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.toolStripHostEditor.Dock = System.Windows.Forms.DockStyle.None; this.toolStripHostEditor.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStripHostEditor.ImageScalingSize = new System.Drawing.Size(32, 32); this.toolStripHostEditor.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnAdd, this.btnEdit, this.btnDelete, this.toolStripSeparator3, this.btnSave, this.btnEditSource, this.toolStripSeparator1, this.btnImport, this.btnExport, this.toolStripSeparator2, this.btnAbout }); this.toolStripHostEditor.Location = new System.Drawing.Point(8, 2); this.toolStripHostEditor.Name = "toolStripHostEditor"; this.toolStripHostEditor.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; this.toolStripHostEditor.Size = new System.Drawing.Size(772, 46); this.toolStripHostEditor.TabIndex = 0; this.toolStripHostEditor.Text = "toolStrip1"; // // btnAdd // this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image"))); this.btnAdd.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(68, 43); this.btnAdd.Text = "新建"; this.btnAdd.ToolTipText = "新建Host记录 (Ctrl + N)\r\n添加一条具有指定服务器名称、地址、分组和注释的Host记录"; this.btnAdd.Click += new System.EventHandler(this.New); // // btnEdit // this.btnEdit.Image = ((System.Drawing.Image)(resources.GetObject("btnEdit.Image"))); this.btnEdit.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(68, 43); this.btnEdit.Text = "编辑"; this.btnEdit.ToolTipText = "编辑Host记录\r\n编辑当前选中的Host记录"; this.btnEdit.Click += new System.EventHandler(this.Edit); // // btnDelete // this.btnDelete.Image = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image"))); this.btnDelete.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(68, 43); this.btnDelete.Text = "删除"; this.btnDelete.ToolTipText = "删除Host记录 (Delete)\r\n删除选中一条或多条的Host记录"; this.btnDelete.Click += new System.EventHandler(this.Remove); // // toolStripSeparator3 // this.toolStripSeparator3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 46); // // btnSave // this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image"))); this.btnSave.ImageTransparentColor = System.Drawing.Color.Black; this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(72, 43); this.btnSave.Text = "保存 "; this.btnSave.ToolTipText = "保存 (Ctrl + S)\r\n将当前修改保存到系统默认的Host文件中"; this.btnSave.Click += new System.EventHandler(this.Save); // // btnEditSource // this.btnEditSource.Image = ((System.Drawing.Image)(resources.GetObject("btnEditSource.Image"))); this.btnEditSource.ImageTransparentColor = System.Drawing.Color.Black; this.btnEditSource.Name = "btnEditSource"; this.btnEditSource.Size = new System.Drawing.Size(80, 43); this.btnEditSource.Text = "源文件"; this.btnEditSource.ToolTipText = "编辑源文件\r\n直接编辑系统的Host文件"; this.btnEditSource.Click += new System.EventHandler(this.OnEditSourceClick); // // toolStripSeparator1 // this.toolStripSeparator1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 46); // // btnImport // this.btnImport.Image = ((System.Drawing.Image)(resources.GetObject("btnImport.Image"))); this.btnImport.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnImport.Name = "btnImport"; this.btnImport.Size = new System.Drawing.Size(68, 43); this.btnImport.Text = "导入"; this.btnImport.ToolTipText = "导入Host记录\r\n打开导入向导,你可以合并Host记录"; this.btnImport.Click += new System.EventHandler(this.Import); // // btnExport // this.btnExport.Image = ((System.Drawing.Image)(resources.GetObject("btnExport.Image"))); this.btnExport.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(68, 43); this.btnExport.Text = "导出"; this.btnExport.ToolTipText = "导出Host记录\r\n将选中的Host记录导出到.host文件中,\r\n如果并未选择记录,则导出整个文件"; this.btnExport.Click += new System.EventHandler(this.Export); // // toolStripSeparator2 // this.toolStripSeparator2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 46); // // btnAbout // this.btnAbout.Image = ((System.Drawing.Image)(resources.GetObject("btnAbout.Image"))); this.btnAbout.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnAbout.Name = "btnAbout"; this.btnAbout.Size = new System.Drawing.Size(68, 43); this.btnAbout.Text = "关于"; this.btnAbout.ToolTipText = "关于 (F1)\r\n这是Techird写的\r\n至于你信不信,反正我是信了"; this.btnAbout.Click += new System.EventHandler(this.OnShowAboutClick); // // statusStripHostEditor // this.statusStripHostEditor.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.txtStatus, this.cboIp, this.txtSpring, this.dropDownView }); this.statusStripHostEditor.Location = new System.Drawing.Point(0, 524); this.statusStripHostEditor.Name = "statusStripHostEditor"; this.statusStripHostEditor.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; this.statusStripHostEditor.Size = new System.Drawing.Size(784, 26); this.statusStripHostEditor.TabIndex = 2; this.statusStripHostEditor.Text = "statusStrip1"; // // txtStatus // this.txtStatus.AutoSize = false; this.txtStatus.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right; this.txtStatus.Image = ((System.Drawing.Image)(resources.GetObject("txtStatus.Image"))); this.txtStatus.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.txtStatus.Margin = new System.Windows.Forms.Padding(4, 3, 0, 2); this.txtStatus.MergeAction = System.Windows.Forms.MergeAction.Replace; this.txtStatus.Name = "txtStatus"; this.txtStatus.Size = new System.Drawing.Size(300, 21); this.txtStatus.Text = "状态"; this.txtStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.txtStatus.TextChanged += new System.EventHandler(this.OnStatusChange); // // cboIp // this.cboIp.AutoSize = false; this.cboIp.Image = ((System.Drawing.Image)(resources.GetObject("cboIp.Image"))); this.cboIp.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.cboIp.ImageTransparentColor = System.Drawing.Color.Magenta; this.cboIp.Name = "cboIp"; this.cboIp.Size = new System.Drawing.Size(72, 24); this.cboIp.Text = "本机IP"; this.cboIp.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtSpring // this.txtSpring.AutoSize = false; this.txtSpring.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right; this.txtSpring.Name = "txtSpring"; this.txtSpring.Size = new System.Drawing.Size(332, 21); this.txtSpring.Spring = true; this.txtSpring.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // dropDownView // this.dropDownView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem8, this.toolStripMenuItem6, this.toolStripMenuItemLargeIcon, this.toolStripMenuItemSmallIcon, this.toolStripMenuItemTile, this.toolStripMenuItemDetail, this.toolStripMenuItemList }); this.dropDownView.Image = ((System.Drawing.Image)(resources.GetObject("dropDownView.Image"))); this.dropDownView.ImageTransparentColor = System.Drawing.Color.Magenta; this.dropDownView.Name = "dropDownView"; this.dropDownView.Size = new System.Drawing.Size(61, 24); this.dropDownView.Text = "查看"; this.dropDownView.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.OnViewChange); // // toolStripMenuItem8 // this.toolStripMenuItem8.Checked = true; this.toolStripMenuItem8.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripMenuItem8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem8.Image"))); this.toolStripMenuItem8.Name = "toolStripMenuItem8"; this.toolStripMenuItem8.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItem8.Tag = "ShowGroup"; this.toolStripMenuItem8.Text = "分组 (&G)"; // // toolStripMenuItem6 // this.toolStripMenuItem6.Name = "toolStripMenuItem6"; this.toolStripMenuItem6.Size = new System.Drawing.Size(142, 6); // // toolStripMenuItemLargeIcon // this.toolStripMenuItemLargeIcon.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemLargeIcon.Image"))); this.toolStripMenuItemLargeIcon.Name = "toolStripMenuItemLargeIcon"; this.toolStripMenuItemLargeIcon.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItemLargeIcon.Tag = "LargeIcon"; this.toolStripMenuItemLargeIcon.Text = "大图标 (&R)"; // // toolStripMenuItemSmallIcon // this.toolStripMenuItemSmallIcon.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemSmallIcon.Image"))); this.toolStripMenuItemSmallIcon.Name = "toolStripMenuItemSmallIcon"; this.toolStripMenuItemSmallIcon.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItemSmallIcon.Tag = "SmallIcon"; this.toolStripMenuItemSmallIcon.Text = "小图标 (&N)"; // // toolStripMenuItemTile // this.toolStripMenuItemTile.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemTile.Image"))); this.toolStripMenuItemTile.Name = "toolStripMenuItemTile"; this.toolStripMenuItemTile.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItemTile.Tag = "Tile"; this.toolStripMenuItemTile.Text = "平铺 (&S)"; // // toolStripMenuItemDetail // this.toolStripMenuItemDetail.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemDetail.Image"))); this.toolStripMenuItemDetail.Name = "toolStripMenuItemDetail"; this.toolStripMenuItemDetail.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItemDetail.Tag = "List"; this.toolStripMenuItemDetail.Text = "列表 (&L)"; // // toolStripMenuItemList // this.toolStripMenuItemList.Checked = true; this.toolStripMenuItemList.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripMenuItemList.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemList.Image"))); this.toolStripMenuItemList.Name = "toolStripMenuItemList"; this.toolStripMenuItemList.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItemList.Tag = "Details"; this.toolStripMenuItemList.Text = "详细信息 (&D)"; // // exportDialog // this.exportDialog.DefaultExt = "host"; this.exportDialog.Filter = "Host文件|*.host"; this.exportDialog.Title = "选择导出位置"; // // contextMenuStrip // this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuView, this.toolStripMenuItem7, this.menuEnabled, this.toolStripMenuItem3, this.menuAdd, this.menuEdit, this.menuDelete, this.toolStripMenuItem1, this.menuSetGroup, this.txtGroupName, this.toolStripMenuItem2, this.menuPing, this.toolStripMenuItem4, this.menuBrowser }); this.contextMenuStrip.Name = "contextMenuStrip"; this.contextMenuStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; this.contextMenuStrip.Size = new System.Drawing.Size(213, 239); this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.OnContextMenuOpening); // // menuView // this.menuView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem9, this.toolStripSeparator4, this.toolStripMenuItem10, this.toolStripMenuItem11, this.toolStripMenuItem12, this.toolStripMenuItem13, this.toolStripMenuItem14 }); this.menuView.Image = ((System.Drawing.Image)(resources.GetObject("menuView.Image"))); this.menuView.ImageTransparentColor = System.Drawing.Color.Magenta; this.menuView.Name = "menuView"; this.menuView.Size = new System.Drawing.Size(212, 22); this.menuView.Text = "查看 (&V)"; this.menuView.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.OnViewChange); // // toolStripMenuItem9 // this.toolStripMenuItem9.Checked = true; this.toolStripMenuItem9.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripMenuItem9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem9.Image"))); this.toolStripMenuItem9.Name = "toolStripMenuItem9"; this.toolStripMenuItem9.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItem9.Tag = "ShowGroup"; this.toolStripMenuItem9.Text = "分组 (&G)"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(142, 6); // // toolStripMenuItem10 // this.toolStripMenuItem10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem10.Image"))); this.toolStripMenuItem10.Name = "toolStripMenuItem10"; this.toolStripMenuItem10.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItem10.Tag = "LargeIcon"; this.toolStripMenuItem10.Text = "大图标 (&R)"; // // toolStripMenuItem11 // this.toolStripMenuItem11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem11.Image"))); this.toolStripMenuItem11.Name = "toolStripMenuItem11"; this.toolStripMenuItem11.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItem11.Tag = "SmallIcon"; this.toolStripMenuItem11.Text = "小图标 (&N)"; // // toolStripMenuItem12 // this.toolStripMenuItem12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem12.Image"))); this.toolStripMenuItem12.Name = "toolStripMenuItem12"; this.toolStripMenuItem12.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItem12.Tag = "Tile"; this.toolStripMenuItem12.Text = "平铺 (&S)"; // // toolStripMenuItem13 // this.toolStripMenuItem13.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem13.Image"))); this.toolStripMenuItem13.Name = "toolStripMenuItem13"; this.toolStripMenuItem13.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItem13.Tag = "List"; this.toolStripMenuItem13.Text = "列表 (&L)"; // // toolStripMenuItem14 // this.toolStripMenuItem14.Checked = true; this.toolStripMenuItem14.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripMenuItem14.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem14.Image"))); this.toolStripMenuItem14.Name = "toolStripMenuItem14"; this.toolStripMenuItem14.Size = new System.Drawing.Size(145, 22); this.toolStripMenuItem14.Tag = "Details"; this.toolStripMenuItem14.Text = "详细信息 (&D)"; // // toolStripMenuItem7 // this.toolStripMenuItem7.Name = "toolStripMenuItem7"; this.toolStripMenuItem7.Size = new System.Drawing.Size(209, 6); // // menuEnabled // this.menuEnabled.Image = ((System.Drawing.Image)(resources.GetObject("menuEnabled.Image"))); this.menuEnabled.Name = "menuEnabled"; this.menuEnabled.Size = new System.Drawing.Size(212, 22); this.menuEnabled.Text = "启用 (A)"; this.menuEnabled.Click += new System.EventHandler(this.SetEnabled); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new System.Drawing.Size(209, 6); // // menuAdd // this.menuAdd.Image = ((System.Drawing.Image)(resources.GetObject("menuAdd.Image"))); this.menuAdd.Name = "menuAdd"; this.menuAdd.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); this.menuAdd.Size = new System.Drawing.Size(212, 22); this.menuAdd.Text = "添加 (&N)"; this.menuAdd.Click += new System.EventHandler(this.New); // // menuEdit // this.menuEdit.Image = ((System.Drawing.Image)(resources.GetObject("menuEdit.Image"))); this.menuEdit.Name = "menuEdit"; this.menuEdit.Size = new System.Drawing.Size(212, 22); this.menuEdit.Text = "编辑 (&E)"; this.menuEdit.Click += new System.EventHandler(this.Edit); // // menuDelete // this.menuDelete.Image = ((System.Drawing.Image)(resources.GetObject("menuDelete.Image"))); this.menuDelete.Name = "menuDelete"; this.menuDelete.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.menuDelete.Size = new System.Drawing.Size(212, 22); this.menuDelete.Text = "删除 (&R)"; this.menuDelete.Click += new System.EventHandler(this.Remove); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(209, 6); // // menuSetGroup // this.menuSetGroup.Image = ((System.Drawing.Image)(resources.GetObject("menuSetGroup.Image"))); this.menuSetGroup.Name = "menuSetGroup"; this.menuSetGroup.Size = new System.Drawing.Size(212, 22); this.menuSetGroup.Text = "设置分组"; this.menuSetGroup.ToolTipText = "在下拉框输入或选择组名\r\n按Enter确认修改\r\n按Esc取消"; // // txtGroupName // this.txtGroupName.FlatStyle = System.Windows.Forms.FlatStyle.System; this.txtGroupName.Name = "txtGroupName"; this.txtGroupName.Size = new System.Drawing.Size(152, 25); this.txtGroupName.Text = "输入新组"; this.txtGroupName.ToolTipText = "按Enter确认修改\r\n按Esc取消"; this.txtGroupName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SetGroup); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new System.Drawing.Size(209, 6); // // menuPing // this.menuPing.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuPingt, this.menuPing6, this.toolStripMenuItem5, this.menuPingAddress }); this.menuPing.Image = ((System.Drawing.Image)(resources.GetObject("menuPing.Image"))); this.menuPing.Name = "menuPing"; this.menuPing.Size = new System.Drawing.Size(212, 22); this.menuPing.Text = "&Ping"; this.menuPing.Click += new System.EventHandler(this.OnMenuPingClick); // // menuPingt // this.menuPingt.Name = "menuPingt"; this.menuPingt.Size = new System.Drawing.Size(164, 22); this.menuPingt.Text = "循环ping -t"; this.menuPingt.Click += new System.EventHandler(this.OnMenuPingClick); // // menuPing6 // this.menuPing6.Name = "menuPing6"; this.menuPing6.Size = new System.Drawing.Size(164, 22); this.menuPing6.Text = "强制使用IPv6 -6"; this.menuPing6.Click += new System.EventHandler(this.OnMenuPingClick); // // toolStripMenuItem5 // this.toolStripMenuItem5.Name = "toolStripMenuItem5"; this.toolStripMenuItem5.Size = new System.Drawing.Size(161, 6); // // menuPingAddress // this.menuPingAddress.Name = "menuPingAddress"; this.menuPingAddress.Size = new System.Drawing.Size(164, 22); this.menuPingAddress.Text = "直接ping地址"; this.menuPingAddress.Click += new System.EventHandler(this.OnMenuPingClick); // // toolStripMenuItem4 // this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Size = new System.Drawing.Size(209, 6); // // menuBrowser // this.menuBrowser.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuOpenHttp, this.menuOpenSMB, this.menuOpenFtp }); this.menuBrowser.Name = "menuBrowser"; this.menuBrowser.Size = new System.Drawing.Size(212, 22); this.menuBrowser.Text = "浏览 (&B)"; this.menuBrowser.DropDownOpening += new System.EventHandler(this.OnMenuBrowserOpening); // // menuOpenHttp // this.menuOpenHttp.Image = ((System.Drawing.Image)(resources.GetObject("menuOpenHttp.Image"))); this.menuOpenHttp.Name = "menuOpenHttp"; this.menuOpenHttp.Size = new System.Drawing.Size(231, 22); this.menuOpenHttp.Text = "打开 http://www.baidu.com"; this.menuOpenHttp.Click += new System.EventHandler(this.OpenHttp); // // menuOpenSMB // this.menuOpenSMB.Image = ((System.Drawing.Image)(resources.GetObject("menuOpenSMB.Image"))); this.menuOpenSMB.Name = "menuOpenSMB"; this.menuOpenSMB.Size = new System.Drawing.Size(231, 22); this.menuOpenSMB.Text = "打开 \\\\techird"; // // menuOpenFtp // this.menuOpenFtp.Image = ((System.Drawing.Image)(resources.GetObject("menuOpenFtp.Image"))); this.menuOpenFtp.Name = "menuOpenFtp"; this.menuOpenFtp.Size = new System.Drawing.Size(231, 22); this.menuOpenFtp.Text = "打开 ftp://www.baidu.com"; // // listViewHost // this.listViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listViewHost.ContextMenuStrip = this.contextMenuStrip; this.listViewHost.FullRowSelect = true; listViewGroup1.Header = "默认"; listViewGroup1.Name = "默认"; listViewGroup2.Header = "默认"; listViewGroup2.Name = "默认"; listViewGroup3.Header = "默认"; listViewGroup3.Name = "默认"; listViewGroup4.Header = "默认"; listViewGroup4.Name = "默认"; listViewGroup5.Header = "默认"; listViewGroup5.Name = "默认"; listViewGroup6.Header = "默认"; listViewGroup6.Name = "默认"; listViewGroup7.Header = "默认"; listViewGroup7.Name = "默认"; listViewGroup8.Header = "默认"; listViewGroup8.Name = "默认"; this.listViewHost.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2, listViewGroup3, listViewGroup4, listViewGroup5, listViewGroup6, listViewGroup7, listViewGroup8 }); this.listViewHost.GroupState = HostEditor.ListViewGroupState.Normal; this.listViewHost.HideSelection = false; listViewItem1.Group = listViewGroup1; host1.Comment = null; host1.Container = null; host1.Enabled = true; host1.GroupName = "默认"; host1.ServerAddress = "127.0.0.1"; host1.ServerName = "ExampleServer"; listViewItem1.Tag = host1; listViewItem2.Group = listViewGroup8; host2.Comment = null; host2.Container = null; host2.Enabled = true; host2.GroupName = "默认"; host2.ServerAddress = "127.0.0.1"; host2.ServerName = "ExampleServer"; listViewItem2.Tag = host2; this.listViewHost.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2 }); this.listViewHost.Location = new System.Drawing.Point(3, 51); this.listViewHost.Name = "listViewHost"; this.listViewHost.Size = new System.Drawing.Size(777, 473); this.listViewHost.TabIndex = 1; this.listViewHost.UseCompatibleStateImageBehavior = false; this.listViewHost.View = System.Windows.Forms.View.Details; this.listViewHost.DoubleClick += new System.EventHandler(this.Edit); this.listViewHost.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown); // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 550); this.Controls.Add(this.listViewHost); this.Controls.Add(this.statusStripHostEditor); this.Controls.Add(this.toolStripHostEditor); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FrmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Host编辑工具"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing); this.Load += new System.EventHandler(this.OnFormLoad); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown); this.toolStripHostEditor.ResumeLayout(false); this.toolStripHostEditor.PerformLayout(); this.statusStripHostEditor.ResumeLayout(false); this.statusStripHostEditor.PerformLayout(); this.contextMenuStrip.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmImport)); System.Windows.Forms.ListViewGroup listViewGroup10 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup11 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup12 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup13 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup14 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup15 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup16 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup17 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup18 = new System.Windows.Forms.ListViewGroup("默认", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem10 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host10 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem11 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host11 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem12 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host12 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem13 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host13 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem14 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host14 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem15 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host15 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem16 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host16 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem17 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host17 = new HostEditor.Host(); System.Windows.Forms.ListViewItem listViewItem18 = new System.Windows.Forms.ListViewItem(new string[] { "ExampleServer", "127.0.0.1", "", "" }, 0); HostEditor.Host host18 = new HostEditor.Host(); this.label1 = new System.Windows.Forms.Label(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label2 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.btnNext = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.chkCombine = new System.Windows.Forms.RadioButton(); this.chkReplace = new System.Windows.Forms.RadioButton(); this.label3 = new System.Windows.Forms.Label(); this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.tabWinzard = new System.Windows.Forms.TabControl(); this.tabStepChooseFile = new System.Windows.Forms.TabPage(); this.txtPreview = new System.Windows.Forms.TextBox(); this.btnChooseFile = new System.Windows.Forms.Button(); this.txtHostFile = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.tabStepChooseHost = new System.Windows.Forms.TabPage(); this.tabStepFinish = new System.Windows.Forms.TabPage(); this.txtReport = new System.Windows.Forms.TextBox(); this.txtImportLable = new System.Windows.Forms.Label(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.btnPrev = new System.Windows.Forms.Button(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.btnFinish = new System.Windows.Forms.Button(); this.hostListViewImport = new HostEditor.HostListView(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel1.SuspendLayout(); this.tabWinzard.SuspendLayout(); this.tabStepChooseFile.SuspendLayout(); this.tabStepChooseHost.SuspendLayout(); this.tabStepFinish.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(20, 20); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(149, 12); this.label1.TabIndex = 1; this.label1.Text = "请选择需要导入的Host记录"; // // pictureBox1 // this.pictureBox1.Image = global::HostEditor.Properties.Resources.btnImport_Image; this.pictureBox1.Location = new System.Drawing.Point(17, 16); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(40, 36); this.pictureBox1.TabIndex = 2; this.pictureBox1.TabStop = false; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Location = new System.Drawing.Point(62, 23); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(136, 27); this.label2.TabIndex = 3; this.label2.Text = "导入Host记录"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.Add(this.pictureBox1); this.panel1.Controls.Add(this.label2); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(712, 68); this.panel1.TabIndex = 4; // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.ControlDark; this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 68); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(712, 1); this.panel2.TabIndex = 5; // // btnNext // this.btnNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnNext.Enabled = false; this.btnNext.Location = new System.Drawing.Point(423, 624); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(84, 27); this.btnNext.TabIndex = 6; this.btnNext.Text = "下一步(&N)"; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.NextStep); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(614, 624); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(84, 27); this.btnCancel.TabIndex = 7; this.btnCancel.Text = "取消(&C)"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.OnBtnCancelClick); // // btnSelectAll // this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSelectAll.Location = new System.Drawing.Point(573, 467); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(87, 23); this.btnSelectAll.TabIndex = 8; this.btnSelectAll.Text = "全选/空选(&A)"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.SelectAll); // // chkCombine // this.chkCombine.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.chkCombine.AutoSize = true; this.chkCombine.Checked = true; this.chkCombine.Location = new System.Drawing.Point(80, 470); this.chkCombine.Name = "chkCombine"; this.chkCombine.Size = new System.Drawing.Size(65, 16); this.chkCombine.TabIndex = 9; this.chkCombine.TabStop = true; this.chkCombine.Text = "合并(&T)"; this.toolTip.SetToolTip(this.chkCombine, "\r\n将选定的Host记录合并到系统当前的记录"); this.chkCombine.UseVisualStyleBackColor = true; // // chkReplace // this.chkReplace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.chkReplace.AutoSize = true; this.chkReplace.Location = new System.Drawing.Point(151, 470); this.chkReplace.Name = "chkReplace"; this.chkReplace.Size = new System.Drawing.Size(65, 16); this.chkReplace.TabIndex = 10; this.chkReplace.Text = "替换(&R)"; this.toolTip.SetToolTip(this.chkReplace, "使用选定的Host记录替换系统当前的记录"); this.chkReplace.UseVisualStyleBackColor = true; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(18, 472); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(59, 12); this.label3.TabIndex = 11; this.label3.Text = "导入方式:"; // // toolTip // this.toolTip.IsBalloon = true; this.toolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info; this.toolTip.ToolTipTitle = "说明"; // // tabWinzard // this.tabWinzard.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabWinzard.Controls.Add(this.tabStepChooseFile); this.tabWinzard.Controls.Add(this.tabStepChooseHost); this.tabWinzard.Controls.Add(this.tabStepFinish); this.tabWinzard.ImageList = this.imageList1; this.tabWinzard.Location = new System.Drawing.Point(10, 75); this.tabWinzard.Margin = new System.Windows.Forms.Padding(0); this.tabWinzard.Name = "tabWinzard"; this.tabWinzard.SelectedIndex = 0; this.tabWinzard.Size = new System.Drawing.Size(688, 534); this.tabWinzard.TabIndex = 12; this.tabWinzard.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.OnTabStepChange); // // tabStepChooseFile // this.tabStepChooseFile.Controls.Add(this.txtPreview); this.tabStepChooseFile.Controls.Add(this.btnChooseFile); this.tabStepChooseFile.Controls.Add(this.txtHostFile); this.tabStepChooseFile.Controls.Add(this.label4); this.tabStepChooseFile.ImageKey = "(无)"; this.tabStepChooseFile.Location = new System.Drawing.Point(4, 23); this.tabStepChooseFile.Margin = new System.Windows.Forms.Padding(0); this.tabStepChooseFile.Name = "tabStepChooseFile"; this.tabStepChooseFile.Size = new System.Drawing.Size(680, 507); this.tabStepChooseFile.TabIndex = 0; this.tabStepChooseFile.Text = "选择文件"; this.tabStepChooseFile.UseVisualStyleBackColor = true; // // txtPreview // this.txtPreview.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtPreview.Location = new System.Drawing.Point(20, 90); this.txtPreview.Multiline = true; this.txtPreview.Name = "txtPreview"; this.txtPreview.ReadOnly = true; this.txtPreview.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtPreview.Size = new System.Drawing.Size(640, 400); this.txtPreview.TabIndex = 3; this.txtPreview.Text = "<预览>"; // // btnChooseFile // this.btnChooseFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnChooseFile.Image = ((System.Drawing.Image)(resources.GetObject("btnChooseFile.Image"))); this.btnChooseFile.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnChooseFile.Location = new System.Drawing.Point(561, 46); this.btnChooseFile.Name = "btnChooseFile"; this.btnChooseFile.Size = new System.Drawing.Size(99, 28); this.btnChooseFile.TabIndex = 2; this.btnChooseFile.Text = " 浏览(&B)..."; this.btnChooseFile.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.btnChooseFile.UseVisualStyleBackColor = true; this.btnChooseFile.Click += new System.EventHandler(this.OnBtnChooseFileClick); // // txtHostFile // this.txtHostFile.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtHostFile.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.txtHostFile.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystem; this.txtHostFile.Location = new System.Drawing.Point(20, 50); this.txtHostFile.Name = "txtHostFile"; this.txtHostFile.Size = new System.Drawing.Size(535, 21); this.txtHostFile.TabIndex = 1; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(20, 20); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(89, 12); this.label4.TabIndex = 0; this.label4.Text = "Host文件的位置"; // // tabStepChooseHost // this.tabStepChooseHost.Controls.Add(this.hostListViewImport); this.tabStepChooseHost.Controls.Add(this.label3); this.tabStepChooseHost.Controls.Add(this.chkReplace); this.tabStepChooseHost.Controls.Add(this.label1); this.tabStepChooseHost.Controls.Add(this.chkCombine); this.tabStepChooseHost.Controls.Add(this.btnSelectAll); this.tabStepChooseHost.ImageKey = "(无)"; this.tabStepChooseHost.Location = new System.Drawing.Point(4, 23); this.tabStepChooseHost.Name = "tabStepChooseHost"; this.tabStepChooseHost.Padding = new System.Windows.Forms.Padding(3); this.tabStepChooseHost.Size = new System.Drawing.Size(680, 507); this.tabStepChooseHost.TabIndex = 1; this.tabStepChooseHost.Text = "选择记录"; this.tabStepChooseHost.UseVisualStyleBackColor = true; // // tabStepFinish // this.tabStepFinish.Controls.Add(this.txtReport); this.tabStepFinish.Controls.Add(this.txtImportLable); this.tabStepFinish.ImageKey = "(无)"; this.tabStepFinish.Location = new System.Drawing.Point(4, 23); this.tabStepFinish.Name = "tabStepFinish"; this.tabStepFinish.Padding = new System.Windows.Forms.Padding(3); this.tabStepFinish.Size = new System.Drawing.Size(680, 507); this.tabStepFinish.TabIndex = 2; this.tabStepFinish.Text = "完成"; this.tabStepFinish.UseVisualStyleBackColor = true; // // txtReport // this.txtReport.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtReport.Location = new System.Drawing.Point(20, 50); this.txtReport.Multiline = true; this.txtReport.Name = "txtReport"; this.txtReport.ReadOnly = true; this.txtReport.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtReport.Size = new System.Drawing.Size(640, 440); this.txtReport.TabIndex = 4; // // txtImportLable // this.txtImportLable.AutoSize = true; this.txtImportLable.Location = new System.Drawing.Point(20, 20); this.txtImportLable.Name = "txtImportLable"; this.txtImportLable.Size = new System.Drawing.Size(167, 12); this.txtImportLable.TabIndex = 0; this.txtImportLable.Text = "点击完成开始导入 {0} 条记录"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "current"); this.imageList1.Images.SetKeyName(1, "finished"); // // btnPrev // this.btnPrev.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnPrev.Location = new System.Drawing.Point(333, 624); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(84, 27); this.btnPrev.TabIndex = 13; this.btnPrev.Text = "上一步(&P)"; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.PrevStep); // // openFileDialog // this.openFileDialog.DefaultExt = "host"; this.openFileDialog.Filter = "Host文件|*.host;*.txt|所有文件|*.*"; // // btnFinish // this.btnFinish.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnFinish.Enabled = false; this.btnFinish.Location = new System.Drawing.Point(524, 624); this.btnFinish.Name = "btnFinish"; this.btnFinish.Size = new System.Drawing.Size(84, 27); this.btnFinish.TabIndex = 14; this.btnFinish.Text = "完成(&F)"; this.btnFinish.UseVisualStyleBackColor = true; this.btnFinish.Click += new System.EventHandler(this.Import); // // hostListViewImport // this.hostListViewImport.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hostListViewImport.CheckBoxes = true; listViewGroup10.Header = "默认"; listViewGroup10.Name = "默认"; listViewGroup11.Header = "默认"; listViewGroup11.Name = "默认"; listViewGroup12.Header = "默认"; listViewGroup12.Name = "默认"; listViewGroup13.Header = "默认"; listViewGroup13.Name = "默认"; listViewGroup14.Header = "默认"; listViewGroup14.Name = "默认"; listViewGroup15.Header = "默认"; listViewGroup15.Name = "默认"; listViewGroup16.Header = "默认"; listViewGroup16.Name = "默认"; listViewGroup17.Header = "默认"; listViewGroup17.Name = "默认"; listViewGroup18.Header = "默认"; listViewGroup18.Name = "默认"; this.hostListViewImport.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup10, listViewGroup11, listViewGroup12, listViewGroup13, listViewGroup14, listViewGroup15, listViewGroup16, listViewGroup17, listViewGroup18 }); this.hostListViewImport.GroupState = HostEditor.ListViewGroupState.Collapsible; listViewItem10.Group = listViewGroup10; listViewItem10.StateImageIndex = 0; host10.Comment = null; host10.Container = null; host10.Enabled = true; host10.GroupName = "默认"; host10.ServerAddress = "127.0.0.1"; host10.ServerName = "ExampleServer"; listViewItem10.Tag = host10; listViewItem11.Group = listViewGroup11; listViewItem11.StateImageIndex = 0; host11.Comment = null; host11.Container = null; host11.Enabled = true; host11.GroupName = "默认"; host11.ServerAddress = "127.0.0.1"; host11.ServerName = "ExampleServer"; listViewItem11.Tag = host11; listViewItem12.Group = listViewGroup12; listViewItem12.StateImageIndex = 0; host12.Comment = null; host12.Container = null; host12.Enabled = true; host12.GroupName = "默认"; host12.ServerAddress = "127.0.0.1"; host12.ServerName = "ExampleServer"; listViewItem12.Tag = host12; listViewItem13.Group = listViewGroup13; listViewItem13.StateImageIndex = 0; host13.Comment = null; host13.Container = null; host13.Enabled = true; host13.GroupName = "默认"; host13.ServerAddress = "127.0.0.1"; host13.ServerName = "ExampleServer"; listViewItem13.Tag = host13; listViewItem14.Group = listViewGroup14; listViewItem14.StateImageIndex = 0; host14.Comment = null; host14.Container = null; host14.Enabled = true; host14.GroupName = "默认"; host14.ServerAddress = "127.0.0.1"; host14.ServerName = "ExampleServer"; listViewItem14.Tag = host14; listViewItem15.Group = listViewGroup15; listViewItem15.StateImageIndex = 0; host15.Comment = null; host15.Container = null; host15.Enabled = true; host15.GroupName = "默认"; host15.ServerAddress = "127.0.0.1"; host15.ServerName = "ExampleServer"; listViewItem15.Tag = host15; listViewItem16.Group = listViewGroup16; listViewItem16.StateImageIndex = 0; host16.Comment = null; host16.Container = null; host16.Enabled = true; host16.GroupName = "默认"; host16.ServerAddress = "127.0.0.1"; host16.ServerName = "ExampleServer"; listViewItem16.Tag = host16; listViewItem17.Group = listViewGroup17; listViewItem17.StateImageIndex = 0; host17.Comment = null; host17.Container = null; host17.Enabled = true; host17.GroupName = "默认"; host17.ServerAddress = "127.0.0.1"; host17.ServerName = "ExampleServer"; listViewItem17.Tag = host17; listViewItem18.Group = listViewGroup18; listViewItem18.StateImageIndex = 0; host18.Comment = null; host18.Container = null; host18.Enabled = true; host18.GroupName = "默认"; host18.ServerAddress = "127.0.0.1"; host18.ServerName = "ExampleServer"; listViewItem18.Tag = host18; this.hostListViewImport.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem10, listViewItem11, listViewItem12, listViewItem13, listViewItem14, listViewItem15, listViewItem16, listViewItem17, listViewItem18 }); this.hostListViewImport.Location = new System.Drawing.Point(20, 50); this.hostListViewImport.Name = "hostListViewImport"; this.hostListViewImport.Size = new System.Drawing.Size(640, 400); this.hostListViewImport.TabIndex = 0; this.hostListViewImport.UseCompatibleStateImageBehavior = false; this.hostListViewImport.View = System.Windows.Forms.View.Details; // // FrmImport // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(712, 662); this.Controls.Add(this.btnFinish); this.Controls.Add(this.btnPrev); this.Controls.Add(this.tabWinzard); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnNext); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(728, 700); this.Name = "FrmImport"; this.Text = "导入"; this.Load += new System.EventHandler(this.OnFormLoad); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.tabWinzard.ResumeLayout(false); this.tabStepChooseFile.ResumeLayout(false); this.tabStepChooseFile.PerformLayout(); this.tabStepChooseHost.ResumeLayout(false); this.tabStepChooseHost.PerformLayout(); this.tabStepFinish.ResumeLayout(false); this.tabStepFinish.PerformLayout(); this.ResumeLayout(false); }