private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(FileSystemCopyDialog)); this.btnOk = new Button(); this.btnCancel = new Button(); this.btnTree = new Button(); this.tlpBack = new TableLayoutPanel(); this.lblCopyTo = new Label(); this.chkAsyncFileCopy = new CheckBox(); this.chkCopyItemACL = new CheckBox(); this.chkSkipEmptyFolders = new CheckBox(); this.cmbCopyTo = new ComboBox(); this.chkCheckFreeSpace = new CheckBox(); this.chkCopyItemTime = new CheckBox(); this.lblMode = new Label(); this.cmbMode = new ComboBoxEx(); this.lblFilter = new Label(); this.chkDeleteSource = new CheckBox(); this.cmbFilter = new FilterComboBox(); this.bvlButtons = new Bevel(); this.Validator = new ValidatorProvider(); this.AutoComplete = new AutoCompleteProvider(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); this.tlpBack.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpButtons"); panel.Controls.Add(this.btnOk, 1, 0); panel.Controls.Add(this.btnCancel, 3, 0); panel.Controls.Add(this.btnTree, 2, 0); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpButtons"; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnTree, "btnTree"); this.btnTree.Name = "btnTree"; this.btnTree.UseVisualStyleBackColor = true; this.btnTree.Click += new EventHandler(this.btnTree_Click); manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.lblCopyTo, 0, 0); this.tlpBack.Controls.Add(this.chkAsyncFileCopy, 1, 6); this.tlpBack.Controls.Add(this.chkCopyItemACL, 0, 6); this.tlpBack.Controls.Add(this.chkSkipEmptyFolders, 1, 5); this.tlpBack.Controls.Add(this.cmbCopyTo, 0, 1); this.tlpBack.Controls.Add(this.chkCheckFreeSpace, 1, 4); this.tlpBack.Controls.Add(this.chkCopyItemTime, 0, 5); this.tlpBack.Controls.Add(this.lblMode, 0, 2); this.tlpBack.Controls.Add(this.cmbMode, 0, 3); this.tlpBack.Controls.Add(this.lblFilter, 1, 2); this.tlpBack.Controls.Add(this.chkDeleteSource, 0, 4); this.tlpBack.Controls.Add(this.cmbFilter, 1, 3); this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Name = "tlpBack"; this.lblCopyTo.AutoEllipsis = true; this.tlpBack.SetColumnSpan(this.lblCopyTo, 2); manager.ApplyResources(this.lblCopyTo, "lblCopyTo"); this.lblCopyTo.Name = "lblCopyTo"; manager.ApplyResources(this.chkAsyncFileCopy, "chkAsyncFileCopy"); this.chkAsyncFileCopy.Checked = true; this.chkAsyncFileCopy.CheckState = CheckState.Indeterminate; this.chkAsyncFileCopy.Name = "chkAsyncFileCopy"; this.chkAsyncFileCopy.ThreeState = true; this.chkAsyncFileCopy.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCopyItemACL, "chkCopyItemACL"); this.chkCopyItemACL.Name = "chkCopyItemACL"; this.chkCopyItemACL.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkSkipEmptyFolders, "chkSkipEmptyFolders"); this.chkSkipEmptyFolders.Name = "chkSkipEmptyFolders"; this.chkSkipEmptyFolders.UseVisualStyleBackColor = true; this.AutoComplete.SetAutoComplete(this.cmbCopyTo, true); this.tlpBack.SetColumnSpan(this.cmbCopyTo, 2); manager.ApplyResources(this.cmbCopyTo, "cmbCopyTo"); this.cmbCopyTo.Name = "cmbCopyTo"; this.Validator.SetValidateOn(this.cmbCopyTo, ValidateOn.TextChangedTimer); this.cmbCopyTo.Validating += new CancelEventHandler(this.cmbCopyTo_Validating); this.cmbCopyTo.SelectionChangeCommitted += new EventHandler(this.cmbCopyTo_TextUpdate); this.cmbCopyTo.TextUpdate += new EventHandler(this.cmbCopyTo_TextUpdate); manager.ApplyResources(this.chkCheckFreeSpace, "chkCheckFreeSpace"); this.chkCheckFreeSpace.Checked = true; this.chkCheckFreeSpace.CheckState = CheckState.Checked; this.chkCheckFreeSpace.Name = "chkCheckFreeSpace"; this.chkCheckFreeSpace.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCopyItemTime, "chkCopyItemTime"); this.chkCopyItemTime.Checked = true; this.chkCopyItemTime.CheckState = CheckState.Checked; this.chkCopyItemTime.Name = "chkCopyItemTime"; this.chkCopyItemTime.UseVisualStyleBackColor = true; manager.ApplyResources(this.lblMode, "lblMode"); this.lblMode.Name = "lblMode"; manager.ApplyResources(this.cmbMode, "cmbMode"); this.cmbMode.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbMode.Items.AddRange(new object[] { manager.GetString("cmbMode.Items"), manager.GetString("cmbMode.Items1"), manager.GetString("cmbMode.Items2"), manager.GetString("cmbMode.Items3"), manager.GetString("cmbMode.Items4") }); this.cmbMode.MinimumSize = new Size(0xca, 0); this.cmbMode.Name = "cmbMode"; manager.ApplyResources(this.lblFilter, "lblFilter"); this.lblFilter.Name = "lblFilter"; manager.ApplyResources(this.chkDeleteSource, "chkDeleteSource"); this.chkDeleteSource.Name = "chkDeleteSource"; this.chkDeleteSource.UseVisualStyleBackColor = true; this.chkDeleteSource.Click += new EventHandler(this.chkDeleteSource_Click); manager.ApplyResources(this.cmbFilter, "cmbFilter"); this.cmbFilter.DrawMode = DrawMode.OwnerDrawFixed; this.cmbFilter.FormattingEnabled = true; this.cmbFilter.Name = "cmbFilter"; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; this.AutoComplete.UseCustomSource = Settings.Default.UseACSRecentItems; this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables; this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.CancelButton = this.btnCancel; base.Controls.Add(panel); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpBack); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FileSystemCopyDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.FileSystemCopyDialog_Shown); panel.ResumeLayout(false); panel.PerformLayout(); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); 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(MakeLinkDialog)); this.lblItem = new Label(); this.rbLinkDefault = new RadioButton(); this.rbLinkSymbolic = new RadioButton(); this.rbLinkHard = new RadioButton(); this.rbLinkJunction = new RadioButton(); this.rbLinkShellFolder = new RadioButton(); this.cmbDestFolder = new ComboBox(); this.tsItem = new VirtualItemToolStrip(this.components); this.btnOk = new Button(); this.btnTree = new Button(); this.btnCancel = new Button(); this.bvlButtons = new Bevel(); this.Validator = new ValidatorProvider(); this.AutoComplete = new AutoCompleteProvider(); Label label = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); GroupBox control = new GroupBox(); TableLayoutPanel panel2 = new TableLayoutPanel(); TableLayoutPanel panel3 = new TableLayoutPanel(); panel.SuspendLayout(); control.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblIn"); label.Name = "lblIn"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lblItem, 0, 0); panel.Controls.Add(control, 0, 4); panel.Controls.Add(this.cmbDestFolder, 0, 3); panel.Controls.Add(this.tsItem, 0, 1); panel.Controls.Add(label, 0, 2); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBack"; manager.ApplyResources(this.lblItem, "lblItem"); this.lblItem.Name = "lblItem"; manager.ApplyResources(control, "grpLinkType"); control.Controls.Add(panel2); control.Name = "grpLinkType"; control.TabStop = false; manager.ApplyResources(panel2, "tlpLinkType"); panel2.Controls.Add(this.rbLinkDefault, 0, 0); panel2.Controls.Add(this.rbLinkSymbolic, 0, 4); panel2.Controls.Add(this.rbLinkHard, 0, 1); panel2.Controls.Add(this.rbLinkJunction, 0, 3); panel2.Controls.Add(this.rbLinkShellFolder, 0, 2); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpLinkType"; panel2.Validating += new CancelEventHandler(this.tlpLinkType_Validating); manager.ApplyResources(this.rbLinkDefault, "rbLinkDefault"); this.rbLinkDefault.Checked = true; this.rbLinkDefault.Name = "rbLinkDefault"; this.rbLinkDefault.TabStop = true; this.rbLinkDefault.UseVisualStyleBackColor = true; this.rbLinkDefault.Click += new EventHandler(this.rbLinkDefault_Click); manager.ApplyResources(this.rbLinkSymbolic, "rbLinkSymbolic"); this.rbLinkSymbolic.Name = "rbLinkSymbolic"; this.rbLinkSymbolic.UseVisualStyleBackColor = true; this.rbLinkSymbolic.Click += new EventHandler(this.rbLinkDefault_Click); manager.ApplyResources(this.rbLinkHard, "rbLinkHard"); this.rbLinkHard.Name = "rbLinkHard"; this.rbLinkHard.UseVisualStyleBackColor = true; this.rbLinkHard.Click += new EventHandler(this.rbLinkDefault_Click); manager.ApplyResources(this.rbLinkJunction, "rbLinkJunction"); this.rbLinkJunction.Name = "rbLinkJunction"; this.rbLinkJunction.UseVisualStyleBackColor = true; this.rbLinkJunction.Click += new EventHandler(this.rbLinkDefault_Click); manager.ApplyResources(this.rbLinkShellFolder, "rbLinkShellFolder"); this.rbLinkShellFolder.Name = "rbLinkShellFolder"; this.rbLinkShellFolder.UseVisualStyleBackColor = true; this.rbLinkShellFolder.Click += new EventHandler(this.rbLinkDefault_Click); this.AutoComplete.SetAutoComplete(this.cmbDestFolder, true); manager.ApplyResources(this.cmbDestFolder, "cmbDestFolder"); this.cmbDestFolder.Name = "cmbDestFolder"; this.Validator.SetValidateOn(this.cmbDestFolder, ValidateOn.TextChangedTimer); this.cmbDestFolder.Validating += new CancelEventHandler(this.cmbDestFolder_Validating); this.cmbDestFolder.Enter += new EventHandler(this.cmbDestFolder_Enter); this.cmbDestFolder.Validated += new EventHandler(this.cmbDestFolder_Validated); this.cmbDestFolder.TextUpdate += new EventHandler(this.cmbDestFolder_TextUpdate); this.tsItem.BackColor = SystemColors.ButtonFace; this.tsItem.GripStyle = ToolStripGripStyle.Hidden; manager.ApplyResources(this.tsItem, "tsItem"); this.tsItem.Name = "tsItem"; manager.ApplyResources(panel3, "tlpButtons"); panel3.Controls.Add(this.btnOk, 1, 0); panel3.Controls.Add(this.btnTree, 2, 0); panel3.Controls.Add(this.btnCancel, 3, 0); panel3.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel3.Name = "tlpButtons"; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnTree, "btnTree"); this.btnTree.Name = "btnTree"; this.btnTree.UseVisualStyleBackColor = true; this.btnTree.Click += new EventHandler(this.btnTree_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables; this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem; 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(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "MakeLinkDialog"; base.ShowInTaskbar = false; base.Activated += new EventHandler(this.MakeLinkDialog_Activated); panel.ResumeLayout(false); panel.PerformLayout(); control.ResumeLayout(false); control.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); panel3.ResumeLayout(false); panel3.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(FtpConnectDialog)); this.rbAnonymous = new System.Windows.Forms.RadioButton(); this.chkShowPassword = new System.Windows.Forms.CheckBox(); this.lblPassword = new Label(); this.rbCredentials = new System.Windows.Forms.RadioButton(); this.cmbUserName = new System.Windows.Forms.ComboBox(); this.lblUserName = new Label(); this.txtPassword = new System.Windows.Forms.TextBox(); this.tbcBack = new TabControl(); this.tpBasic = new TabPage(); this.tlpBasic = new TableLayoutPanel(); this.lblServer = new Label(); this.cmbServer = new System.Windows.Forms.ComboBox(); this.tlpNote = new TableLayoutPanel(); this.lblNote = new Label(); this.imgNote = new PictureBox(); this.tpContext = new TabPage(); this.FtpOptions = new FtpOptionControl(); this.tlpBack = new TableLayoutPanel(); this.btnOk = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.Validator = new ValidatorProvider(); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox(); TableLayoutPanel panel = new TableLayoutPanel(); box.SuspendLayout(); panel.SuspendLayout(); this.tbcBack.SuspendLayout(); this.tpBasic.SuspendLayout(); this.tlpBasic.SuspendLayout(); this.tlpNote.SuspendLayout(); ((ISupportInitialize) this.imgNote).BeginInit(); this.tpContext.SuspendLayout(); this.tlpBack.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(box, "grpLogin"); box.Controls.Add(panel); box.Name = "grpLogin"; box.TabStop = false; manager.ApplyResources(panel, "tlpCredentials"); panel.Controls.Add(this.rbAnonymous, 0, 0); panel.Controls.Add(this.chkShowPassword, 2, 4); panel.Controls.Add(this.lblPassword, 1, 3); panel.Controls.Add(this.rbCredentials, 0, 1); panel.Controls.Add(this.cmbUserName, 2, 2); panel.Controls.Add(this.lblUserName, 1, 2); panel.Controls.Add(this.txtPassword, 2, 3); panel.Name = "tlpCredentials"; manager.ApplyResources(this.rbAnonymous, "rbAnonymous"); this.rbAnonymous.Checked = true; panel.SetColumnSpan(this.rbAnonymous, 3); this.rbAnonymous.Name = "rbAnonymous"; this.rbAnonymous.TabStop = true; this.rbAnonymous.UseVisualStyleBackColor = true; this.rbAnonymous.CheckedChanged += new EventHandler(this.rbAnonymous_CheckedChanged); manager.ApplyResources(this.chkShowPassword, "chkShowPassword"); this.chkShowPassword.Checked = Settings.Default.RunAsShowPassword; this.chkShowPassword.DataBindings.Add(new Binding("Checked", Settings.Default, "RunAsShowPassword", true, DataSourceUpdateMode.OnPropertyChanged)); this.chkShowPassword.Name = "chkShowPassword"; this.chkShowPassword.UseVisualStyleBackColor = true; this.chkShowPassword.CheckedChanged += new EventHandler(this.chkShowPassword_CheckedChanged); manager.ApplyResources(this.lblPassword, "lblPassword"); this.lblPassword.MinimumSize = new Size(80, 0); this.lblPassword.Name = "lblPassword"; manager.ApplyResources(this.rbCredentials, "rbCredentials"); panel.SetColumnSpan(this.rbCredentials, 3); this.rbCredentials.Name = "rbCredentials"; this.rbCredentials.UseVisualStyleBackColor = true; this.rbCredentials.CheckedChanged += new EventHandler(this.rbAnonymous_CheckedChanged); manager.ApplyResources(this.cmbUserName, "cmbUserName"); this.cmbUserName.FormattingEnabled = true; this.cmbUserName.Name = "cmbUserName"; this.Validator.SetValidateOn(this.cmbUserName, ValidateOn.TextChanged); this.cmbUserName.Validating += new CancelEventHandler(this.cmbUserName_Validating); manager.ApplyResources(this.lblUserName, "lblUserName"); this.lblUserName.MinimumSize = new Size(80, 0); this.lblUserName.Name = "lblUserName"; manager.ApplyResources(this.txtPassword, "txtPassword"); this.txtPassword.Name = "txtPassword"; this.txtPassword.UseSystemPasswordChar = true; this.tbcBack.Controls.Add(this.tpBasic); this.tbcBack.Controls.Add(this.tpContext); manager.ApplyResources(this.tbcBack, "tbcBack"); this.tbcBack.Name = "tbcBack"; this.tbcBack.SelectedIndex = 0; this.tpBasic.Controls.Add(this.tlpBasic); manager.ApplyResources(this.tpBasic, "tpBasic"); this.tpBasic.Name = "tpBasic"; this.tpBasic.UseVisualStyleBackColor = true; manager.ApplyResources(this.tlpBasic, "tlpBasic"); this.tlpBasic.Controls.Add(this.lblServer, 0, 0); this.tlpBasic.Controls.Add(box, 0, 2); this.tlpBasic.Controls.Add(this.cmbServer, 0, 1); this.tlpBasic.Controls.Add(this.tlpNote, 0, 3); this.tlpBasic.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBasic.Name = "tlpBasic"; manager.ApplyResources(this.lblServer, "lblServer"); this.lblServer.Name = "lblServer"; manager.ApplyResources(this.cmbServer, "cmbServer"); this.cmbServer.FormattingEnabled = true; this.cmbServer.Name = "cmbServer"; this.Validator.SetValidateOn(this.cmbServer, ValidateOn.TextChangedTimer); this.cmbServer.Validating += new CancelEventHandler(this.cmbServer_Validating); manager.ApplyResources(this.tlpNote, "tlpNote"); this.tlpNote.Controls.Add(this.lblNote, 1, 0); this.tlpNote.Controls.Add(this.imgNote, 0, 0); this.tlpNote.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpNote.Name = "tlpNote"; this.tlpNote.Paint += new PaintEventHandler(this.tlpNote_Paint); manager.ApplyResources(this.lblNote, "lblNote"); this.lblNote.Name = "lblNote"; manager.ApplyResources(this.imgNote, "imgNote"); this.imgNote.Name = "imgNote"; this.imgNote.TabStop = false; this.tpContext.Controls.Add(this.FtpOptions); manager.ApplyResources(this.tpContext, "tpContext"); this.tpContext.Name = "tpContext"; this.tpContext.UseVisualStyleBackColor = true; manager.ApplyResources(this.FtpOptions, "FtpOptions"); this.FtpOptions.Name = "FtpOptions"; this.FtpOptions.SaveSettings = false; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.tbcBack, 0, 0); this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.CausesValidation = false; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Controls.Add(this.btnCancel, 2, 0); this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Name = "tlpButtons"; 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(this.tlpButtons); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpBack); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FtpConnectDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.FtpConnectDialog_Shown); box.ResumeLayout(false); box.PerformLayout(); panel.ResumeLayout(false); panel.PerformLayout(); this.tbcBack.ResumeLayout(false); this.tpBasic.ResumeLayout(false); this.tpBasic.PerformLayout(); this.tlpBasic.ResumeLayout(false); this.tlpBasic.PerformLayout(); this.tlpNote.ResumeLayout(false); this.tlpNote.PerformLayout(); ((ISupportInitialize) this.imgNote).EndInit(); this.tpContext.ResumeLayout(false); this.tpContext.PerformLayout(); this.tlpBack.ResumeLayout(false); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
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(NewFileDialog)); this.lblNewType = new Label(); this.cmbNewType = new ComboBoxEx(); this.cmbNewName = new ComboBox(); this.lblNewName = new Label(); this.lblItem = new Label(); this.tsCurrentFolder = new VirtualItemToolStrip(this.components); this.btnOk = new Button(); this.btnCancel = new Button(); this.imgNewType = new ImageList(this.components); this.Validator = new ValidatorProvider(); this.bvlButtons = new Bevel(); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); panel.SuspendLayout(); panel2.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lblNewType, 0, 2); panel.Controls.Add(this.cmbNewType, 0, 3); panel.Controls.Add(this.cmbNewName, 0, 5); panel.Controls.Add(this.lblNewName, 0, 4); panel.Controls.Add(this.lblItem, 0, 0); panel.Controls.Add(this.tsCurrentFolder, 0, 1); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBack"; manager.ApplyResources(this.lblNewType, "lblNewType"); this.lblNewType.Name = "lblNewType"; manager.ApplyResources(this.cmbNewType, "cmbNewType"); this.cmbNewType.DrawMode = DrawMode.OwnerDrawFixed; this.cmbNewType.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbNewType.Name = "cmbNewType"; this.cmbNewType.DrawItem += new DrawItemEventHandler(this.cmbNewType_DrawItem); manager.ApplyResources(this.cmbNewName, "cmbNewName"); this.cmbNewName.Name = "cmbNewName"; this.Validator.SetValidateOn(this.cmbNewName, ValidateOn.TextChanged); this.cmbNewName.Validating += new CancelEventHandler(this.cmbNewName_Validating); manager.ApplyResources(this.lblNewName, "lblNewName"); this.lblNewName.Name = "lblNewName"; manager.ApplyResources(this.lblItem, "lblItem"); this.lblItem.Name = "lblItem"; this.tsCurrentFolder.BackColor = SystemColors.ButtonFace; this.tsCurrentFolder.GripStyle = ToolStripGripStyle.Hidden; manager.ApplyResources(this.tsCurrentFolder, "tsCurrentFolder"); this.tsCurrentFolder.Name = "tsCurrentFolder"; manager.ApplyResources(panel2, "tlpButtons"); panel2.Controls.Add(this.btnOk, 1, 0); panel2.Controls.Add(this.btnCancel, 2, 0); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpButtons"; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.DialogResult = DialogResult.OK; this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.CausesValidation = false; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; this.imgNewType.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgNewType, "imgNewType"); this.imgNewType.TransparentColor = Color.Transparent; 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(panel2); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "NewFileDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.NewFileDialog_Shown); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(FilePackDialog)); this.lblPassword = new Label(); this.txtPassword = new TextBoxEx(); this.cmbEncryptMethod = new ComboBox(); this.lblEncryptMethod = new Label(); this.lblConfirmPassword = new Label(); this.chkShowPassword = new CheckBox(); this.txtConfirmPassword = new TextBoxEx(); this.chkEncryptFileNames = new CheckBox(); this.lblMethod = new Label(); this.lblLevel = new Label(); this.lblSolid = new Label(); this.cmbSolid = new ComboBox(); this.cmbLevel = new ComboBox(); this.cmbMethod = new ComboBox(); this.cmbThreadCount = new ComboBox(); this.lblThreadCount = new Label(); this.lblMaxThreads = new Label(); this.lblPackTo = new Label(); this.cmbPackTo = new ComboBox(); this.lblFormat = new Label(); this.cmbFormat = new ComboBoxEx(); this.grpEncryption = new GroupBox(); this.btnOk = new Button(); this.btnCancel = new Button(); this.btnConfigure = new Button(); this.grpCompression = new GroupBox(); this.tlpBack = new TableLayoutPanel(); this.cmbUpdateMode = new ComboBoxEx(); this.lblUpdateMode = new Label(); this.lblFilter = new Label(); this.cmbFilter = new FilterComboBox(); this.lblProperties = new Label(); this.txtProperties = new TextBox(); this.tlpOptions = new TableLayoutPanel(); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); this.Validator = new ValidatorProvider(); this.AutoComplete = new AutoCompleteProvider(); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); panel.SuspendLayout(); panel2.SuspendLayout(); this.grpEncryption.SuspendLayout(); this.grpCompression.SuspendLayout(); this.tlpBack.SuspendLayout(); this.tlpOptions.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpEncryption"); panel.Controls.Add(this.lblPassword, 0, 0); panel.Controls.Add(this.txtPassword, 1, 0); panel.Controls.Add(this.cmbEncryptMethod, 1, 3); panel.Controls.Add(this.lblEncryptMethod, 0, 3); panel.Controls.Add(this.lblConfirmPassword, 0, 1); panel.Controls.Add(this.chkShowPassword, 0, 2); panel.Controls.Add(this.txtConfirmPassword, 1, 1); panel.Controls.Add(this.chkEncryptFileNames, 0, 4); panel.MinimumSize = new Size(0xe4, 0); panel.Name = "tlpEncryption"; manager.ApplyResources(this.lblPassword, "lblPassword"); this.lblPassword.Name = "lblPassword"; manager.ApplyResources(this.txtPassword, "txtPassword"); this.txtPassword.Name = "txtPassword"; this.txtPassword.UseSystemPasswordChar = true; this.txtPassword.TextChanged += new EventHandler(this.txtPassword_TextChange); this.txtPassword.Validating += new CancelEventHandler(this.txtPassword_Validating); manager.ApplyResources(this.cmbEncryptMethod, "cmbEncryptMethod"); this.cmbEncryptMethod.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbEncryptMethod.FormattingEnabled = true; this.cmbEncryptMethod.Name = "cmbEncryptMethod"; manager.ApplyResources(this.lblEncryptMethod, "lblEncryptMethod"); this.lblEncryptMethod.Name = "lblEncryptMethod"; manager.ApplyResources(this.lblConfirmPassword, "lblConfirmPassword"); this.lblConfirmPassword.Name = "lblConfirmPassword"; manager.ApplyResources(this.chkShowPassword, "chkShowPassword"); panel.SetColumnSpan(this.chkShowPassword, 2); this.chkShowPassword.Name = "chkShowPassword"; this.chkShowPassword.UseVisualStyleBackColor = true; this.chkShowPassword.CheckedChanged += new EventHandler(this.chkShowPassword_CheckedChanged); manager.ApplyResources(this.txtConfirmPassword, "txtConfirmPassword"); this.txtConfirmPassword.Name = "txtConfirmPassword"; this.txtConfirmPassword.UseSystemPasswordChar = true; this.txtConfirmPassword.TextChanged += new EventHandler(this.txtPassword_TextChange); this.txtConfirmPassword.Validating += new CancelEventHandler(this.txtPassword_Validating); manager.ApplyResources(this.chkEncryptFileNames, "chkEncryptFileNames"); panel.SetColumnSpan(this.chkEncryptFileNames, 2); this.chkEncryptFileNames.Name = "chkEncryptFileNames"; this.chkEncryptFileNames.UseVisualStyleBackColor = true; manager.ApplyResources(panel2, "tlpCompression"); panel2.Controls.Add(this.lblMethod, 0, 3); panel2.Controls.Add(this.lblLevel, 0, 2); panel2.Controls.Add(this.lblSolid, 0, 4); panel2.Controls.Add(this.cmbSolid, 1, 4); panel2.Controls.Add(this.cmbLevel, 1, 2); panel2.Controls.Add(this.cmbMethod, 1, 3); panel2.Controls.Add(this.cmbThreadCount, 1, 5); panel2.Controls.Add(this.lblThreadCount, 0, 5); panel2.Controls.Add(this.lblMaxThreads, 2, 5); panel2.Name = "tlpCompression"; manager.ApplyResources(this.lblMethod, "lblMethod"); this.lblMethod.Name = "lblMethod"; manager.ApplyResources(this.lblLevel, "lblLevel"); this.lblLevel.Name = "lblLevel"; manager.ApplyResources(this.lblSolid, "lblSolid"); this.lblSolid.Name = "lblSolid"; panel2.SetColumnSpan(this.cmbSolid, 2); manager.ApplyResources(this.cmbSolid, "cmbSolid"); this.cmbSolid.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbSolid.FormattingEnabled = true; this.cmbSolid.Items.AddRange(new object[] { manager.GetString("cmbSolid.Items"), manager.GetString("cmbSolid.Items1") }); this.cmbSolid.Name = "cmbSolid"; this.cmbSolid.Format += new ListControlConvertEventHandler(this.cmbSolid_Format); panel2.SetColumnSpan(this.cmbLevel, 2); manager.ApplyResources(this.cmbLevel, "cmbLevel"); this.cmbLevel.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbLevel.FormattingEnabled = true; this.cmbLevel.Items.AddRange(new object[] { manager.GetString("cmbLevel.Items"), manager.GetString("cmbLevel.Items1"), manager.GetString("cmbLevel.Items2"), manager.GetString("cmbLevel.Items3"), manager.GetString("cmbLevel.Items4"), manager.GetString("cmbLevel.Items5") }); this.cmbLevel.Name = "cmbLevel"; this.cmbLevel.SelectedIndexChanged += new EventHandler(this.cmbLevel_SelectedIndexChanged); panel2.SetColumnSpan(this.cmbMethod, 2); manager.ApplyResources(this.cmbMethod, "cmbMethod"); this.cmbMethod.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbMethod.FormattingEnabled = true; this.cmbMethod.Name = "cmbMethod"; this.cmbThreadCount.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbThreadCount.FormattingEnabled = true; manager.ApplyResources(this.cmbThreadCount, "cmbThreadCount"); this.cmbThreadCount.Name = "cmbThreadCount"; manager.ApplyResources(this.lblThreadCount, "lblThreadCount"); this.lblThreadCount.Name = "lblThreadCount"; manager.ApplyResources(this.lblMaxThreads, "lblMaxThreads"); this.lblMaxThreads.Name = "lblMaxThreads"; manager.ApplyResources(this.lblPackTo, "lblPackTo"); this.tlpBack.SetColumnSpan(this.lblPackTo, 3); this.lblPackTo.Name = "lblPackTo"; this.AutoComplete.SetAutoComplete(this.cmbPackTo, true); this.tlpBack.SetColumnSpan(this.cmbPackTo, 4); manager.ApplyResources(this.cmbPackTo, "cmbPackTo"); this.cmbPackTo.Name = "cmbPackTo"; this.Validator.SetValidateOn(this.cmbPackTo, ValidateOn.TextChangedTimer); this.cmbPackTo.Validating += new CancelEventHandler(this.cmbPackTo_Validating); this.cmbPackTo.SelectionChangeCommitted += new EventHandler(this.cmbPackTo_TextUpdate); this.cmbPackTo.TextUpdate += new EventHandler(this.cmbPackTo_TextUpdate); manager.ApplyResources(this.lblFormat, "lblFormat"); this.lblFormat.Name = "lblFormat"; manager.ApplyResources(this.cmbFormat, "cmbFormat"); this.cmbFormat.DisplayMember = "Name"; this.cmbFormat.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbFormat.FormattingEnabled = true; this.cmbFormat.MinimumSize = new Size(100, 0); this.cmbFormat.Name = "cmbFormat"; this.cmbFormat.SelectedIndexChanged += new EventHandler(this.cmbFormat_SelectedIndexChanged); manager.ApplyResources(this.grpEncryption, "grpEncryption"); this.grpEncryption.Controls.Add(panel); this.grpEncryption.Name = "grpEncryption"; this.grpEncryption.TabStop = false; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.CausesValidation = false; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnConfigure, "btnConfigure"); this.btnConfigure.Name = "btnConfigure"; this.btnConfigure.UseVisualStyleBackColor = true; this.btnConfigure.Click += new EventHandler(this.btnConfigure_Click); manager.ApplyResources(this.grpCompression, "grpCompression"); this.grpCompression.Controls.Add(panel2); this.grpCompression.Name = "grpCompression"; this.grpCompression.TabStop = false; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.lblFormat, 0, 2); this.tlpBack.Controls.Add(this.lblPackTo, 0, 0); this.tlpBack.Controls.Add(this.cmbFormat, 0, 3); this.tlpBack.Controls.Add(this.btnConfigure, 1, 3); this.tlpBack.Controls.Add(this.cmbPackTo, 0, 1); this.tlpBack.Controls.Add(this.cmbUpdateMode, 2, 3); this.tlpBack.Controls.Add(this.lblUpdateMode, 2, 2); this.tlpBack.Controls.Add(this.lblFilter, 3, 2); this.tlpBack.Controls.Add(this.cmbFilter, 3, 3); this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.cmbUpdateMode, "cmbUpdateMode"); this.cmbUpdateMode.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbUpdateMode.FormattingEnabled = true; this.cmbUpdateMode.MinimumSize = new Size(100, 0); this.cmbUpdateMode.Name = "cmbUpdateMode"; manager.ApplyResources(this.lblUpdateMode, "lblUpdateMode"); this.lblUpdateMode.Name = "lblUpdateMode"; manager.ApplyResources(this.lblFilter, "lblFilter"); this.lblFilter.Name = "lblFilter"; manager.ApplyResources(this.cmbFilter, "cmbFilter"); this.cmbFilter.DrawMode = DrawMode.OwnerDrawFixed; this.cmbFilter.FormattingEnabled = true; this.cmbFilter.Name = "cmbFilter"; manager.ApplyResources(this.lblProperties, "lblProperties"); this.lblProperties.Name = "lblProperties"; this.tlpOptions.SetColumnSpan(this.txtProperties, 2); manager.ApplyResources(this.txtProperties, "txtProperties"); this.txtProperties.Name = "txtProperties"; manager.ApplyResources(this.tlpOptions, "tlpOptions"); this.tlpOptions.Controls.Add(this.grpCompression, 0, 0); this.tlpOptions.Controls.Add(this.grpEncryption, 1, 0); this.tlpOptions.Controls.Add(this.lblProperties, 0, 1); this.tlpOptions.Controls.Add(this.txtProperties, 0, 2); this.tlpOptions.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpOptions.Name = "tlpOptions"; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnCancel, 2, 0); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Name = "tlpButtons"; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; this.Validator.Validating += new EventHandler<CancelEventArgs>(this.Validator_Validating); this.AutoComplete.UseCustomSource = Settings.Default.UseACSRecentItems; this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables; this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.CancelButton = this.btnCancel; base.Controls.Add(this.tlpButtons); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpOptions); base.Controls.Add(this.tlpBack); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FilePackDialog"; base.ShowInTaskbar = false; panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); this.grpEncryption.ResumeLayout(false); this.grpEncryption.PerformLayout(); this.grpCompression.ResumeLayout(false); this.grpCompression.PerformLayout(); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.tlpOptions.ResumeLayout(false); this.tlpOptions.PerformLayout(); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(SearchDialog)); this.tlpBack = new TableLayoutPanel(); this.cmbLookFolder = new ComboBox(); this.filterControlComplex = new ComplexFilterControl(); this.btnDrives = new Button(); this.chkProcessSubfolders = new CheckBox(); this.chkSkipReparsePoints = new CheckBox(); this.chkProcessArchives = new CheckBox(); this.tlpButtons = new TableLayoutPanel(); this.tsView = new ToolStrip(); this.tssbChangeView = new ToolStripSplitButton(); this.tsmiViewBasic = new ToolStripMenuItem(); this.tsmiViewAdvanced = new ToolStripMenuItem(); this.tsmiViewFull = new ToolStripMenuItem(); this.btnOk = new Button(); this.btnCancel = new Button(); this.btnClear = new Button(); this.imgView = new ImageList(this.components); this.toolTipLook = new ToolTip(this.components); this.tlpTemplate = new TableLayoutPanel(); this.lblSearchTemplate = new Label(); this.cmbSearchTemplate = new TemplateComboBox(); this.btnDeleteTemplate = new Button(); this.btnSaveTemplate = new Button(); this.bvlButtons = new Bevel(); this.bvlTemplate = new Bevel(); this.Validator = new ValidatorProvider(); Label label = new Label(); this.tlpBack.SuspendLayout(); this.tlpButtons.SuspendLayout(); this.tsView.SuspendLayout(); this.tlpTemplate.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblLook"); label.Name = "lblLook"; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(label, 0, 0); this.tlpBack.Controls.Add(this.cmbLookFolder, 1, 0); this.tlpBack.Controls.Add(this.filterControlComplex, 0, 2); this.tlpBack.Controls.Add(this.btnDrives, 5, 0); this.tlpBack.Controls.Add(this.chkProcessSubfolders, 0, 1); this.tlpBack.Controls.Add(this.chkSkipReparsePoints, 3, 1); this.tlpBack.Controls.Add(this.chkProcessArchives, 2, 1); this.tlpBack.Name = "tlpBack"; this.tlpBack.SetColumnSpan(this.cmbLookFolder, 4); manager.ApplyResources(this.cmbLookFolder, "cmbLookFolder"); this.cmbLookFolder.Name = "cmbLookFolder"; this.Validator.SetValidateOn(this.cmbLookFolder, ValidateOn.TextChangedTimer); this.cmbLookFolder.SelectionChangeCommitted += new EventHandler(this.cmbLookFolder_TextUpdate); this.cmbLookFolder.TextUpdate += new EventHandler(this.cmbLookFolder_TextUpdate); this.cmbLookFolder.Validating += new CancelEventHandler(this.cmbLookFolder_Validating); this.tlpBack.SetColumnSpan(this.filterControlComplex, 6); manager.ApplyResources(this.filterControlComplex, "filterControlComplex"); this.filterControlComplex.HideViewFilters = ViewFilters.Folder; this.filterControlComplex.MinimumSize = new Size(0x1c4, 0); this.filterControlComplex.Name = "filterControlComplex"; this.filterControlComplex.View = Settings.Default.SearchDialogView; this.filterControlComplex.FilterChanged += new EventHandler(this.FilterChanged); this.filterControlComplex.ViewChanged += new EventHandler(this.filterControlComplex_ViewChanged); manager.ApplyResources(this.btnDrives, "btnDrives"); this.btnDrives.Name = "btnDrives"; this.btnDrives.UseVisualStyleBackColor = true; this.btnDrives.Click += new EventHandler(this.btnDrives_Click); manager.ApplyResources(this.chkProcessSubfolders, "chkProcessSubfolders"); this.chkProcessSubfolders.Checked = true; this.chkProcessSubfolders.CheckState = CheckState.Checked; this.tlpBack.SetColumnSpan(this.chkProcessSubfolders, 2); this.chkProcessSubfolders.Name = "chkProcessSubfolders"; this.chkProcessSubfolders.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkSkipReparsePoints, "chkSkipReparsePoints"); this.chkSkipReparsePoints.Checked = true; this.chkSkipReparsePoints.CheckState = CheckState.Checked; this.tlpBack.SetColumnSpan(this.chkSkipReparsePoints, 3); this.chkSkipReparsePoints.Name = "chkSkipReparsePoints"; this.chkSkipReparsePoints.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkProcessArchives, "chkProcessArchives"); this.chkProcessArchives.Name = "chkProcessArchives"; this.chkProcessArchives.UseVisualStyleBackColor = true; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.tsView, 0, 0); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Controls.Add(this.btnCancel, 3, 0); this.tlpButtons.Controls.Add(this.btnClear, 2, 0); this.tlpButtons.Name = "tlpButtons"; this.tsView.BackColor = SystemColors.Control; manager.ApplyResources(this.tsView, "tsView"); this.tsView.GripStyle = ToolStripGripStyle.Hidden; this.tsView.Items.AddRange(new ToolStripItem[] { this.tssbChangeView }); this.tsView.LayoutStyle = ToolStripLayoutStyle.Table; this.tsView.Name = "tsView"; this.tsView.TabStop = true; this.tssbChangeView.DropDownItems.AddRange(new ToolStripItem[] { this.tsmiViewBasic, this.tsmiViewAdvanced, this.tsmiViewFull }); this.tssbChangeView.Image = Resources.HideDetail; manager.ApplyResources(this.tssbChangeView, "tssbChangeView"); this.tssbChangeView.Name = "tssbChangeView"; this.tssbChangeView.ButtonClick += new EventHandler(this.tssbChangeView_ButtonClick); this.tsmiViewBasic.Name = "tsmiViewBasic"; manager.ApplyResources(this.tsmiViewBasic, "tsmiViewBasic"); this.tsmiViewBasic.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint); this.tsmiViewBasic.Click += new EventHandler(this.tsmiShowBasic_Click); this.tsmiViewAdvanced.Name = "tsmiViewAdvanced"; manager.ApplyResources(this.tsmiViewAdvanced, "tsmiViewAdvanced"); this.tsmiViewAdvanced.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint); this.tsmiViewAdvanced.Click += new EventHandler(this.tsmiShowBasic_Click); this.tsmiViewFull.Name = "tsmiViewFull"; manager.ApplyResources(this.tsmiViewFull, "tsmiViewFull"); this.tsmiViewFull.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint); this.tsmiViewFull.Click += new EventHandler(this.tsmiShowBasic_Click); manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnClear, "btnClear"); this.btnClear.Name = "btnClear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new EventHandler(this.btnClear_Click); this.imgView.ColorDepth = ColorDepth.Depth8Bit; manager.ApplyResources(this.imgView, "imgView"); this.imgView.TransparentColor = Color.Transparent; manager.ApplyResources(this.tlpTemplate, "tlpTemplate"); this.tlpTemplate.Controls.Add(this.lblSearchTemplate, 0, 0); this.tlpTemplate.Controls.Add(this.cmbSearchTemplate, 1, 0); this.tlpTemplate.Controls.Add(this.btnSaveTemplate, 2, 0); this.tlpTemplate.Controls.Add(this.btnDeleteTemplate, 3, 0); this.tlpTemplate.Name = "tlpTemplate"; manager.ApplyResources(this.lblSearchTemplate, "lblSearchTemplate"); this.lblSearchTemplate.Name = "lblSearchTemplate"; this.cmbSearchTemplate.DeleteButton = this.btnDeleteTemplate; manager.ApplyResources(this.cmbSearchTemplate, "cmbSearchTemplate"); this.cmbSearchTemplate.FormattingEnabled = true; this.cmbSearchTemplate.Name = "cmbSearchTemplate"; this.cmbSearchTemplate.SaveButton = this.btnSaveTemplate; this.cmbSearchTemplate.SelectionChangeCommitted += new EventHandler(this.cmbSearchTemplate_SelectionChangeCommitted); this.cmbSearchTemplate.Leave += new EventHandler(this.cmbSearchTemplate_Enter); this.cmbSearchTemplate.Enter += new EventHandler(this.cmbSearchTemplate_Enter); this.cmbSearchTemplate.TextUpdate += new EventHandler(this.cmbSearchTemplate_TextUpdate); manager.ApplyResources(this.btnDeleteTemplate, "btnDeleteTemplate"); this.btnDeleteTemplate.Name = "btnDeleteTemplate"; this.btnDeleteTemplate.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnSaveTemplate, "btnSaveTemplate"); this.btnSaveTemplate.Name = "btnSaveTemplate"; this.btnSaveTemplate.UseVisualStyleBackColor = true; this.btnSaveTemplate.Click += new EventHandler(this.btnSaveTemplate_Click); this.btnSaveTemplate.EnabledChanged += new EventHandler(this.btnSaveTemplate_EnabledChanged); manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Bottom; this.bvlButtons.Style = Border3DStyle.Flat; manager.ApplyResources(this.bvlTemplate, "bvlTemplate"); this.bvlTemplate.ForeColor = SystemColors.ControlDarkDark; this.bvlTemplate.Name = "bvlTemplate"; this.bvlTemplate.Sides = Border3DSide.Top; this.bvlTemplate.Style = Border3DStyle.Flat; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.CancelButton = this.btnCancel; base.Controls.Add(this.tlpBack); base.Controls.Add(this.bvlTemplate); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpButtons); base.Controls.Add(this.tlpTemplate); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SearchDialog"; base.ShowInTaskbar = false; this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); this.tsView.ResumeLayout(false); this.tsView.PerformLayout(); this.tlpTemplate.ResumeLayout(false); this.tlpTemplate.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(PasteNewFileDialog)); this.cmbImageFormat = new ComboBox(); this.rbFormatImage = new RadioButton(); this.cmbTextEncoding = new ComboBox(); this.rbFormatHtml = new RadioButton(); this.rbFormatText = new RadioButton(); this.rbFormatRtf = new RadioButton(); this.rbFormatCsv = new RadioButton(); this.lblNewName = new Label(); this.cmbNewName = new ComboBox(); this.lblFolder = new Label(); this.tsFolder = new VirtualItemToolStrip(this.components); 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, "grpDataFormat"); panel2.SetColumnSpan(box, 3); box.Controls.Add(panel); box.Name = "grpDataFormat"; box.TabStop = false; manager.ApplyResources(panel, "tlpPasteFormat"); panel.Controls.Add(this.cmbImageFormat, 1, 0); panel.Controls.Add(this.rbFormatImage, 0, 0); panel.Controls.Add(this.cmbTextEncoding, 1, 1); panel.Controls.Add(this.rbFormatHtml, 0, 3); panel.Controls.Add(this.rbFormatText, 0, 1); panel.Controls.Add(this.rbFormatRtf, 0, 2); panel.Controls.Add(this.rbFormatCsv, 0, 4); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpPasteFormat"; this.cmbImageFormat.DisplayMember = "CodecName"; manager.ApplyResources(this.cmbImageFormat, "cmbImageFormat"); this.cmbImageFormat.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbImageFormat.FormattingEnabled = true; this.cmbImageFormat.Name = "cmbImageFormat"; this.cmbImageFormat.SelectionChangeCommitted += new EventHandler(this.cmbImageFormat_SelectionChangeCommitted); manager.ApplyResources(this.rbFormatImage, "rbFormatImage"); this.rbFormatImage.Name = "rbFormatImage"; this.rbFormatImage.TabStop = true; this.rbFormatImage.UseVisualStyleBackColor = true; this.rbFormatImage.CheckedChanged += new EventHandler(this.rbPasteAsImage_CheckedChanged); this.cmbTextEncoding.DisplayMember = "DisplayName"; manager.ApplyResources(this.cmbTextEncoding, "cmbTextEncoding"); this.cmbTextEncoding.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbTextEncoding.FormattingEnabled = true; this.cmbTextEncoding.Name = "cmbTextEncoding"; manager.ApplyResources(this.rbFormatHtml, "rbFormatHtml"); panel.SetColumnSpan(this.rbFormatHtml, 2); this.rbFormatHtml.Name = "rbFormatHtml"; this.rbFormatHtml.TabStop = true; this.rbFormatHtml.UseVisualStyleBackColor = true; this.rbFormatHtml.CheckedChanged += new EventHandler(this.rbPasteAsText_CheckedChanged); manager.ApplyResources(this.rbFormatText, "rbFormatText"); this.rbFormatText.Name = "rbFormatText"; this.rbFormatText.TabStop = true; this.rbFormatText.UseVisualStyleBackColor = true; this.rbFormatText.CheckedChanged += new EventHandler(this.rbPasteAsText_CheckedChanged); manager.ApplyResources(this.rbFormatRtf, "rbFormatRtf"); panel.SetColumnSpan(this.rbFormatRtf, 2); this.rbFormatRtf.Name = "rbFormatRtf"; this.rbFormatRtf.TabStop = true; this.rbFormatRtf.UseVisualStyleBackColor = true; this.rbFormatRtf.CheckedChanged += new EventHandler(this.rbPasteAsText_CheckedChanged); manager.ApplyResources(this.rbFormatCsv, "rbFormatCsv"); panel.SetColumnSpan(this.rbFormatCsv, 2); this.rbFormatCsv.Name = "rbFormatCsv"; this.rbFormatCsv.TabStop = true; this.rbFormatCsv.UseVisualStyleBackColor = true; this.rbFormatCsv.CheckedChanged += new EventHandler(this.rbPasteAsText_CheckedChanged); manager.ApplyResources(panel2, "tlpBack"); panel2.Controls.Add(box, 0, 4); panel2.Controls.Add(this.lblNewName, 0, 2); panel2.Controls.Add(this.cmbNewName, 0, 3); panel2.Controls.Add(this.lblFolder, 0, 0); panel2.Controls.Add(this.tsFolder, 0, 1); panel2.Name = "tlpBack"; manager.ApplyResources(this.lblNewName, "lblNewName"); panel2.SetColumnSpan(this.lblNewName, 3); this.lblNewName.Name = "lblNewName"; panel2.SetColumnSpan(this.cmbNewName, 3); manager.ApplyResources(this.cmbNewName, "cmbNewName"); this.cmbNewName.Name = "cmbNewName"; this.Validator.SetValidateOn(this.cmbNewName, ValidateOn.TextChanged); this.cmbNewName.Validating += new CancelEventHandler(this.cmbNewName_Validating); this.cmbNewName.Enter += new EventHandler(this.cmbNewName_Enter); manager.ApplyResources(this.lblFolder, "lblFolder"); panel2.SetColumnSpan(this.lblFolder, 3); this.lblFolder.Name = "lblFolder"; this.tsFolder.BackColor = SystemColors.ButtonFace; panel2.SetColumnSpan(this.tsFolder, 3); this.tsFolder.GripStyle = ToolStripGripStyle.Hidden; manager.ApplyResources(this.tsFolder, "tsFolder"); this.tsFolder.Name = "tsFolder"; manager.ApplyResources(panel3, "tlpButtons"); panel3.Controls.Add(this.btnOk, 1, 0); panel3.Controls.Add(this.btnCancel, 2, 0); panel3.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel3.Name = "tlpButtons"; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.DialogResult = DialogResult.OK; this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.CausesValidation = false; this.btnCancel.DialogResult = DialogResult.Cancel; 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 = "PasteNewFileDialog"; base.ShowInTaskbar = false; base.Activated += new EventHandler(this.PasteNewFileDialog_Activated); box.ResumeLayout(false); box.PerformLayout(); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); panel3.ResumeLayout(false); panel3.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(MakeFolderDialog)); this.cmbNewFolder = new ComboBox(); this.tsCurrentFolder = new VirtualItemToolStrip(this.components); this.tlpButtons = new TableLayoutPanel(); this.btnCancel = new Button(); this.btnOk = new Button(); this.bvlButtons = new Bevel(); this.Validator = new ValidatorProvider(); this.AutoComplete = new AutoCompleteProvider(); Label label = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); Label control = new Label(); panel.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblNewFolder"); label.Name = "lblNewFolder"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(label, 0, 2); panel.Controls.Add(this.cmbNewFolder, 0, 3); panel.Controls.Add(control, 0, 0); panel.Controls.Add(this.tsCurrentFolder, 0, 1); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBack"; this.AutoComplete.SetAutoComplete(this.cmbNewFolder, true); manager.ApplyResources(this.cmbNewFolder, "cmbNewFolder"); this.cmbNewFolder.Name = "cmbNewFolder"; this.Validator.SetValidateOn(this.cmbNewFolder, ValidateOn.TextChanged); this.cmbNewFolder.Validating += new CancelEventHandler(this.cmbNewFolder_Validating); manager.ApplyResources(control, "lblItem"); control.Name = "lblItem"; this.tsCurrentFolder.BackColor = SystemColors.ButtonFace; manager.ApplyResources(this.tsCurrentFolder, "tsCurrentFolder"); this.tsCurrentFolder.GripStyle = ToolStripGripStyle.Hidden; this.tsCurrentFolder.Name = "tsCurrentFolder"; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnCancel, 2, 0); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Name = "tlpButtons"; this.btnCancel.CausesValidation = false; this.btnCancel.DialogResult = DialogResult.Cancel; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnOk.DialogResult = DialogResult.OK; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables; this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.CancelButton = this.btnCancel; base.Controls.Add(this.tlpButtons); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "MakeFolderDialog"; base.ShowInTaskbar = false; panel.ResumeLayout(false); panel.PerformLayout(); this.tlpButtons.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }