private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(BookmarkTabDialog)); this.txtHotkey = new HotKeyBox(); this.lblHotkey = new Label(); this.lblBookmarkName = new Label(); this.txtBookmarkName = new TextBox(); this.chkDoNotShowAgain = new CheckBox(); this.btnOk = new Button(); this.btnCancel = new Button(); this.Validator = new ValidatorProvider(); this.bvlButtons = new Bevel(); GroupBox box = new GroupBox(); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); TableLayoutPanel panel3 = new TableLayoutPanel(); box.SuspendLayout(); panel.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(box, "grpAdditional"); box.Controls.Add(panel); box.Name = "grpAdditional"; box.TabStop = false; manager.ApplyResources(panel, "tlpAdditional"); panel.Controls.Add(this.txtHotkey, 1, 0); panel.Controls.Add(this.lblHotkey, 0, 0); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpAdditional"; manager.ApplyResources(this.txtHotkey, "txtHotkey"); this.txtHotkey.Name = "txtHotkey"; manager.ApplyResources(this.lblHotkey, "lblHotkey"); this.lblHotkey.Name = "lblHotkey"; manager.ApplyResources(panel2, "tlpBack"); panel2.Controls.Add(this.lblBookmarkName, 0, 0); panel2.Controls.Add(this.txtBookmarkName, 0, 1); panel2.Controls.Add(box, 0, 2); panel2.Controls.Add(this.chkDoNotShowAgain, 0, 3); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpBack"; manager.ApplyResources(this.lblBookmarkName, "lblBookmarkName"); this.lblBookmarkName.Name = "lblBookmarkName"; manager.ApplyResources(this.txtBookmarkName, "txtBookmarkName"); this.txtBookmarkName.Name = "txtBookmarkName"; this.Validator.SetValidateOn(this.txtBookmarkName, ValidateOn.TextChanged); this.txtBookmarkName.Validating += new CancelEventHandler(this.txtBookmarkName_Validating); manager.ApplyResources(this.chkDoNotShowAgain, "chkDoNotShowAgain"); this.chkDoNotShowAgain.Name = "chkDoNotShowAgain"; this.chkDoNotShowAgain.UseVisualStyleBackColor = true; manager.ApplyResources(panel3, "tlpButtons"); panel3.BackColor = Color.Gainsboro; panel3.Controls.Add(this.btnOk, 1, 0); panel3.Controls.Add(this.btnCancel, 2, 0); panel3.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel3.Name = "tlpButtons"; this.btnOk.DialogResult = DialogResult.OK; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnCancel.CausesValidation = false; this.btnCancel.DialogResult = DialogResult.Cancel; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.CancelButton = this.btnCancel; base.Controls.Add(panel3); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel2); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "BookmarkTabDialog"; base.ShowInTaskbar = false; box.ResumeLayout(false); box.PerformLayout(); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); panel3.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(ExternalToolsOptionControl)); this.imgTools = new ImageList(this.components); this.BrowsePathDialog = new OpenFileDialog(); this.tlpBack = new TableLayoutPanel(); this.txtPath = new TextBox(); this.lblWindowState = new Label(); this.txtArguments = new TextBox(); this.btnAppendWorkDir = new Button(); this.lblWorkingDirectory = new Label(); this.btnAppendArgument = new Button(); this.btnBrowsePath = new Button(); this.lblHotkey = new Label(); this.txtWorkingDirectory = new TextBox(); this.cmbWindowState = new ComboBox(); this.lblCommand = new Label(); this.lblArguments = new Label(); this.txtHotKey = new HotKeyBox(); this.lvTools = new ListViewEx(); this.columnHeader1 = new ColumnHeader(); this.columnHeader2 = new ColumnHeader(); this.btnUp = new Button(); this.btnDown = new Button(); this.btnSort = new Button(); this.btnDelete = new Button(); this.btnSaveAs = new Button(); this.lblTitle = new Label(); this.txtTitle = new TextBox(); this.chkRunAsAdmin = new CheckBox(); this.cmsArguments = new ContextMenuStrip(this.components); this.tsmiCurrentItemName = new ToolStripMenuItem(); this.tsmiCurrentItemPath = new ToolStripMenuItem(); this.tsmiCurrentSelectionName = new ToolStripMenuItem(); this.tsmiCurrentSelectionPath = new ToolStripMenuItem(); this.tsmiFarItemName = new ToolStripMenuItem(); this.tsmiFarItemPath = new ToolStripMenuItem(); this.tsmiFarSelectionName = new ToolStripMenuItem(); this.tsmiFarSelectionPath = new ToolStripMenuItem(); this.tssArguments4 = new ToolStripSeparator(); this.tsmiCurrentFolder = new ToolStripMenuItem(); this.tsmiFarFolder = new ToolStripMenuItem(); this.tsmiNomadFolder = new ToolStripMenuItem(); this.tssArguments5 = new ToolStripSeparator(); this.tsmiUserValue = new ToolStripMenuItem(); this.cmsWorkingDirectory = new ContextMenuStrip(this.components); this.tsmiCurrentFolder2 = new ToolStripMenuItem(); this.tsmiFarFolder2 = new ToolStripMenuItem(); this.tsmiNomadFolder2 = new ToolStripMenuItem(); this.Validator = new ValidatorProvider(); ToolStripSeparator separator = new ToolStripSeparator(); ToolStripSeparator separator2 = new ToolStripSeparator(); ToolStripSeparator separator3 = new ToolStripSeparator(); this.tlpBack.SuspendLayout(); this.cmsArguments.SuspendLayout(); this.cmsWorkingDirectory.SuspendLayout(); base.SuspendLayout(); this.imgTools.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgTools, "imgTools"); this.imgTools.TransparentColor = Color.Transparent; manager.ApplyResources(this.BrowsePathDialog, "BrowsePathDialog"); manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.txtPath, 1, 6); this.tlpBack.Controls.Add(this.lblWindowState, 0, 11); this.tlpBack.Controls.Add(this.txtArguments, 1, 7); this.tlpBack.Controls.Add(this.btnAppendWorkDir, 3, 8); this.tlpBack.Controls.Add(this.lblWorkingDirectory, 0, 8); this.tlpBack.Controls.Add(this.btnAppendArgument, 3, 7); this.tlpBack.Controls.Add(this.btnBrowsePath, 3, 6); this.tlpBack.Controls.Add(this.lblHotkey, 0, 10); this.tlpBack.Controls.Add(this.txtWorkingDirectory, 1, 8); this.tlpBack.Controls.Add(this.cmbWindowState, 1, 11); this.tlpBack.Controls.Add(this.lblCommand, 0, 6); this.tlpBack.Controls.Add(this.lblArguments, 0, 7); this.tlpBack.Controls.Add(this.txtHotKey, 1, 10); this.tlpBack.Controls.Add(this.lvTools, 0, 0); this.tlpBack.Controls.Add(this.btnUp, 3, 0); this.tlpBack.Controls.Add(this.btnDown, 3, 1); this.tlpBack.Controls.Add(this.btnSort, 3, 2); this.tlpBack.Controls.Add(this.btnDelete, 3, 3); this.tlpBack.Controls.Add(this.btnSaveAs, 3, 5); this.tlpBack.Controls.Add(this.lblTitle, 0, 5); this.tlpBack.Controls.Add(this.txtTitle, 1, 5); this.tlpBack.Controls.Add(this.chkRunAsAdmin, 1, 9); this.tlpBack.Name = "tlpBack"; this.tlpBack.SetColumnSpan(this.txtPath, 2); manager.ApplyResources(this.txtPath, "txtPath"); this.txtPath.Name = "txtPath"; this.Validator.SetValidateOn(this.txtPath, ValidateOn.TextChangedTimer); this.txtPath.Validating += new CancelEventHandler(this.txtPath_Validating); manager.ApplyResources(this.lblWindowState, "lblWindowState"); this.lblWindowState.Name = "lblWindowState"; this.tlpBack.SetColumnSpan(this.txtArguments, 2); manager.ApplyResources(this.txtArguments, "txtArguments"); this.txtArguments.Name = "txtArguments"; this.txtArguments.TextChanged += new EventHandler(this.txtArguments_TextChanged); manager.ApplyResources(this.btnAppendWorkDir, "btnAppendWorkDir"); this.btnAppendWorkDir.Image = Resources.SmallDownArrow; this.btnAppendWorkDir.Name = "btnAppendWorkDir"; this.btnAppendWorkDir.UseVisualStyleBackColor = true; this.btnAppendWorkDir.Click += new EventHandler(this.btnAppendWorkDir_Click); manager.ApplyResources(this.lblWorkingDirectory, "lblWorkingDirectory"); this.lblWorkingDirectory.Name = "lblWorkingDirectory"; manager.ApplyResources(this.btnAppendArgument, "btnAppendArgument"); this.btnAppendArgument.Image = Resources.SmallDownArrow; this.btnAppendArgument.Name = "btnAppendArgument"; this.btnAppendArgument.UseVisualStyleBackColor = true; this.btnAppendArgument.Click += new EventHandler(this.btnAppendArgument_Click); manager.ApplyResources(this.btnBrowsePath, "btnBrowsePath"); this.btnBrowsePath.Name = "btnBrowsePath"; this.btnBrowsePath.UseVisualStyleBackColor = true; this.btnBrowsePath.Click += new EventHandler(this.btnBrowsePath_Click); manager.ApplyResources(this.lblHotkey, "lblHotkey"); this.lblHotkey.Name = "lblHotkey"; this.tlpBack.SetColumnSpan(this.txtWorkingDirectory, 2); manager.ApplyResources(this.txtWorkingDirectory, "txtWorkingDirectory"); this.txtWorkingDirectory.Name = "txtWorkingDirectory"; this.txtWorkingDirectory.TextChanged += new EventHandler(this.txtWorkingDirectory_TextChanged); manager.ApplyResources(this.cmbWindowState, "cmbWindowState"); this.cmbWindowState.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbWindowState.FormattingEnabled = true; this.cmbWindowState.Name = "cmbWindowState"; this.cmbWindowState.SelectionChangeCommitted += new EventHandler(this.cmbWindowState_SelectionChangeCommitted); manager.ApplyResources(this.lblCommand, "lblCommand"); this.lblCommand.Name = "lblCommand"; manager.ApplyResources(this.lblArguments, "lblArguments"); this.lblArguments.Name = "lblArguments"; manager.ApplyResources(this.txtHotKey, "txtHotKey"); this.txtHotKey.Name = "txtHotKey"; this.txtHotKey.HotKeyChanged += new EventHandler(this.txtHotKey_HotKeyChanged); this.txtHotKey.PreviewHotKey += new EventHandler<PreviewHotKeyEventArgs>(this.txtHotKey_PreviewHotKey); this.lvTools.AllowDrop = true; this.lvTools.Columns.AddRange(new ColumnHeader[] { this.columnHeader1, this.columnHeader2 }); this.tlpBack.SetColumnSpan(this.lvTools, 3); this.lvTools.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); manager.ApplyResources(this.lvTools, "lvTools"); this.lvTools.ExplorerTheme = Settings.Default.ExplorerTheme; this.lvTools.FullRowSelect = true; this.lvTools.HeaderStyle = ColumnHeaderStyle.None; this.lvTools.HideSelection = false; this.lvTools.MultiSelect = false; this.lvTools.Name = "lvTools"; this.tlpBack.SetRowSpan(this.lvTools, 5); this.lvTools.ShowColumnLines = true; this.lvTools.SmallImageList = this.imgTools; this.lvTools.SortColumn = 0; this.lvTools.UseCompatibleStateImageBehavior = false; this.lvTools.View = View.Details; this.lvTools.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(this.lvTools_ItemSelectionChanged); this.lvTools.KeyDown += new KeyEventHandler(this.lvTools_KeyDown); this.lvTools.ItemDrag += new ItemDragEventHandler(this.lvTools_ItemDrag); this.lvTools.SizeChanged += new EventHandler(this.ListView_SizeChanged); manager.ApplyResources(this.btnUp, "btnUp"); this.btnUp.Name = "btnUp"; this.btnUp.UseVisualStyleBackColor = true; this.btnUp.Click += new EventHandler(this.btnMove_Click); manager.ApplyResources(this.btnDown, "btnDown"); this.btnDown.Name = "btnDown"; this.btnDown.UseVisualStyleBackColor = true; this.btnDown.Click += new EventHandler(this.btnMove_Click); manager.ApplyResources(this.btnSort, "btnSort"); this.btnSort.Name = "btnSort"; this.btnSort.UseVisualStyleBackColor = true; this.btnSort.Click += new EventHandler(this.btnSort_Click); manager.ApplyResources(this.btnDelete, "btnDelete"); this.btnDelete.Name = "btnDelete"; this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new EventHandler(this.btnDelete_Click); manager.ApplyResources(this.btnSaveAs, "btnSaveAs"); this.btnSaveAs.Name = "btnSaveAs"; this.btnSaveAs.UseVisualStyleBackColor = true; this.btnSaveAs.Click += new EventHandler(this.btnSaveAs_Click); manager.ApplyResources(this.lblTitle, "lblTitle"); this.lblTitle.Name = "lblTitle"; this.tlpBack.SetColumnSpan(this.txtTitle, 2); manager.ApplyResources(this.txtTitle, "txtTitle"); this.txtTitle.Name = "txtTitle"; this.Validator.SetValidateOn(this.txtTitle, ValidateOn.TextChanged); this.txtTitle.Validated += new EventHandler(this.txtTitle_Validated); this.txtTitle.Validating += new CancelEventHandler(this.txtTitle_Validating); manager.ApplyResources(this.chkRunAsAdmin, "chkRunAsAdmin"); this.tlpBack.SetColumnSpan(this.chkRunAsAdmin, 3); this.chkRunAsAdmin.Name = "chkRunAsAdmin"; this.chkRunAsAdmin.UseVisualStyleBackColor = true; this.chkRunAsAdmin.Click += new EventHandler(this.chkRunAsAdmin_Click); separator.Name = "tssArguments1"; manager.ApplyResources(separator, "tssArguments1"); separator2.Name = "tssArguments2"; manager.ApplyResources(separator2, "tssArguments2"); separator3.Name = "tssArguments3"; manager.ApplyResources(separator3, "tssArguments3"); this.cmsArguments.Items.AddRange(new ToolStripItem[] { this.tsmiCurrentItemName, this.tsmiCurrentItemPath, separator, this.tsmiCurrentSelectionName, this.tsmiCurrentSelectionPath, separator2, this.tsmiFarItemName, this.tsmiFarItemPath, separator3, this.tsmiFarSelectionName, this.tsmiFarSelectionPath, this.tssArguments4, this.tsmiCurrentFolder, this.tsmiFarFolder, this.tsmiNomadFolder, this.tssArguments5, this.tsmiUserValue }); this.cmsArguments.Name = "cmsArguments"; manager.ApplyResources(this.cmsArguments, "cmsArguments"); this.tsmiCurrentItemName.Name = "tsmiCurrentItemName"; manager.ApplyResources(this.tsmiCurrentItemName, "tsmiCurrentItemName"); this.tsmiCurrentItemName.Tag = "%curitemname%"; this.tsmiCurrentItemName.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiCurrentItemPath.Name = "tsmiCurrentItemPath"; manager.ApplyResources(this.tsmiCurrentItemPath, "tsmiCurrentItemPath"); this.tsmiCurrentItemPath.Tag = "%curitempath%"; this.tsmiCurrentItemPath.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiCurrentSelectionName.Name = "tsmiCurrentSelectionName"; manager.ApplyResources(this.tsmiCurrentSelectionName, "tsmiCurrentSelectionName"); this.tsmiCurrentSelectionName.Tag = "%curselname%"; this.tsmiCurrentSelectionName.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiCurrentSelectionPath.Name = "tsmiCurrentSelectionPath"; manager.ApplyResources(this.tsmiCurrentSelectionPath, "tsmiCurrentSelectionPath"); this.tsmiCurrentSelectionPath.Tag = "%curselpath%"; this.tsmiCurrentSelectionPath.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarItemName.Name = "tsmiFarItemName"; manager.ApplyResources(this.tsmiFarItemName, "tsmiFarItemName"); this.tsmiFarItemName.Tag = "%faritemname%"; this.tsmiFarItemName.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarItemPath.Name = "tsmiFarItemPath"; manager.ApplyResources(this.tsmiFarItemPath, "tsmiFarItemPath"); this.tsmiFarItemPath.Tag = "%faritempath%"; this.tsmiFarItemPath.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarSelectionName.Name = "tsmiFarSelectionName"; manager.ApplyResources(this.tsmiFarSelectionName, "tsmiFarSelectionName"); this.tsmiFarSelectionName.Tag = "%farselname%"; this.tsmiFarSelectionName.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarSelectionPath.Name = "tsmiFarSelectionPath"; manager.ApplyResources(this.tsmiFarSelectionPath, "tsmiFarSelectionPath"); this.tsmiFarSelectionPath.Tag = "%farselpath%"; this.tsmiFarSelectionPath.Click += new EventHandler(this.tsmiArgument_Click); this.tssArguments4.Name = "tssArguments4"; manager.ApplyResources(this.tssArguments4, "tssArguments4"); this.tsmiCurrentFolder.Name = "tsmiCurrentFolder"; manager.ApplyResources(this.tsmiCurrentFolder, "tsmiCurrentFolder"); this.tsmiCurrentFolder.Tag = "%curdir%"; this.tsmiCurrentFolder.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarFolder.Name = "tsmiFarFolder"; manager.ApplyResources(this.tsmiFarFolder, "tsmiFarFolder"); this.tsmiFarFolder.Tag = "%fardir%"; this.tsmiFarFolder.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiNomadFolder.Name = "tsmiNomadFolder"; manager.ApplyResources(this.tsmiNomadFolder, "tsmiNomadFolder"); this.tsmiNomadFolder.Tag = "%nomaddir%"; this.tsmiNomadFolder.Click += new EventHandler(this.tsmiArgument_Click); this.tssArguments5.Name = "tssArguments5"; manager.ApplyResources(this.tssArguments5, "tssArguments5"); this.tsmiUserValue.Name = "tsmiUserValue"; manager.ApplyResources(this.tsmiUserValue, "tsmiUserValue"); this.tsmiUserValue.Tag = "%user%"; this.tsmiUserValue.Click += new EventHandler(this.tsmiArgument_Click); this.cmsWorkingDirectory.Items.AddRange(new ToolStripItem[] { this.tsmiCurrentFolder2, this.tsmiFarFolder2, this.tsmiNomadFolder2 }); this.cmsWorkingDirectory.Name = "cmsWorkingDirectory"; manager.ApplyResources(this.cmsWorkingDirectory, "cmsWorkingDirectory"); this.tsmiCurrentFolder2.Name = "tsmiCurrentFolder2"; manager.ApplyResources(this.tsmiCurrentFolder2, "tsmiCurrentFolder2"); this.tsmiCurrentFolder2.Tag = "%curdir%"; this.tsmiCurrentFolder2.Click += new EventHandler(this.tsmiWorkingDirectory_Click); this.tsmiFarFolder2.Name = "tsmiFarFolder2"; manager.ApplyResources(this.tsmiFarFolder2, "tsmiFarFolder2"); this.tsmiFarFolder2.Tag = "%fardir%"; this.tsmiFarFolder2.Click += new EventHandler(this.tsmiWorkingDirectory_Click); this.tsmiNomadFolder2.Name = "tsmiNomadFolder2"; manager.ApplyResources(this.tsmiNomadFolder2, "tsmiNomadFolder2"); this.tsmiNomadFolder2.Tag = "%nomaddir%"; this.tsmiNomadFolder2.Click += new EventHandler(this.tsmiWorkingDirectory_Click); this.Validator.Owner = this; this.Validator.TimerInterval = 250; this.Validator.ValidatingControl += new EventHandler<ValidatingControlEventArgs>(this.Validator_ValidatingControl); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.Controls.Add(this.tlpBack); base.Name = "ExternalToolsOptionControl"; this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.cmsArguments.ResumeLayout(false); this.cmsWorkingDirectory.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(KeyboardMapOptionControl)); this.lstCategory = new ListBox(); this.cmbCommandShortcut = new ComboBox(); this.lvCommands = new ListViewEx(); this.columnHeader1 = new ColumnHeader(); this.columnHeader2 = new ColumnHeader(); this.imgCommand = new ImageList(this.components); this.tlpBack = new TableLayoutPanel(); this.lblCategories = new Label(); this.lblCommands = new Label(); this.lblCommandShortcut = new Label(); this.btnRemove = new Button(); this.lblShortcut = new Label(); this.btnAssign = new Button(); this.lblShortcutUsedBy = new Label(); this.txtShortcutUsedBy = new TextBox(); this.txtShortcut = new HotKeyBox(); this.tlpBack.SuspendLayout(); base.SuspendLayout(); this.lstCategory.DisplayMember = "Key"; manager.ApplyResources(this.lstCategory, "lstCategory"); this.lstCategory.Name = "lstCategory"; this.lstCategory.SelectedIndexChanged += new EventHandler(this.lstCategory_SelectedIndexChanged); this.tlpBack.SetColumnSpan(this.cmbCommandShortcut, 2); manager.ApplyResources(this.cmbCommandShortcut, "cmbCommandShortcut"); this.cmbCommandShortcut.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbCommandShortcut.FormattingEnabled = true; this.cmbCommandShortcut.Name = "cmbCommandShortcut"; this.lvCommands.Columns.AddRange(new ColumnHeader[] { this.columnHeader1, this.columnHeader2 }); this.tlpBack.SetColumnSpan(this.lvCommands, 2); this.lvCommands.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); manager.ApplyResources(this.lvCommands, "lvCommands"); this.lvCommands.ExplorerTheme = Settings.Default.ExplorerTheme; this.lvCommands.FullRowSelect = true; this.lvCommands.HeaderStyle = ColumnHeaderStyle.None; this.lvCommands.HideSelection = false; this.lvCommands.MultiSelect = false; this.lvCommands.Name = "lvCommands"; this.lvCommands.ShowColumnLines = true; this.lvCommands.ShowItemToolTips = true; this.lvCommands.SmallImageList = this.imgCommand; this.lvCommands.Sorting = SortOrder.Ascending; this.lvCommands.UseCompatibleStateImageBehavior = false; this.lvCommands.View = View.Details; this.lvCommands.KeyDown += new KeyEventHandler(this.lvCommands_KeyDown); this.lvCommands.SizeChanged += new EventHandler(this.ListView_SizeChanged); this.lvCommands.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(this.lvCommands_ItemSelectionChanged); this.imgCommand.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgCommand, "imgCommand"); this.imgCommand.TransparentColor = Color.Transparent; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.lblCategories, 0, 0); this.tlpBack.Controls.Add(this.lstCategory, 0, 1); this.tlpBack.Controls.Add(this.lblCommands, 1, 0); this.tlpBack.Controls.Add(this.lblCommandShortcut, 0, 2); this.tlpBack.Controls.Add(this.cmbCommandShortcut, 0, 3); this.tlpBack.Controls.Add(this.btnRemove, 2, 3); this.tlpBack.Controls.Add(this.lblShortcut, 0, 4); this.tlpBack.Controls.Add(this.btnAssign, 2, 5); this.tlpBack.Controls.Add(this.lblShortcutUsedBy, 0, 6); this.tlpBack.Controls.Add(this.txtShortcutUsedBy, 0, 7); this.tlpBack.Controls.Add(this.txtShortcut, 0, 5); this.tlpBack.Controls.Add(this.lvCommands, 1, 1); this.tlpBack.Name = "tlpBack"; this.lblCategories.BackColor = Color.FromArgb(0xdd, 0xe7, 0xee); manager.ApplyResources(this.lblCategories, "lblCategories"); this.lblCategories.ForeColor = Color.Navy; this.lblCategories.Name = "lblCategories"; this.lblCategories.Paint += new PaintEventHandler(this.lblCategories_Paint); this.lblCommands.BackColor = Color.FromArgb(0xdd, 0xe7, 0xee); this.tlpBack.SetColumnSpan(this.lblCommands, 2); manager.ApplyResources(this.lblCommands, "lblCommands"); this.lblCommands.ForeColor = Color.Navy; this.lblCommands.Name = "lblCommands"; this.lblCommands.Paint += new PaintEventHandler(this.lblCategories_Paint); manager.ApplyResources(this.lblCommandShortcut, "lblCommandShortcut"); this.tlpBack.SetColumnSpan(this.lblCommandShortcut, 3); this.lblCommandShortcut.Name = "lblCommandShortcut"; manager.ApplyResources(this.btnRemove, "btnRemove"); this.btnRemove.Name = "btnRemove"; this.btnRemove.UseVisualStyleBackColor = true; this.btnRemove.Click += new EventHandler(this.btnRemove_Click); manager.ApplyResources(this.lblShortcut, "lblShortcut"); this.tlpBack.SetColumnSpan(this.lblShortcut, 3); this.lblShortcut.Name = "lblShortcut"; manager.ApplyResources(this.btnAssign, "btnAssign"); this.btnAssign.Name = "btnAssign"; this.btnAssign.UseVisualStyleBackColor = true; this.btnAssign.Click += new EventHandler(this.btnAssign_Click); manager.ApplyResources(this.lblShortcutUsedBy, "lblShortcutUsedBy"); this.tlpBack.SetColumnSpan(this.lblShortcutUsedBy, 3); this.lblShortcutUsedBy.Name = "lblShortcutUsedBy"; this.tlpBack.SetColumnSpan(this.txtShortcutUsedBy, 3); manager.ApplyResources(this.txtShortcutUsedBy, "txtShortcutUsedBy"); this.txtShortcutUsedBy.Name = "txtShortcutUsedBy"; this.tlpBack.SetColumnSpan(this.txtShortcut, 2); manager.ApplyResources(this.txtShortcut, "txtShortcut"); this.txtShortcut.Name = "txtShortcut"; this.txtShortcut.HotKeyChanged += new EventHandler(this.txtShortcut_HotKeyChanged); this.txtShortcut.PreviewHotKey += new EventHandler<PreviewHotKeyEventArgs>(this.txtShortcut_PreviewHotKey); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tlpBack); base.Name = "KeyboardMapOptionControl"; base.Load += new EventHandler(this.KeyboardMapOptionControl_Load); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); base.ResumeLayout(false); }