private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BotsControl)); this.imgIcons = new System.Windows.Forms.ImageList(this.components); this.gbBotsDirectory = new System.Windows.Forms.GroupBox(); this.btnOpenDirectory = new System.Windows.Forms.Button(); this.btnImport = new System.Windows.Forms.Button(); this.txtBotDirectory = new System.Windows.Forms.TextBox(); this.lblFileLocation = new System.Windows.Forms.Label(); this.gbBuiltInBots = new System.Windows.Forms.GroupBox(); this.pnlBuiltInBots = new System.Windows.Forms.Panel(); this.tvBots = new WaypointTool.TreeViewDragDrop(); this.dirOpen = new System.Windows.Forms.FolderBrowserDialog(); this.gbSave = new System.Windows.Forms.GroupBox(); this.lblNote = new System.Windows.Forms.Label(); this.btnSave = new System.Windows.Forms.Button(); this.gbBotsForFile = new System.Windows.Forms.GroupBox(); this.pnlNewBots = new System.Windows.Forms.Panel(); this.tvNewBots = new WaypointTool.TreeViewDragDrop(); this.mnuBots = new System.Windows.Forms.ContextMenu(); this.mnuClearAll = new System.Windows.Forms.MenuItem(); this.saveFile = new System.Windows.Forms.SaveFileDialog(); this.gbBotsDirectory.SuspendLayout(); this.gbBuiltInBots.SuspendLayout(); this.pnlBuiltInBots.SuspendLayout(); this.gbSave.SuspendLayout(); this.gbBotsForFile.SuspendLayout(); this.pnlNewBots.SuspendLayout(); this.SuspendLayout(); // // imgIcons // this.imgIcons.ImageSize = new System.Drawing.Size(16, 16); this.imgIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgIcons.ImageStream"))); this.imgIcons.TransparentColor = System.Drawing.Color.Transparent; // // gbBotsDirectory // this.gbBotsDirectory.BackColor = System.Drawing.SystemColors.ControlLight; this.gbBotsDirectory.Controls.Add(this.btnOpenDirectory); this.gbBotsDirectory.Controls.Add(this.btnImport); this.gbBotsDirectory.Controls.Add(this.txtBotDirectory); this.gbBotsDirectory.Controls.Add(this.lblFileLocation); this.gbBotsDirectory.Dock = System.Windows.Forms.DockStyle.Top; this.gbBotsDirectory.Location = new System.Drawing.Point(0, 0); this.gbBotsDirectory.Name = "gbBotsDirectory"; this.gbBotsDirectory.Size = new System.Drawing.Size(624, 80); this.gbBotsDirectory.TabIndex = 5; this.gbBotsDirectory.TabStop = false; this.gbBotsDirectory.Text = "Bots Directory"; // // btnOpenDirectory // this.btnOpenDirectory.Location = new System.Drawing.Point(424, 24); this.btnOpenDirectory.Name = "btnOpenDirectory"; this.btnOpenDirectory.Size = new System.Drawing.Size(32, 20); this.btnOpenDirectory.TabIndex = 6; this.btnOpenDirectory.Text = "..."; this.btnOpenDirectory.Click += new System.EventHandler(this.btnOpenDirectory_Click); // // btnImport // this.btnImport.Location = new System.Drawing.Point(96, 48); this.btnImport.Name = "btnImport"; this.btnImport.Size = new System.Drawing.Size(88, 20); this.btnImport.TabIndex = 5; this.btnImport.Text = "Import"; this.btnImport.Click += new System.EventHandler(this.btnImport_Click); // // txtBotDirectory // this.txtBotDirectory.BackColor = System.Drawing.SystemColors.Window; this.txtBotDirectory.Location = new System.Drawing.Point(96, 24); this.txtBotDirectory.Name = "txtBotDirectory"; this.txtBotDirectory.Size = new System.Drawing.Size(320, 20); this.txtBotDirectory.TabIndex = 2; this.txtBotDirectory.Text = ""; // // lblFileLocation // this.lblFileLocation.Location = new System.Drawing.Point(8, 24); this.lblFileLocation.Name = "lblFileLocation"; this.lblFileLocation.Size = new System.Drawing.Size(96, 16); this.lblFileLocation.TabIndex = 0; this.lblFileLocation.Text = "~Fritzbot/bots"; this.lblFileLocation.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // gbBuiltInBots // this.gbBuiltInBots.BackColor = System.Drawing.SystemColors.ControlLight; this.gbBuiltInBots.Controls.Add(this.pnlBuiltInBots); this.gbBuiltInBots.Dock = System.Windows.Forms.DockStyle.Left; this.gbBuiltInBots.Location = new System.Drawing.Point(0, 80); this.gbBuiltInBots.Name = "gbBuiltInBots"; this.gbBuiltInBots.Size = new System.Drawing.Size(272, 384); this.gbBuiltInBots.TabIndex = 6; this.gbBuiltInBots.TabStop = false; this.gbBuiltInBots.Text = "Built In Bots"; // // pnlBuiltInBots // this.pnlBuiltInBots.Controls.Add(this.tvBots); this.pnlBuiltInBots.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlBuiltInBots.DockPadding.All = 4; this.pnlBuiltInBots.Location = new System.Drawing.Point(3, 16); this.pnlBuiltInBots.Name = "pnlBuiltInBots"; this.pnlBuiltInBots.Size = new System.Drawing.Size(266, 365); this.pnlBuiltInBots.TabIndex = 0; // // tvBots // this.tvBots.AllowDrop = true; this.tvBots.BackColor = System.Drawing.SystemColors.Window; this.tvBots.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tvBots.Dock = System.Windows.Forms.DockStyle.Fill; this.tvBots.DragCursor = null; this.tvBots.DragCursorType = WaypointTool.DragCursorType.None; this.tvBots.DragImageIndex = 0; this.tvBots.DragMode = System.Windows.Forms.DragDropEffects.Move; this.tvBots.DragNodeFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.tvBots.DragNodeOpacity = 0.3; this.tvBots.DragOverNodeBackColor = System.Drawing.SystemColors.Highlight; this.tvBots.DragOverNodeForeColor = System.Drawing.SystemColors.HighlightText; this.tvBots.ImageList = this.imgIcons; this.tvBots.Location = new System.Drawing.Point(4, 4); this.tvBots.Name = "tvBots"; this.tvBots.Size = new System.Drawing.Size(258, 357); this.tvBots.TabIndex = 0; // // gbSave // this.gbSave.BackColor = System.Drawing.SystemColors.ControlLight; this.gbSave.Controls.Add(this.lblNote); this.gbSave.Controls.Add(this.btnSave); this.gbSave.Dock = System.Windows.Forms.DockStyle.Bottom; this.gbSave.Location = new System.Drawing.Point(272, 416); this.gbSave.Name = "gbSave"; this.gbSave.Size = new System.Drawing.Size(352, 48); this.gbSave.TabIndex = 7; this.gbSave.TabStop = false; // // lblNote // this.lblNote.Location = new System.Drawing.Point(104, 16); this.lblNote.Name = "lblNote"; this.lblNote.Size = new System.Drawing.Size(192, 16); this.lblNote.TabIndex = 1; this.lblNote.Text = "(Double-Click added bots to remove.)"; // // btnSave // this.btnSave.Location = new System.Drawing.Point(8, 16); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(88, 20); this.btnSave.TabIndex = 0; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // gbBotsForFile // this.gbBotsForFile.BackColor = System.Drawing.SystemColors.ControlLight; this.gbBotsForFile.Controls.Add(this.pnlNewBots); this.gbBotsForFile.Dock = System.Windows.Forms.DockStyle.Fill; this.gbBotsForFile.Location = new System.Drawing.Point(272, 80); this.gbBotsForFile.Name = "gbBotsForFile"; this.gbBotsForFile.Size = new System.Drawing.Size(352, 336); this.gbBotsForFile.TabIndex = 8; this.gbBotsForFile.TabStop = false; this.gbBotsForFile.Text = "Bots to add in .bots file (drag from built in)"; // // pnlNewBots // this.pnlNewBots.Controls.Add(this.tvNewBots); this.pnlNewBots.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlNewBots.DockPadding.All = 4; this.pnlNewBots.Location = new System.Drawing.Point(3, 16); this.pnlNewBots.Name = "pnlNewBots"; this.pnlNewBots.Size = new System.Drawing.Size(346, 317); this.pnlNewBots.TabIndex = 0; // // tvNewBots // this.tvNewBots.AllowDrop = true; this.tvNewBots.BackColor = System.Drawing.SystemColors.Window; this.tvNewBots.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tvNewBots.ContextMenu = this.mnuBots; this.tvNewBots.Dock = System.Windows.Forms.DockStyle.Fill; this.tvNewBots.DragCursor = null; this.tvNewBots.DragCursorType = WaypointTool.DragCursorType.None; this.tvNewBots.DragImageIndex = 0; this.tvNewBots.DragMode = System.Windows.Forms.DragDropEffects.Move; this.tvNewBots.DragNodeFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.tvNewBots.DragNodeOpacity = 0.3; this.tvNewBots.DragOverNodeBackColor = System.Drawing.SystemColors.Highlight; this.tvNewBots.DragOverNodeForeColor = System.Drawing.SystemColors.HighlightText; this.tvNewBots.ImageList = this.imgIcons; this.tvNewBots.Location = new System.Drawing.Point(4, 4); this.tvNewBots.Name = "tvNewBots"; this.tvNewBots.Size = new System.Drawing.Size(338, 309); this.tvNewBots.TabIndex = 1; this.tvNewBots.Tag = "New Bots"; // // mnuBots // this.mnuBots.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuClearAll}); // // mnuClearAll // this.mnuClearAll.Index = 0; this.mnuClearAll.Text = "Clear All"; this.mnuClearAll.Click += new System.EventHandler(this.mnuClearAll_Click); // // saveFile // this.saveFile.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFile_FileOk); // // BotsControl // this.Controls.Add(this.gbBotsForFile); this.Controls.Add(this.gbSave); this.Controls.Add(this.gbBuiltInBots); this.Controls.Add(this.gbBotsDirectory); this.Name = "BotsControl"; this.Size = new System.Drawing.Size(624, 464); this.gbBotsDirectory.ResumeLayout(false); this.gbBuiltInBots.ResumeLayout(false); this.pnlBuiltInBots.ResumeLayout(false); this.gbSave.ResumeLayout(false); this.gbBotsForFile.ResumeLayout(false); this.pnlNewBots.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BotsControl)); this.imgIcons = new System.Windows.Forms.ImageList(this.components); this.gbBotsDirectory = new System.Windows.Forms.GroupBox(); this.btnOpenDirectory = new System.Windows.Forms.Button(); this.btnImport = new System.Windows.Forms.Button(); this.txtBotDirectory = new System.Windows.Forms.TextBox(); this.lblFileLocation = new System.Windows.Forms.Label(); this.gbBuiltInBots = new System.Windows.Forms.GroupBox(); this.pnlBuiltInBots = new System.Windows.Forms.Panel(); this.tvBots = new WaypointTool.TreeViewDragDrop(); this.dirOpen = new System.Windows.Forms.FolderBrowserDialog(); this.gbSave = new System.Windows.Forms.GroupBox(); this.lblNote = new System.Windows.Forms.Label(); this.btnSave = new System.Windows.Forms.Button(); this.gbBotsForFile = new System.Windows.Forms.GroupBox(); this.pnlNewBots = new System.Windows.Forms.Panel(); this.tvNewBots = new WaypointTool.TreeViewDragDrop(); this.mnuBots = new System.Windows.Forms.ContextMenu(); this.mnuClearAll = new System.Windows.Forms.MenuItem(); this.saveFile = new System.Windows.Forms.SaveFileDialog(); this.gbBotsDirectory.SuspendLayout(); this.gbBuiltInBots.SuspendLayout(); this.pnlBuiltInBots.SuspendLayout(); this.gbSave.SuspendLayout(); this.gbBotsForFile.SuspendLayout(); this.pnlNewBots.SuspendLayout(); this.SuspendLayout(); // // imgIcons // this.imgIcons.ImageSize = new System.Drawing.Size(16, 16); this.imgIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgIcons.ImageStream"))); this.imgIcons.TransparentColor = System.Drawing.Color.Transparent; // // gbBotsDirectory // this.gbBotsDirectory.BackColor = System.Drawing.SystemColors.ControlLight; this.gbBotsDirectory.Controls.Add(this.btnOpenDirectory); this.gbBotsDirectory.Controls.Add(this.btnImport); this.gbBotsDirectory.Controls.Add(this.txtBotDirectory); this.gbBotsDirectory.Controls.Add(this.lblFileLocation); this.gbBotsDirectory.Dock = System.Windows.Forms.DockStyle.Top; this.gbBotsDirectory.Location = new System.Drawing.Point(0, 0); this.gbBotsDirectory.Name = "gbBotsDirectory"; this.gbBotsDirectory.Size = new System.Drawing.Size(624, 80); this.gbBotsDirectory.TabIndex = 5; this.gbBotsDirectory.TabStop = false; this.gbBotsDirectory.Text = "Bots Directory"; // // btnOpenDirectory // this.btnOpenDirectory.Location = new System.Drawing.Point(424, 24); this.btnOpenDirectory.Name = "btnOpenDirectory"; this.btnOpenDirectory.Size = new System.Drawing.Size(32, 20); this.btnOpenDirectory.TabIndex = 6; this.btnOpenDirectory.Text = "..."; this.btnOpenDirectory.Click += new System.EventHandler(this.btnOpenDirectory_Click); // // btnImport // this.btnImport.Location = new System.Drawing.Point(96, 48); this.btnImport.Name = "btnImport"; this.btnImport.Size = new System.Drawing.Size(88, 20); this.btnImport.TabIndex = 5; this.btnImport.Text = "Import"; this.btnImport.Click += new System.EventHandler(this.btnImport_Click); // // txtBotDirectory // this.txtBotDirectory.BackColor = System.Drawing.SystemColors.Window; this.txtBotDirectory.Location = new System.Drawing.Point(96, 24); this.txtBotDirectory.Name = "txtBotDirectory"; this.txtBotDirectory.Size = new System.Drawing.Size(320, 20); this.txtBotDirectory.TabIndex = 2; this.txtBotDirectory.Text = ""; // // lblFileLocation // this.lblFileLocation.Location = new System.Drawing.Point(8, 24); this.lblFileLocation.Name = "lblFileLocation"; this.lblFileLocation.Size = new System.Drawing.Size(96, 16); this.lblFileLocation.TabIndex = 0; this.lblFileLocation.Text = "~Fritzbot/bots"; this.lblFileLocation.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // gbBuiltInBots // this.gbBuiltInBots.BackColor = System.Drawing.SystemColors.ControlLight; this.gbBuiltInBots.Controls.Add(this.pnlBuiltInBots); this.gbBuiltInBots.Dock = System.Windows.Forms.DockStyle.Left; this.gbBuiltInBots.Location = new System.Drawing.Point(0, 80); this.gbBuiltInBots.Name = "gbBuiltInBots"; this.gbBuiltInBots.Size = new System.Drawing.Size(272, 384); this.gbBuiltInBots.TabIndex = 6; this.gbBuiltInBots.TabStop = false; this.gbBuiltInBots.Text = "Built In Bots"; // // pnlBuiltInBots // this.pnlBuiltInBots.Controls.Add(this.tvBots); this.pnlBuiltInBots.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlBuiltInBots.DockPadding.All = 4; this.pnlBuiltInBots.Location = new System.Drawing.Point(3, 16); this.pnlBuiltInBots.Name = "pnlBuiltInBots"; this.pnlBuiltInBots.Size = new System.Drawing.Size(266, 365); this.pnlBuiltInBots.TabIndex = 0; // // tvBots // this.tvBots.AllowDrop = true; this.tvBots.BackColor = System.Drawing.SystemColors.Window; this.tvBots.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tvBots.Dock = System.Windows.Forms.DockStyle.Fill; this.tvBots.DragCursor = null; this.tvBots.DragCursorType = WaypointTool.DragCursorType.None; this.tvBots.DragImageIndex = 0; this.tvBots.DragMode = System.Windows.Forms.DragDropEffects.Move; this.tvBots.DragNodeFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.tvBots.DragNodeOpacity = 0.3; this.tvBots.DragOverNodeBackColor = System.Drawing.SystemColors.Highlight; this.tvBots.DragOverNodeForeColor = System.Drawing.SystemColors.HighlightText; this.tvBots.ImageList = this.imgIcons; this.tvBots.Location = new System.Drawing.Point(4, 4); this.tvBots.Name = "tvBots"; this.tvBots.Size = new System.Drawing.Size(258, 357); this.tvBots.TabIndex = 0; // // gbSave // this.gbSave.BackColor = System.Drawing.SystemColors.ControlLight; this.gbSave.Controls.Add(this.lblNote); this.gbSave.Controls.Add(this.btnSave); this.gbSave.Dock = System.Windows.Forms.DockStyle.Bottom; this.gbSave.Location = new System.Drawing.Point(272, 416); this.gbSave.Name = "gbSave"; this.gbSave.Size = new System.Drawing.Size(352, 48); this.gbSave.TabIndex = 7; this.gbSave.TabStop = false; // // lblNote // this.lblNote.Location = new System.Drawing.Point(104, 16); this.lblNote.Name = "lblNote"; this.lblNote.Size = new System.Drawing.Size(192, 16); this.lblNote.TabIndex = 1; this.lblNote.Text = "(Double-Click added bots to remove.)"; // // btnSave // this.btnSave.Location = new System.Drawing.Point(8, 16); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(88, 20); this.btnSave.TabIndex = 0; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // gbBotsForFile // this.gbBotsForFile.BackColor = System.Drawing.SystemColors.ControlLight; this.gbBotsForFile.Controls.Add(this.pnlNewBots); this.gbBotsForFile.Dock = System.Windows.Forms.DockStyle.Fill; this.gbBotsForFile.Location = new System.Drawing.Point(272, 80); this.gbBotsForFile.Name = "gbBotsForFile"; this.gbBotsForFile.Size = new System.Drawing.Size(352, 336); this.gbBotsForFile.TabIndex = 8; this.gbBotsForFile.TabStop = false; this.gbBotsForFile.Text = "Bots to add in .bots file (drag from built in)"; // // pnlNewBots // this.pnlNewBots.Controls.Add(this.tvNewBots); this.pnlNewBots.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlNewBots.DockPadding.All = 4; this.pnlNewBots.Location = new System.Drawing.Point(3, 16); this.pnlNewBots.Name = "pnlNewBots"; this.pnlNewBots.Size = new System.Drawing.Size(346, 317); this.pnlNewBots.TabIndex = 0; // // tvNewBots // this.tvNewBots.AllowDrop = true; this.tvNewBots.BackColor = System.Drawing.SystemColors.Window; this.tvNewBots.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tvNewBots.ContextMenu = this.mnuBots; this.tvNewBots.Dock = System.Windows.Forms.DockStyle.Fill; this.tvNewBots.DragCursor = null; this.tvNewBots.DragCursorType = WaypointTool.DragCursorType.None; this.tvNewBots.DragImageIndex = 0; this.tvNewBots.DragMode = System.Windows.Forms.DragDropEffects.Move; this.tvNewBots.DragNodeFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.tvNewBots.DragNodeOpacity = 0.3; this.tvNewBots.DragOverNodeBackColor = System.Drawing.SystemColors.Highlight; this.tvNewBots.DragOverNodeForeColor = System.Drawing.SystemColors.HighlightText; this.tvNewBots.ImageList = this.imgIcons; this.tvNewBots.Location = new System.Drawing.Point(4, 4); this.tvNewBots.Name = "tvNewBots"; this.tvNewBots.Size = new System.Drawing.Size(338, 309); this.tvNewBots.TabIndex = 1; this.tvNewBots.Tag = "New Bots"; // // mnuBots // this.mnuBots.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuClearAll }); // // mnuClearAll // this.mnuClearAll.Index = 0; this.mnuClearAll.Text = "Clear All"; this.mnuClearAll.Click += new System.EventHandler(this.mnuClearAll_Click); // // saveFile // this.saveFile.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFile_FileOk); // // BotsControl // this.Controls.Add(this.gbBotsForFile); this.Controls.Add(this.gbSave); this.Controls.Add(this.gbBuiltInBots); this.Controls.Add(this.gbBotsDirectory); this.Name = "BotsControl"; this.Size = new System.Drawing.Size(624, 464); this.gbBotsDirectory.ResumeLayout(false); this.gbBuiltInBots.ResumeLayout(false); this.pnlBuiltInBots.ResumeLayout(false); this.gbSave.ResumeLayout(false); this.gbBotsForFile.ResumeLayout(false); this.pnlNewBots.ResumeLayout(false); this.ResumeLayout(false); }