private void InitializeComponent() { this.components = new Container(); this.bvlButtons = new Bevel(); this.button1 = new Button(); this.button2 = new Button(); this.button4 = new Button(); this.button3 = new Button(); this.pictureBox = new PictureBox(); this.label = new Label(); this.cmsLabel = new ContextMenuStrip(this.components); this.tsmiCopy = new ToolStripMenuItem(); this.checkBox = new CheckBox(); this.tlpBack = new TableLayoutPanel(); this.tlpButtons = new TableLayoutPanel(); ((ISupportInitialize) this.pictureBox).BeginInit(); this.cmsLabel.SuspendLayout(); this.tlpBack.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); this.bvlButtons.Dock = DockStyle.Top; this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Location = new Point(0, 0x43); this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Size = new Size(0x17a, 1); this.bvlButtons.Style = Border3DStyle.Flat; this.bvlButtons.TabIndex = 1; this.button1.AutoSize = true; this.button1.FlatStyle = FlatStyle.System; this.button1.Location = new Point(0x33, 7); this.button1.Name = "button1"; this.button1.Size = new Size(0x4b, 0x17); this.button1.TabIndex = 0; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Visible = false; this.button1.Click += new EventHandler(this.button_Click); this.button2.AutoSize = true; this.button2.FlatStyle = FlatStyle.System; this.button2.Location = new Point(0x84, 7); this.button2.Name = "button2"; this.button2.Size = new Size(0x4b, 0x17); this.button2.TabIndex = 1; this.button2.Text = "button2"; this.button2.UseVisualStyleBackColor = true; this.button2.Visible = false; this.button2.Click += new EventHandler(this.button_Click); this.button4.AutoSize = true; this.button4.FlatStyle = FlatStyle.System; this.button4.Location = new Point(0x126, 7); this.button4.Name = "button4"; this.button4.Size = new Size(0x4b, 0x17); this.button4.TabIndex = 3; this.button4.Text = "button4"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new EventHandler(this.button_Click); this.button3.AutoSize = true; this.button3.FlatStyle = FlatStyle.System; this.button3.Location = new Point(0xd5, 7); this.button3.Name = "button3"; this.button3.Size = new Size(0x4b, 0x17); this.button3.TabIndex = 2; this.button3.Text = "button3"; this.button3.UseVisualStyleBackColor = true; this.button3.Visible = false; this.button3.Click += new EventHandler(this.button_Click); this.pictureBox.Location = new Point(12, 12); this.pictureBox.Name = "pictureBox"; this.pictureBox.Size = new Size(0x20, 0x20); this.pictureBox.SizeMode = PictureBoxSizeMode.CenterImage; this.pictureBox.TabIndex = 0; this.pictureBox.TabStop = false; this.label.AutoSize = true; this.label.ContextMenuStrip = this.cmsLabel; this.label.Dock = DockStyle.Top; this.label.Location = new Point(50, 9); this.label.Margin = new Padding(3, 0, 3, 6); this.label.MinimumSize = new Size(0, 0x30); this.label.Name = "label"; this.label.Size = new Size(0x13c, 0x30); this.label.TabIndex = 0; this.label.Text = "label"; this.label.UseMnemonic = false; this.cmsLabel.Items.AddRange(new ToolStripItem[] { this.tsmiCopy }); this.cmsLabel.Name = "cmsLabel"; this.cmsLabel.Size = new Size(0x91, 0x1a); this.tsmiCopy.Name = "tsmiCopy"; this.tsmiCopy.ShortcutKeys = Keys.Control | Keys.C; this.tsmiCopy.Size = new Size(0x90, 0x16); this.tsmiCopy.Text = "&Copy"; this.tsmiCopy.Click += new EventHandler(this.tsmiCopy_Click); this.tlpButtons.SetColumnSpan(this.checkBox, 2); this.checkBox.Dock = DockStyle.Left; this.checkBox.FlatStyle = FlatStyle.System; this.checkBox.Location = new Point(9, 7); this.checkBox.Name = "checkBox"; this.checkBox.Size = new Size(0x23, 0x17); this.checkBox.TabIndex = 4; this.checkBox.Text = "checkBox"; this.checkBox.UseCompatibleTextRendering = true; this.checkBox.UseVisualStyleBackColor = true; this.tlpBack.AutoSize = true; this.tlpBack.ColumnCount = 2; this.tlpBack.ColumnStyles.Add(new ColumnStyle()); this.tlpBack.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tlpBack.Controls.Add(this.label, 1, 0); this.tlpBack.Controls.Add(this.pictureBox, 0, 0); this.tlpBack.Dock = DockStyle.Top; this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Location = new Point(0, 0); this.tlpBack.Name = "tlpBack"; this.tlpBack.Padding = new Padding(9, 9, 9, 4); this.tlpBack.RowCount = 1; this.tlpBack.RowStyles.Add(new RowStyle()); this.tlpBack.RowStyles.Add(new RowStyle(SizeType.Absolute, 54f)); this.tlpBack.Size = new Size(0x17a, 0x43); this.tlpBack.TabIndex = 0; this.tlpButtons.AutoSize = true; this.tlpButtons.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.tlpButtons.BackColor = Color.Gainsboro; this.tlpButtons.ColumnCount = 6; this.tlpButtons.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 41f)); this.tlpButtons.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tlpButtons.ColumnStyles.Add(new ColumnStyle()); this.tlpButtons.ColumnStyles.Add(new ColumnStyle()); this.tlpButtons.ColumnStyles.Add(new ColumnStyle()); this.tlpButtons.ColumnStyles.Add(new ColumnStyle()); this.tlpButtons.Controls.Add(this.button1, 2, 0); this.tlpButtons.Controls.Add(this.button2, 3, 0); this.tlpButtons.Controls.Add(this.button3, 4, 0); this.tlpButtons.Controls.Add(this.button4, 5, 0); this.tlpButtons.Controls.Add(this.checkBox, 0, 0); this.tlpButtons.Dock = DockStyle.Top; this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Location = new Point(0, 0x44); this.tlpButtons.Name = "tlpButtons"; this.tlpButtons.Padding = new Padding(6, 4, 6, 4); this.tlpButtons.RowCount = 2; this.tlpButtons.RowStyles.Add(new RowStyle()); this.tlpButtons.RowStyles.Add(new RowStyle()); this.tlpButtons.Size = new Size(0x17a, 0x25); this.tlpButtons.TabIndex = 2; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.AutoSize = true; base.AutoSizeMode = AutoSizeMode.GrowAndShrink; base.ClientSize = new Size(0x17a, 0x69); base.Controls.Add(this.tlpButtons); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpBack); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; this.MinimumSize = new Size(0x180, 0); base.Name = "MessageDialog"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "MessageDialog"; ((ISupportInitialize) this.pictureBox).EndInit(); this.cmsLabel.ResumeLayout(false); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
protected static void UpdateBevel(Bevel control) { control.Style = Application.RenderWithVisualStyles ? Border3DStyle.Flat : Border3DStyle.Etched; control.Visible = (control.Style != Border3DStyle.Flat) || (control.ForeColor.A != 0); }
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(SelectFolderDialog)); this.chkUpdateTree = new CheckBox(); this.cmbFolder = new ComboBox(); this.tvFolders = new VirtualFolderTreeView(); this.tlpButtons = new TableLayoutPanel(); this.btnCancel = new Button(); this.btnOk = new Button(); this.btnMakeFolder = new Button(); this.toolTipError = new ToolTip(this.components); this.bvlButtons = new Bevel(); this.AutoComplete = new AutoCompleteProvider(); Label label = new Label(); Label label2 = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblFolder"); label.Name = "lblFolder"; manager.ApplyResources(label2, "lblTree"); label2.Name = "lblTree"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(label, 0, 0); panel.Controls.Add(this.chkUpdateTree, 0, 4); panel.Controls.Add(this.cmbFolder, 0, 1); panel.Controls.Add(label2, 0, 2); panel.Controls.Add(this.tvFolders, 0, 3); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBack"; manager.ApplyResources(this.chkUpdateTree, "chkUpdateTree"); this.chkUpdateTree.Checked = true; this.chkUpdateTree.CheckState = CheckState.Checked; this.chkUpdateTree.Name = "chkUpdateTree"; this.chkUpdateTree.UseVisualStyleBackColor = true; this.AutoComplete.SetAutoComplete(this.cmbFolder, true); manager.ApplyResources(this.cmbFolder, "cmbFolder"); this.cmbFolder.FormattingEnabled = true; this.cmbFolder.Name = "cmbFolder"; this.cmbFolder.SelectionChangeCommitted += new EventHandler(this.cmbFolder_SelectionChangeCommitted); this.cmbFolder.Leave += new EventHandler(this.cmbFolder_Leave); this.cmbFolder.DropDownClosed += new EventHandler(this.cmbFolder_DropDownClosed); this.cmbFolder.TextUpdate += new EventHandler(this.cmbFolder_TextUpdate); this.tvFolders.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); this.tvFolders.DataBindings.Add(new Binding("FolderNameCasing", VirtualFilePanelSettings.Default, "FolderNameCasing", true, DataSourceUpdateMode.Never)); manager.ApplyResources(this.tvFolders, "tvFolders"); this.tvFolders.DrawMode = TreeViewDrawMode.OwnerDrawAll; this.tvFolders.ExplorerTheme = Settings.Default.ExplorerTheme; this.tvFolders.FadePlusMinus = true; this.tvFolders.FolderNameCasing = VirtualFilePanelSettings.Default.FolderNameCasing; this.tvFolders.FullRowSelect = true; this.tvFolders.HideSelection = false; this.tvFolders.HotTracking = true; this.tvFolders.Name = "tvFolders"; this.tvFolders.ShowAllRootFolders = true; this.tvFolders.ShowItemIcons = false; this.tvFolders.ShowLines = false; this.tvFolders.WatchChanges = Settings.Default.WatchFolderTree; this.tvFolders.AfterSelect += new TreeViewEventHandler(this.treeView_AfterSelect); manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnCancel, 3, 0); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Controls.Add(this.btnMakeFolder, 2, 0); this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Name = "tlpButtons"; this.btnCancel.DialogResult = DialogResult.Cancel; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnMakeFolder, "btnMakeFolder"); this.btnMakeFolder.Name = "btnMakeFolder"; this.btnMakeFolder.UseVisualStyleBackColor = true; this.btnMakeFolder.Click += new EventHandler(this.btnMakeFolder_Click); this.toolTipError.ToolTipIcon = ToolTipIcon.Error; this.toolTipError.ToolTipTitle = "Invalid Folder Name"; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Bottom; this.bvlButtons.Style = Border3DStyle.Flat; this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables; this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(panel); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpButtons); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SelectFolderDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.SelectFolderDialog_Shown); base.FormClosed += new FormClosedEventHandler(this.SelectFolderDialog_FormClosed); panel.ResumeLayout(false); panel.PerformLayout(); 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(PasswordDialog)); this.chkShowPassword = new CheckBox(); this.txtPassword = new TextBoxEx(); this.lblPassword = new Label(); this.imgKeys = new PictureBox(); this.chkRememberPassword = new CheckBox(); Button button = new Button(); Button button2 = new Button(); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); Bevel bevel = new Bevel(); panel.SuspendLayout(); ((ISupportInitialize) this.imgKeys).BeginInit(); panel2.SuspendLayout(); base.SuspendLayout(); button.DialogResult = DialogResult.OK; manager.ApplyResources(button, "btnOk"); button.Name = "btnOk"; button.UseVisualStyleBackColor = true; button2.DialogResult = DialogResult.Cancel; manager.ApplyResources(button2, "btnCancel"); button2.Name = "btnCancel"; button2.UseVisualStyleBackColor = true; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.chkShowPassword, 1, 2); panel.Controls.Add(this.txtPassword, 1, 1); panel.Controls.Add(this.lblPassword, 1, 0); panel.Controls.Add(this.imgKeys, 0, 0); panel.Controls.Add(this.chkRememberPassword, 1, 3); panel.Name = "tlpBack"; manager.ApplyResources(this.chkShowPassword, "chkShowPassword"); this.chkShowPassword.Name = "chkShowPassword"; this.chkShowPassword.UseVisualStyleBackColor = true; this.chkShowPassword.CheckedChanged += new EventHandler(this.chkShowPassword_CheckedChanged); manager.ApplyResources(this.txtPassword, "txtPassword"); this.txtPassword.Name = "txtPassword"; this.txtPassword.UseSystemPasswordChar = true; manager.ApplyResources(this.lblPassword, "lblPassword"); this.lblPassword.Name = "lblPassword"; manager.ApplyResources(this.imgKeys, "imgKeys"); this.imgKeys.Name = "imgKeys"; panel.SetRowSpan(this.imgKeys, 4); this.imgKeys.TabStop = false; manager.ApplyResources(this.chkRememberPassword, "chkRememberPassword"); this.chkRememberPassword.Checked = true; this.chkRememberPassword.CheckState = CheckState.Checked; this.chkRememberPassword.Name = "chkRememberPassword"; this.chkRememberPassword.UseVisualStyleBackColor = true; manager.ApplyResources(panel2, "tlpButtons"); panel2.Controls.Add(button, 1, 0); panel2.Controls.Add(button2, 2, 0); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpButtons"; manager.ApplyResources(bevel, "bvlButtons"); bevel.ForeColor = SystemColors.ControlDarkDark; bevel.Name = "bvlButtons"; bevel.Sides = Border3DSide.Top; bevel.Style = Border3DStyle.Flat; base.AcceptButton = button; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = button2; base.Controls.Add(panel2); base.Controls.Add(bevel); base.Controls.Add(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "PasswordDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.PasswordDialog_Shown); base.FormClosed += new FormClosedEventHandler(this.PasswordDialog_FormClosed); panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.imgKeys).EndInit(); panel2.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(RunAsDialog)); this.lblUserName = new Label(); this.lblPassword = new Label(); this.txtPassword = new TextBoxEx(); this.chkShowPassword = new CheckBox(); this.cmbUserName = new ComboBox(); this.rbCurrentUser = new RadioButton(); this.rbAdministrator = new RadioButton(); this.rbSpecifiedUser = new RadioButton(); this.chkRunInThread = new CheckBox(); this.cmbCommandLine = new ComboBox(); this.lblItem = new Label(); this.tsItem = new VirtualItemToolStrip(this.components); this.btnOk = new Button(); this.btnCancel = new Button(); this.bvlButtons = new Bevel(); Label label = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); GroupBox box = new GroupBox(); TableLayoutPanel panel2 = new TableLayoutPanel(); TableLayoutPanel panel3 = new TableLayoutPanel(); panel.SuspendLayout(); box.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblCommandLine"); label.Name = "lblCommandLine"; manager.ApplyResources(panel, "tlpUserAccount"); panel.Controls.Add(this.lblUserName, 1, 3); panel.Controls.Add(this.lblPassword, 1, 4); panel.Controls.Add(this.txtPassword, 2, 4); panel.Controls.Add(this.chkShowPassword, 2, 5); panel.Controls.Add(this.cmbUserName, 2, 3); panel.Controls.Add(this.rbCurrentUser, 0, 0); panel.Controls.Add(this.rbAdministrator, 0, 1); panel.Controls.Add(this.rbSpecifiedUser, 0, 2); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpUserAccount"; manager.ApplyResources(this.lblUserName, "lblUserName"); this.lblUserName.MinimumSize = new Size(80, 0); this.lblUserName.Name = "lblUserName"; manager.ApplyResources(this.lblPassword, "lblPassword"); this.lblPassword.MinimumSize = new Size(80, 0); this.lblPassword.Name = "lblPassword"; manager.ApplyResources(this.txtPassword, "txtPassword"); this.txtPassword.Name = "txtPassword"; this.txtPassword.UseSystemPasswordChar = true; 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.cmbUserName, "cmbUserName"); this.cmbUserName.FormattingEnabled = true; this.cmbUserName.Name = "cmbUserName"; manager.ApplyResources(this.rbCurrentUser, "rbCurrentUser"); this.rbCurrentUser.Checked = true; panel.SetColumnSpan(this.rbCurrentUser, 3); this.rbCurrentUser.Name = "rbCurrentUser"; this.rbCurrentUser.TabStop = true; this.rbCurrentUser.UseVisualStyleBackColor = true; this.rbCurrentUser.Click += new EventHandler(this.rbCurrentUser_Click); manager.ApplyResources(this.rbAdministrator, "rbAdministrator"); panel.SetColumnSpan(this.rbAdministrator, 3); this.rbAdministrator.Name = "rbAdministrator"; this.rbAdministrator.TabStop = true; this.rbAdministrator.UseVisualStyleBackColor = true; this.rbAdministrator.Click += new EventHandler(this.rbCurrentUser_Click); manager.ApplyResources(this.rbSpecifiedUser, "rbSpecifiedUser"); panel.SetColumnSpan(this.rbSpecifiedUser, 3); this.rbSpecifiedUser.Name = "rbSpecifiedUser"; this.rbSpecifiedUser.UseVisualStyleBackColor = true; this.rbSpecifiedUser.Click += new EventHandler(this.rbCurrentUser_Click); manager.ApplyResources(box, "grpUserAccount"); box.Controls.Add(panel); box.Name = "grpUserAccount"; box.TabStop = false; manager.ApplyResources(panel2, "tlpBack"); panel2.Controls.Add(label, 0, 2); panel2.Controls.Add(box, 0, 4); panel2.Controls.Add(this.chkRunInThread, 0, 5); panel2.Controls.Add(this.cmbCommandLine, 0, 3); panel2.Controls.Add(this.lblItem, 0, 0); panel2.Controls.Add(this.tsItem, 0, 1); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpBack"; manager.ApplyResources(this.chkRunInThread, "chkRunInThread"); this.chkRunInThread.Checked = true; this.chkRunInThread.CheckState = CheckState.Indeterminate; this.chkRunInThread.Name = "chkRunInThread"; this.chkRunInThread.ThreeState = true; this.chkRunInThread.UseVisualStyleBackColor = true; manager.ApplyResources(this.cmbCommandLine, "cmbCommandLine"); this.cmbCommandLine.FormattingEnabled = true; this.cmbCommandLine.Name = "cmbCommandLine"; manager.ApplyResources(this.lblItem, "lblItem"); this.lblItem.Name = "lblItem"; 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.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; 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; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(panel3); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel2); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "RunAsDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.RunAsDialog_Shown); panel.ResumeLayout(false); panel.PerformLayout(); box.ResumeLayout(false); box.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(CopyWorkerDialog)); this.lblElapsedTime = new Label(); this.lblRemainingTime = new Label(); this.lblCopyMode = new Label(); this.lblStarted = new Label(); this.lblFiles = new Label(); this.lblTotalSize = new Label(); this.lblProcessedSize = new Label(); this.lblSpeed = new Label(); this.lblFileProgress = new Label(); this.barFileProgress = new VistaProgressBar(); this.lblToName = new Label(); this.lblFromName = new Label(); this.lblAction = new Label(); this.tmrUpdateProgress = new System.Windows.Forms.Timer(this.components); this.tblCopyDetails = new TableLayoutPanel(); this.btnSkipFile = new Button(); Label label = new Label(); Label label2 = new Label(); Bevel control = new Bevel(); Bevel bevel2 = new Bevel(); Label label3 = new Label(); Label label4 = new Label(); Label label5 = new Label(); Label label6 = new Label(); Label label7 = new Label(); Label label8 = new Label(); Label label9 = new Label(); Label label10 = new Label(); Panel panel = new Panel(); Panel panel2 = new Panel(); Panel panel3 = new Panel(); Panel panel4 = new Panel(); Panel panel5 = new Panel(); Panel panel6 = new Panel(); Panel panel7 = new Panel(); Panel panel8 = new Panel(); panel.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); panel4.SuspendLayout(); panel5.SuspendLayout(); panel6.SuspendLayout(); panel7.SuspendLayout(); panel8.SuspendLayout(); this.tblCopyDetails.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblProgress2"); label.Name = "lblProgress2"; label.UseMnemonic = false; manager.ApplyResources(label2, "lblTo"); label2.Name = "lblTo"; label2.UseMnemonic = false; this.tblCopyDetails.SetColumnSpan(control, 3); manager.ApplyResources(control, "bvlSeparator1"); control.Name = "bvlSeparator1"; control.Sides = Border3DSide.Top; this.tblCopyDetails.SetColumnSpan(bevel2, 3); manager.ApplyResources(bevel2, "bvlSeparator2"); bevel2.Name = "bvlSeparator2"; bevel2.Sides = Border3DSide.Top; manager.ApplyResources(label3, "lblStartedCaption"); label3.Name = "lblStartedCaption"; manager.ApplyResources(label4, "lblElapsedCaption"); label4.Name = "lblElapsedCaption"; manager.ApplyResources(label5, "lblRemainingCaption"); label5.Name = "lblRemainingCaption"; manager.ApplyResources(label6, "lblCopyModeCaption"); label6.Name = "lblCopyModeCaption"; manager.ApplyResources(label7, "lblTotalSizeCaption"); label7.Name = "lblTotalSizeCaption"; manager.ApplyResources(label8, "lblProcessedSizeCaption"); label8.Name = "lblProcessedSizeCaption"; manager.ApplyResources(label9, "lblSpeedCaption"); label9.Name = "lblSpeedCaption"; manager.ApplyResources(label10, "lblFilesCaption"); label10.Name = "lblFilesCaption"; panel.Controls.Add(this.lblElapsedTime); panel.Controls.Add(label4); manager.ApplyResources(panel, "pnlElapsedTime"); panel.Name = "pnlElapsedTime"; manager.ApplyResources(this.lblElapsedTime, "lblElapsedTime"); this.lblElapsedTime.Name = "lblElapsedTime"; panel2.Controls.Add(this.lblRemainingTime); panel2.Controls.Add(label5); manager.ApplyResources(panel2, "pnlRemainingTime"); panel2.Name = "pnlRemainingTime"; manager.ApplyResources(this.lblRemainingTime, "lblRemainingTime"); this.lblRemainingTime.Name = "lblRemainingTime"; panel3.Controls.Add(this.lblCopyMode); panel3.Controls.Add(label6); manager.ApplyResources(panel3, "pnlCopyMode"); panel3.Name = "pnlCopyMode"; manager.ApplyResources(this.lblCopyMode, "lblCopyMode"); this.lblCopyMode.Name = "lblCopyMode"; this.lblCopyMode.UseMnemonic = false; panel4.Controls.Add(this.lblStarted); panel4.Controls.Add(label3); manager.ApplyResources(panel4, "pnlStarted"); panel4.Name = "pnlStarted"; manager.ApplyResources(this.lblStarted, "lblStarted"); this.lblStarted.Name = "lblStarted"; manager.ApplyResources(panel5, "pnlFiles"); panel5.Controls.Add(this.lblFiles); panel5.Controls.Add(label10); panel5.Name = "pnlFiles"; manager.ApplyResources(this.lblFiles, "lblFiles"); this.lblFiles.Name = "lblFiles"; manager.ApplyResources(panel6, "pnlTotalSize"); panel6.Controls.Add(this.lblTotalSize); panel6.Controls.Add(label7); panel6.Name = "pnlTotalSize"; manager.ApplyResources(this.lblTotalSize, "lblTotalSize"); this.lblTotalSize.Name = "lblTotalSize"; manager.ApplyResources(panel7, "pnlProcessedSize"); panel7.Controls.Add(this.lblProcessedSize); panel7.Controls.Add(label8); panel7.Name = "pnlProcessedSize"; manager.ApplyResources(this.lblProcessedSize, "lblProcessedSize"); this.lblProcessedSize.Name = "lblProcessedSize"; manager.ApplyResources(panel8, "pnlSpeed"); panel8.Controls.Add(this.lblSpeed); panel8.Controls.Add(label9); panel8.Name = "pnlSpeed"; manager.ApplyResources(this.lblSpeed, "lblSpeed"); this.lblSpeed.Name = "lblSpeed"; manager.ApplyResources(this.lblFileProgress, "lblFileProgress"); this.lblFileProgress.Name = "lblFileProgress"; this.lblFileProgress.UseMnemonic = false; this.tblCopyDetails.SetColumnSpan(this.barFileProgress, 3); manager.ApplyResources(this.barFileProgress, "barFileProgress"); this.barFileProgress.Name = "barFileProgress"; this.barFileProgress.RenderMode = ProgressRenderMode.Vista; this.tblCopyDetails.SetColumnSpan(this.lblToName, 3); manager.ApplyResources(this.lblToName, "lblToName"); this.lblToName.Name = "lblToName"; this.lblToName.UseMnemonic = false; this.tblCopyDetails.SetColumnSpan(this.lblFromName, 3); manager.ApplyResources(this.lblFromName, "lblFromName"); this.lblFromName.Name = "lblFromName"; this.lblFromName.UseMnemonic = false; manager.ApplyResources(this.lblAction, "lblAction"); this.tblCopyDetails.SetColumnSpan(this.lblAction, 3); this.lblAction.Name = "lblAction"; this.lblAction.UseMnemonic = false; this.tmrUpdateProgress.Enabled = true; this.tmrUpdateProgress.Interval = 350; this.tmrUpdateProgress.Tick += new EventHandler(this.tmrUpdateProgress_Tick); manager.ApplyResources(this.tblCopyDetails, "tblCopyDetails"); this.tblCopyDetails.Controls.Add(bevel2, 0, 9); this.tblCopyDetails.Controls.Add(this.barFileProgress, 0, 11); this.tblCopyDetails.Controls.Add(this.lblAction, 0, 0); this.tblCopyDetails.Controls.Add(label, 0, 10); this.tblCopyDetails.Controls.Add(control, 0, 4); this.tblCopyDetails.Controls.Add(this.lblFromName, 0, 1); this.tblCopyDetails.Controls.Add(label2, 0, 2); this.tblCopyDetails.Controls.Add(this.lblToName, 0, 3); this.tblCopyDetails.Controls.Add(panel, 0, 6); this.tblCopyDetails.Controls.Add(panel2, 0, 7); this.tblCopyDetails.Controls.Add(panel3, 0, 8); this.tblCopyDetails.Controls.Add(panel4, 0, 5); this.tblCopyDetails.Controls.Add(panel5, 2, 5); this.tblCopyDetails.Controls.Add(panel6, 2, 6); this.tblCopyDetails.Controls.Add(panel7, 2, 7); this.tblCopyDetails.Controls.Add(panel8, 2, 8); this.tblCopyDetails.Controls.Add(this.lblFileProgress, 2, 10); this.tblCopyDetails.Name = "tblCopyDetails"; this.tblCopyDetails.VisibleChanged += new EventHandler(this.tlbCopyDetails_VisibleChanged); manager.ApplyResources(this.btnSkipFile, "btnSkipFile"); this.btnSkipFile.Name = "btnSkipFile"; this.btnSkipFile.UseVisualStyleBackColor = true; this.btnSkipFile.Click += new EventHandler(this.btnSkipFile_Click); manager.ApplyResources(this, "$this"); base.Controls.Add(this.tblCopyDetails); base.Name = "CopyWorkerDialog"; base.Shown += new EventHandler(this.CopyWorkerDialog_Shown); base.Controls.SetChildIndex(this.tblCopyDetails, 0); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); panel3.ResumeLayout(false); panel3.PerformLayout(); panel4.ResumeLayout(false); panel4.PerformLayout(); panel5.ResumeLayout(false); panel5.PerformLayout(); panel6.ResumeLayout(false); panel6.PerformLayout(); panel7.ResumeLayout(false); panel7.PerformLayout(); panel8.ResumeLayout(false); panel8.PerformLayout(); this.tblCopyDetails.ResumeLayout(false); this.tblCopyDetails.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(SortDialog)); this.lblSortBy = new Label(); this.chkRememberSort = new CheckBox(); this.chkReversedOrder = new CheckBox(); this.cmbSortBy = new ComboBoxEx(); this.chkNaturalNumber = new CheckBox(); this.btnOk = new Button(); this.btnCancel = new Button(); this.imgProperty = new ImageList(this.components); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); Bevel bevel = new Bevel(); panel.SuspendLayout(); panel2.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lblSortBy, 0, 0); panel.Controls.Add(this.chkRememberSort, 0, 4); panel.Controls.Add(this.chkReversedOrder, 0, 3); panel.Controls.Add(this.cmbSortBy, 0, 1); panel.Controls.Add(this.chkNaturalNumber, 0, 2); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBack"; manager.ApplyResources(this.lblSortBy, "lblSortBy"); this.lblSortBy.Name = "lblSortBy"; manager.ApplyResources(this.chkRememberSort, "chkRememberSort"); this.chkRememberSort.Name = "chkRememberSort"; this.chkRememberSort.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkReversedOrder, "chkReversedOrder"); this.chkReversedOrder.Name = "chkReversedOrder"; this.chkReversedOrder.UseVisualStyleBackColor = true; manager.ApplyResources(this.cmbSortBy, "cmbSortBy"); this.cmbSortBy.DrawMode = DrawMode.OwnerDrawFixed; this.cmbSortBy.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbSortBy.FormattingEnabled = true; this.cmbSortBy.Name = "cmbSortBy"; this.cmbSortBy.DrawItem += new DrawItemEventHandler(this.cmbSortBy_DrawItem); this.cmbSortBy.SelectionChangeCommitted += new EventHandler(this.cmbSortBy_SelectionChangeCommitted); this.cmbSortBy.SelectedIndexChanged += new EventHandler(this.cmbSortBy_SelectedIndexChanged); this.cmbSortBy.KeyPress += new KeyPressEventHandler(this.cmbSortBy_KeyPress); manager.ApplyResources(this.chkNaturalNumber, "chkNaturalNumber"); this.chkNaturalNumber.Name = "chkNaturalNumber"; this.chkNaturalNumber.UseVisualStyleBackColor = true; 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.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; this.imgProperty.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgProperty, "imgProperty"); this.imgProperty.TransparentColor = Color.Transparent; manager.ApplyResources(bevel, "bvlButtons"); bevel.ForeColor = SystemColors.ControlDarkDark; bevel.Name = "bvlButtons"; bevel.Sides = Border3DSide.Top; bevel.Style = Border3DStyle.Flat; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(panel2); base.Controls.Add(bevel); base.Controls.Add(panel); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SortDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.SortDialog_Shown); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.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(CustomizeFolderDialog)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); PropertyValue value7 = new PropertyValue(); PropertyValue value8 = new PropertyValue(); PropertyValue value9 = new PropertyValue(); this.btnCustomizeFilter = new Button(); this.btnCustomizeColumns = new Button(); this.cmbView = new ComboBox(); this.chkCustomizeColumns = new CheckBox(); this.chkCustomizeView = new CheckBox(); this.chkCustomizeFilter = new CheckBox(); this.chkCustomizeSort = new CheckBox(); this.btnCustomizeSort = new Button(); this.chkCustomizeIcon = new CheckBox(); this.btnBrowseIcon = new Button(); this.txtIconLocation = new TextBox(); this.pnlIcon = new PanelEx(); this.picIcon = new PictureBox(); this.btnListForeColor = new ColorButton(); this.btnListBackColor = new ColorButton(); this.chkApplyToChildren = new CheckBox(); this.btnOk = new Button(); this.btnCancel = new Button(); this.imgViews = new ImageList(this.components); this.CheckWatcher = new PropertyValuesWatcher(); this.BrowseIconDialog = new OpenFileDialog(); this.btnClear = new Button(); this.tlpBack = new TableLayoutPanel(); this.lblFolder = new Label(); this.tsFolder = new VirtualItemToolStrip(this.components); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); GroupBox box = new GroupBox(); TableLayoutPanel panel = new TableLayoutPanel(); GroupBox box2 = new GroupBox(); TableLayoutPanel panel2 = new TableLayoutPanel(); GroupBox box3 = new GroupBox(); TableLayoutPanel panel3 = new TableLayoutPanel(); Label control = new Label(); Label label2 = new Label(); box.SuspendLayout(); panel.SuspendLayout(); box2.SuspendLayout(); panel2.SuspendLayout(); this.pnlIcon.SuspendLayout(); ((ISupportInitialize) this.picIcon).BeginInit(); box3.SuspendLayout(); panel3.SuspendLayout(); ((ISupportInitialize) this.CheckWatcher).BeginInit(); this.tlpBack.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(box, "grpOptions"); box.Controls.Add(panel); box.Name = "grpOptions"; box.TabStop = false; manager.ApplyResources(panel, "tlpOptions"); panel.Controls.Add(this.btnCustomizeFilter, 1, 0); panel.Controls.Add(this.btnCustomizeColumns, 1, 3); panel.Controls.Add(this.cmbView, 1, 2); panel.Controls.Add(this.chkCustomizeColumns, 0, 3); panel.Controls.Add(this.chkCustomizeView, 0, 2); panel.Controls.Add(this.chkCustomizeFilter, 0, 0); panel.Controls.Add(this.chkCustomizeSort, 0, 1); panel.Controls.Add(this.btnCustomizeSort, 1, 1); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpOptions"; manager.ApplyResources(this.btnCustomizeFilter, "btnCustomizeFilter"); this.btnCustomizeFilter.Name = "btnCustomizeFilter"; this.btnCustomizeFilter.UseVisualStyleBackColor = true; this.btnCustomizeFilter.Click += new EventHandler(this.btnCustomizeFilter_Click); manager.ApplyResources(this.btnCustomizeColumns, "btnCustomizeColumns"); this.btnCustomizeColumns.Name = "btnCustomizeColumns"; this.btnCustomizeColumns.UseVisualStyleBackColor = true; this.btnCustomizeColumns.Click += new EventHandler(this.btnCustomizeColumns_Click); this.cmbView.DrawMode = DrawMode.OwnerDrawFixed; this.cmbView.DropDownStyle = ComboBoxStyle.DropDownList; manager.ApplyResources(this.cmbView, "cmbView"); this.cmbView.FormattingEnabled = true; this.cmbView.Name = "cmbView"; this.cmbView.DrawItem += new DrawItemEventHandler(this.cmbView_DrawItem); this.cmbView.SelectedIndexChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkCustomizeColumns, "chkCustomizeColumns"); this.chkCustomizeColumns.Name = "chkCustomizeColumns"; this.chkCustomizeColumns.UseVisualStyleBackColor = true; this.chkCustomizeColumns.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkCustomizeView, "chkCustomizeView"); this.chkCustomizeView.Name = "chkCustomizeView"; this.chkCustomizeView.UseVisualStyleBackColor = true; this.chkCustomizeView.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkCustomizeFilter, "chkCustomizeFilter"); this.chkCustomizeFilter.Name = "chkCustomizeFilter"; this.chkCustomizeFilter.UseVisualStyleBackColor = true; this.chkCustomizeFilter.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkCustomizeSort, "chkCustomizeSort"); this.chkCustomizeSort.Name = "chkCustomizeSort"; this.chkCustomizeSort.UseVisualStyleBackColor = true; this.chkCustomizeSort.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.btnCustomizeSort, "btnCustomizeSort"); this.btnCustomizeSort.Name = "btnCustomizeSort"; this.btnCustomizeSort.UseVisualStyleBackColor = true; this.btnCustomizeSort.Click += new EventHandler(this.btnCustomizeSort_Click); manager.ApplyResources(box2, "grpIcon"); box2.Controls.Add(panel2); box2.Name = "grpIcon"; box2.TabStop = false; manager.ApplyResources(panel2, "tlpIcon"); panel2.Controls.Add(this.chkCustomizeIcon, 0, 0); panel2.Controls.Add(this.btnBrowseIcon, 2, 2); panel2.Controls.Add(this.txtIconLocation, 1, 1); panel2.Controls.Add(this.pnlIcon, 0, 1); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpIcon"; manager.ApplyResources(this.chkCustomizeIcon, "chkCustomizeIcon"); panel2.SetColumnSpan(this.chkCustomizeIcon, 3); this.chkCustomizeIcon.Name = "chkCustomizeIcon"; this.chkCustomizeIcon.UseVisualStyleBackColor = true; this.chkCustomizeIcon.CheckedChanged += new EventHandler(this.chkCustomizeIcon_CheckedChanged); manager.ApplyResources(this.btnBrowseIcon, "btnBrowseIcon"); this.btnBrowseIcon.Name = "btnBrowseIcon"; this.btnBrowseIcon.UseVisualStyleBackColor = true; this.btnBrowseIcon.Click += new EventHandler(this.btnBrowseIcon_Click); this.btnBrowseIcon.SizeChanged += new EventHandler(this.btnBrowseIcon_SizeChanged); panel2.SetColumnSpan(this.txtIconLocation, 2); manager.ApplyResources(this.txtIconLocation, "txtIconLocation"); this.txtIconLocation.Name = "txtIconLocation"; this.txtIconLocation.Validated += new EventHandler(this.txtIconLocation_Validated); this.txtIconLocation.Enter += new EventHandler(this.txtIconLocation_Enter); this.pnlIcon.BorderColor = Color.FromArgb(0xa7, 0xa6, 170); this.pnlIcon.Controls.Add(this.picIcon); manager.ApplyResources(this.pnlIcon, "pnlIcon"); this.pnlIcon.Name = "pnlIcon"; panel2.SetRowSpan(this.pnlIcon, 2); manager.ApplyResources(this.picIcon, "picIcon"); this.picIcon.Name = "picIcon"; this.picIcon.TabStop = false; manager.ApplyResources(box3, "grpListColors"); box3.Controls.Add(panel3); box3.Name = "grpListColors"; box3.TabStop = false; manager.ApplyResources(panel3, "tlpListColors"); panel3.Controls.Add(control, 0, 0); panel3.Controls.Add(this.btnListForeColor, 1, 1); panel3.Controls.Add(label2, 0, 1); panel3.Controls.Add(this.btnListBackColor, 1, 0); panel3.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel3.Name = "tlpListColors"; manager.ApplyResources(control, "lblListBackColor"); control.Name = "lblListBackColor"; this.btnListForeColor.Image = null; manager.ApplyResources(this.btnListForeColor, "btnListForeColor"); this.btnListForeColor.Name = "btnListForeColor"; this.btnListForeColor.UseVisualStyleBackColor = true; this.btnListForeColor.ColorChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(label2, "lblListForeColor"); label2.Name = "lblListForeColor"; this.btnListBackColor.Image = null; manager.ApplyResources(this.btnListBackColor, "btnListBackColor"); this.btnListBackColor.Name = "btnListBackColor"; this.btnListBackColor.UseVisualStyleBackColor = true; this.btnListBackColor.ColorChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkApplyToChildren, "chkApplyToChildren"); this.chkApplyToChildren.Name = "chkApplyToChildren"; this.chkApplyToChildren.UseVisualStyleBackColor = true; this.chkApplyToChildren.CheckedChanged += new EventHandler(this.UpdateButtons); 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.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; this.imgViews.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgViews, "imgViews"); this.imgViews.TransparentColor = Color.Transparent; value2.DataObject = this.chkCustomizeFilter; value2.PropertyName = "Checked"; value3.DataObject = this.chkCustomizeSort; value3.PropertyName = "Checked"; value4.DataObject = this.chkCustomizeView; value4.PropertyName = "Checked"; value5.DataObject = this.chkCustomizeColumns; value5.PropertyName = "Checked"; value6.DataObject = this.chkCustomizeIcon; value6.PropertyName = "Checked"; value7.DataObject = this.btnListBackColor; value7.PropertyName = "Color"; value8.DataObject = this.btnListForeColor; value8.PropertyName = "Color"; value9.DataObject = this.chkApplyToChildren; value9.PropertyName = "Checked"; this.CheckWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6, value7, value8, value9 }); this.BrowseIconDialog.AddExtension = false; manager.ApplyResources(this.BrowseIconDialog, "BrowseIconDialog"); manager.ApplyResources(this.btnClear, "btnClear"); this.btnClear.Name = "btnClear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new EventHandler(this.btnClear_Click); manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.lblFolder, 0, 0); this.tlpBack.Controls.Add(this.chkApplyToChildren, 0, 5); this.tlpBack.Controls.Add(box2, 0, 2); this.tlpBack.Controls.Add(this.tsFolder, 0, 1); this.tlpBack.Controls.Add(box, 0, 4); this.tlpBack.Controls.Add(box3, 0, 3); this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.lblFolder, "lblFolder"); this.lblFolder.Name = "lblFolder"; this.tsFolder.BackColor = SystemColors.ButtonFace; manager.ApplyResources(this.tsFolder, "tsFolder"); this.tsFolder.GripStyle = ToolStripGripStyle.Hidden; this.tsFolder.MinimumSize = new Size(0, 0x19); this.tsFolder.Name = "tsFolder"; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Controls.Add(this.btnClear, 2, 0); this.tlpButtons.Controls.Add(this.btnCancel, 3, 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; 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 = "CustomizeFolderDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.UpdateButtons); box.ResumeLayout(false); box.PerformLayout(); panel.ResumeLayout(false); panel.PerformLayout(); box2.ResumeLayout(false); box2.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); this.pnlIcon.ResumeLayout(false); ((ISupportInitialize) this.picIcon).EndInit(); box3.ResumeLayout(false); box3.PerformLayout(); panel3.ResumeLayout(false); panel3.PerformLayout(); ((ISupportInitialize) this.CheckWatcher).EndInit(); this.tlpBack.ResumeLayout(false); this.tlpBack.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(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(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(EditDescriptionDialog)); this.tsItem = new VirtualItemToolStrip(this.components); this.txtDescription = new TextBox(); this.btnCancel = new Button(); this.btnOk = new Button(); this.bvlButtons = new Bevel(); Label label = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); Label control = new Label(); TableLayoutPanel panel2 = new TableLayoutPanel(); panel.SuspendLayout(); panel2.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblDescription"); label.Name = "lblDescription"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.tsItem, 0, 1); panel.Controls.Add(this.txtDescription, 0, 3); panel.Controls.Add(label, 0, 2); panel.Controls.Add(control, 0, 0); panel.Name = "tlpBack"; this.tsItem.BackColor = SystemColors.ButtonFace; manager.ApplyResources(this.tsItem, "tsItem"); this.tsItem.GripStyle = ToolStripGripStyle.Hidden; this.tsItem.MinimumSize = new Size(0, 0x19); this.tsItem.Name = "tsItem"; manager.ApplyResources(this.txtDescription, "txtDescription"); this.txtDescription.Name = "txtDescription"; this.txtDescription.TextChanged += new EventHandler(this.txtDescription_TextChanged); manager.ApplyResources(control, "lblItem"); control.Name = "lblItem"; manager.ApplyResources(panel2, "tlpButtons"); panel2.Controls.Add(this.btnCancel, 2, 0); panel2.Controls.Add(this.btnOk, 1, 0); panel2.Name = "tlpButtons"; 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; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(panel2); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "EditDescriptionDialog"; base.ShowInTaskbar = false; panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(SetupAndUpgradeDialog)); this.cmbLanguage = new System.Windows.Forms.ComboBox(); this.chkPerformUserConfigSetup = new System.Windows.Forms.CheckBox(); this.chkPerformImport = new System.Windows.Forms.CheckBox(); this.lblLanguageFile = new Label(); this.chkPerformInitialInit = new System.Windows.Forms.CheckBox(); this.lblLicense = new LinkLabel(); this.chkOptimizeFiles = new System.Windows.Forms.CheckBox(); this.chkPlaceShortcut = new System.Windows.Forms.CheckBox(); this.rbImportCopy = new System.Windows.Forms.RadioButton(); this.rbImportUpgrade = new System.Windows.Forms.RadioButton(); this.chkImportBookmarks = new System.Windows.Forms.CheckBox(); this.chkImportTools = new System.Windows.Forms.CheckBox(); this.cmbPreviousVersion = new System.Windows.Forms.ComboBox(); this.rbImportSkip = new System.Windows.Forms.RadioButton(); this.lblPageCaption = new Label(); this.btnCancel = new System.Windows.Forms.Button(); this.btnNext = new System.Windows.Forms.Button(); this.btnBack = new System.Windows.Forms.Button(); this.btnFinish = new System.Windows.Forms.Button(); this.lblProgressUpgrade = new Label(); this.WizardPageSwitcher = new TabPageSwitcher(); this.TabPageWelcome = new TabStripPage(); this.TabPageProcess = new TabStripPage(); this.tlpProcess = new TableLayoutPanel(); this.lvProcessDetails = new ListViewEx(); this.clOperation = new ColumnHeader(); this.clStatus = new ColumnHeader(); this.btnHideDetails = new System.Windows.Forms.Button(); this.btnShowDetails = new System.Windows.Forms.Button(); this.ProcessProgressBar = new VistaProgressBar(); this.TabPageImport = new TabStripPage(); this.TabPageUserConfig = new TabStripPage(); this.UserConfigControl = new ConfigPlacementOptionControl(); this.bvlButtons = new Bevel(); this.bvlCaption = new Bevel(); this.SetupWorker = new BackgroundWorker(); TableLayoutPanel panel = new TableLayoutPanel(); Label control = new Label(); Label label2 = new Label(); Label label3 = new Label(); TableLayoutPanel panel2 = new TableLayoutPanel(); Label label4 = new Label(); Label label5 = new Label(); Label label6 = new Label(); Label label7 = new Label(); Panel panel3 = new Panel(); TableLayoutPanel panel4 = new TableLayoutPanel(); panel.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); panel4.SuspendLayout(); this.WizardPageSwitcher.SuspendLayout(); this.TabPageWelcome.SuspendLayout(); this.TabPageProcess.SuspendLayout(); this.tlpProcess.SuspendLayout(); this.TabPageImport.SuspendLayout(); this.TabPageUserConfig.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBackWelcome"); panel.Controls.Add(control, 0, 0); panel.Controls.Add(label2, 0, 1); panel.Controls.Add(label3, 0, 3); panel.Controls.Add(this.cmbLanguage, 1, 2); panel.Controls.Add(this.chkPerformUserConfigSetup, 1, 4); panel.Controls.Add(this.chkPerformImport, 1, 5); panel.Controls.Add(this.lblLanguageFile, 2, 2); panel.Controls.Add(this.chkPerformInitialInit, 1, 6); panel.Controls.Add(this.lblLicense, 0, 10); panel.Controls.Add(this.chkOptimizeFiles, 1, 8); panel.Controls.Add(this.chkPlaceShortcut, 1, 7); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBackWelcome"; manager.ApplyResources(control, "lblWelcomeMsg"); panel.SetColumnSpan(control, 3); control.Name = "lblWelcomeMsg"; control.UseMnemonic = false; manager.ApplyResources(label2, "lblSelectLanguage"); panel.SetColumnSpan(label2, 3); label2.Name = "lblSelectLanguage"; manager.ApplyResources(label3, "lblSelectInitialTasks"); panel.SetColumnSpan(label3, 3); label3.Name = "lblSelectInitialTasks"; this.cmbLanguage.DisplayMember = "DisplayName"; this.cmbLanguage.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbLanguage.FormattingEnabled = true; manager.ApplyResources(this.cmbLanguage, "cmbLanguage"); this.cmbLanguage.Name = "cmbLanguage"; this.cmbLanguage.ValueMember = "Name"; this.cmbLanguage.SelectionChangeCommitted += new EventHandler(this.cmbLanguage_SelectionChangeCommitted); manager.ApplyResources(this.chkPerformUserConfigSetup, "chkPerformUserConfigSetup"); panel.SetColumnSpan(this.chkPerformUserConfigSetup, 2); this.chkPerformUserConfigSetup.Name = "chkPerformUserConfigSetup"; this.chkPerformUserConfigSetup.UseVisualStyleBackColor = true; this.chkPerformUserConfigSetup.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(this.chkPerformImport, "chkPerformImport"); panel.SetColumnSpan(this.chkPerformImport, 2); this.chkPerformImport.Name = "chkPerformImport"; this.chkPerformImport.UseVisualStyleBackColor = true; this.chkPerformImport.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(this.lblLanguageFile, "lblLanguageFile"); this.lblLanguageFile.Name = "lblLanguageFile"; manager.ApplyResources(this.chkPerformInitialInit, "chkPerformInitialInit"); panel.SetColumnSpan(this.chkPerformInitialInit, 2); this.chkPerformInitialInit.Name = "chkPerformInitialInit"; this.chkPerformInitialInit.UseVisualStyleBackColor = true; this.chkPerformInitialInit.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(this.lblLicense, "lblLicense"); panel.SetColumnSpan(this.lblLicense, 3); this.lblLicense.Name = "lblLicense"; this.lblLicense.UseMnemonic = false; this.lblLicense.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lblLicense_LinkClicked); manager.ApplyResources(this.chkOptimizeFiles, "chkOptimizeFiles"); panel.SetColumnSpan(this.chkOptimizeFiles, 2); this.chkOptimizeFiles.Name = "chkOptimizeFiles"; this.chkOptimizeFiles.UseVisualStyleBackColor = true; this.chkOptimizeFiles.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(this.chkPlaceShortcut, "chkPlaceShortcut"); panel.SetColumnSpan(this.chkPlaceShortcut, 2); this.chkPlaceShortcut.Name = "chkPlaceShortcut"; this.chkPlaceShortcut.UseVisualStyleBackColor = true; this.chkPlaceShortcut.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(panel2, "tlpBackImport"); panel2.Controls.Add(label4, 0, 0); panel2.Controls.Add(this.rbImportCopy, 1, 5); panel2.Controls.Add(this.rbImportUpgrade, 1, 6); panel2.Controls.Add(label5, 0, 7); panel2.Controls.Add(this.chkImportBookmarks, 1, 8); panel2.Controls.Add(this.chkImportTools, 1, 9); panel2.Controls.Add(label6, 0, 1); panel2.Controls.Add(label7, 0, 3); panel2.Controls.Add(this.cmbPreviousVersion, 1, 2); panel2.Controls.Add(this.rbImportSkip, 1, 4); panel2.Name = "tlpBackImport"; manager.ApplyResources(label4, "lblImportMsg"); panel2.SetColumnSpan(label4, 2); label4.Name = "lblImportMsg"; manager.ApplyResources(this.rbImportCopy, "rbImportCopy"); this.rbImportCopy.Name = "rbImportCopy"; this.rbImportCopy.UseVisualStyleBackColor = true; manager.ApplyResources(this.rbImportUpgrade, "rbImportUpgrade"); this.rbImportUpgrade.Checked = true; this.rbImportUpgrade.Name = "rbImportUpgrade"; this.rbImportUpgrade.TabStop = true; this.rbImportUpgrade.UseVisualStyleBackColor = true; manager.ApplyResources(label5, "lblSelectAdditionalImportOptions"); panel2.SetColumnSpan(label5, 2); label5.Name = "lblSelectAdditionalImportOptions"; manager.ApplyResources(this.chkImportBookmarks, "chkImportBookmarks"); this.chkImportBookmarks.Checked = true; this.chkImportBookmarks.CheckState = CheckState.Checked; this.chkImportBookmarks.Name = "chkImportBookmarks"; this.chkImportBookmarks.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkImportTools, "chkImportTools"); this.chkImportTools.Checked = true; this.chkImportTools.CheckState = CheckState.Checked; this.chkImportTools.Name = "chkImportTools"; this.chkImportTools.UseVisualStyleBackColor = true; manager.ApplyResources(label6, "lblSelectPreviousVersion"); panel2.SetColumnSpan(label6, 2); label6.Name = "lblSelectPreviousVersion"; manager.ApplyResources(label7, "lblSelectImportMethod"); panel2.SetColumnSpan(label7, 2); label7.Name = "lblSelectImportMethod"; this.cmbPreviousVersion.DisplayMember = "Version"; this.cmbPreviousVersion.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbPreviousVersion.FormattingEnabled = true; manager.ApplyResources(this.cmbPreviousVersion, "cmbPreviousVersion"); this.cmbPreviousVersion.Name = "cmbPreviousVersion"; this.cmbPreviousVersion.ValueMember = "UserConfigPath"; this.cmbPreviousVersion.SelectedIndexChanged += new EventHandler(this.cmbPreviousVersion_SelectedIndexChanged); this.cmbPreviousVersion.Format += new ListControlConvertEventHandler(this.cmbPreviousVersion_Format); manager.ApplyResources(this.rbImportSkip, "rbImportSkip"); this.rbImportSkip.Name = "rbImportSkip"; this.rbImportSkip.UseVisualStyleBackColor = true; panel3.BackColor = Color.White; panel3.Controls.Add(this.lblPageCaption); manager.ApplyResources(panel3, "pnlPageCaption"); panel3.Name = "pnlPageCaption"; manager.ApplyResources(this.lblPageCaption, "lblPageCaption"); this.lblPageCaption.Name = "lblPageCaption"; manager.ApplyResources(panel4, "tlpButtons"); panel4.BackColor = Color.Gainsboro; panel4.Controls.Add(this.btnCancel, 3, 0); panel4.Controls.Add(this.btnNext, 2, 0); panel4.Controls.Add(this.btnBack, 1, 0); panel4.Controls.Add(this.btnFinish, 0, 0); panel4.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel4.Name = "tlpButtons"; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnNext, "btnNext"); this.btnNext.Name = "btnNext"; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new EventHandler(this.btnNext_Click); manager.ApplyResources(this.btnBack, "btnBack"); this.btnBack.Name = "btnBack"; this.btnBack.UseVisualStyleBackColor = true; this.btnBack.Click += new EventHandler(this.btnBack_Click); manager.ApplyResources(this.btnFinish, "btnFinish"); this.btnFinish.Name = "btnFinish"; this.btnFinish.UseVisualStyleBackColor = true; manager.ApplyResources(this.lblProgressUpgrade, "lblProgressUpgrade"); this.lblProgressUpgrade.Name = "lblProgressUpgrade"; this.WizardPageSwitcher.BackColor = SystemColors.ButtonFace; this.WizardPageSwitcher.Controls.Add(this.TabPageWelcome); this.WizardPageSwitcher.Controls.Add(this.TabPageProcess); this.WizardPageSwitcher.Controls.Add(this.TabPageImport); this.WizardPageSwitcher.Controls.Add(this.TabPageUserConfig); manager.ApplyResources(this.WizardPageSwitcher, "WizardPageSwitcher"); this.WizardPageSwitcher.Name = "WizardPageSwitcher"; this.WizardPageSwitcher.SelectedTabStripPage = this.TabPageWelcome; this.WizardPageSwitcher.TabStrip = null; this.TabPageWelcome.Controls.Add(panel); manager.ApplyResources(this.TabPageWelcome, "TabPageWelcome"); this.TabPageWelcome.Name = "TabPageWelcome"; this.TabPageProcess.Controls.Add(this.tlpProcess); this.TabPageProcess.Controls.Add(this.ProcessProgressBar); this.TabPageProcess.Controls.Add(this.lblProgressUpgrade); manager.ApplyResources(this.TabPageProcess, "TabPageProcess"); this.TabPageProcess.Name = "TabPageProcess"; manager.ApplyResources(this.tlpProcess, "tlpProcess"); this.tlpProcess.Controls.Add(this.lvProcessDetails, 0, 1); this.tlpProcess.Controls.Add(this.btnHideDetails, 2, 0); this.tlpProcess.Controls.Add(this.btnShowDetails, 1, 0); this.tlpProcess.Name = "tlpProcess"; this.lvProcessDetails.CanResizeColumns = false; this.lvProcessDetails.Columns.AddRange(new ColumnHeader[] { this.clOperation, this.clStatus }); this.tlpProcess.SetColumnSpan(this.lvProcessDetails, 3); manager.ApplyResources(this.lvProcessDetails, "lvProcessDetails"); this.lvProcessDetails.FullRowSelect = true; this.lvProcessDetails.HeaderStyle = ColumnHeaderStyle.Nonclickable; this.lvProcessDetails.MultiSelect = false; this.lvProcessDetails.Name = "lvProcessDetails"; this.lvProcessDetails.UseCompatibleStateImageBehavior = false; this.lvProcessDetails.View = View.Details; this.lvProcessDetails.ClientSizeChanged += new EventHandler(this.lvProcessDetails_ClientSizeChanged); manager.ApplyResources(this.clOperation, "clOperation"); manager.ApplyResources(this.clStatus, "clStatus"); manager.ApplyResources(this.btnHideDetails, "btnHideDetails"); this.btnHideDetails.Cursor = Cursors.Hand; this.btnHideDetails.FlatAppearance.BorderSize = 0; this.btnHideDetails.Name = "btnHideDetails"; this.btnHideDetails.UseVisualStyleBackColor = false; this.btnHideDetails.Click += new EventHandler(this.btnShowDetails_Click); manager.ApplyResources(this.btnShowDetails, "btnShowDetails"); this.btnShowDetails.Cursor = Cursors.Hand; this.btnShowDetails.FlatAppearance.BorderSize = 0; this.btnShowDetails.Name = "btnShowDetails"; this.btnShowDetails.UseVisualStyleBackColor = false; this.btnShowDetails.Click += new EventHandler(this.btnShowDetails_Click); manager.ApplyResources(this.ProcessProgressBar, "ProcessProgressBar"); this.ProcessProgressBar.Name = "ProcessProgressBar"; this.TabPageImport.Controls.Add(panel2); manager.ApplyResources(this.TabPageImport, "TabPageImport"); this.TabPageImport.Name = "TabPageImport"; this.TabPageImport.EnabledChanged += new EventHandler(this.TabPageUpgrade_EnabledChanged); this.TabPageUserConfig.Controls.Add(this.UserConfigControl); manager.ApplyResources(this.TabPageUserConfig, "TabPageUserConfig"); this.TabPageUserConfig.Name = "TabPageUserConfig"; this.TabPageUserConfig.EnabledChanged += new EventHandler(this.TabPageUserConfig_EnabledChanged); manager.ApplyResources(this.UserConfigControl, "UserConfigControl"); this.UserConfigControl.Name = "UserConfigControl"; this.UserConfigControl.SaveSettings = false; 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.bvlCaption, "bvlCaption"); this.bvlCaption.ForeColor = SystemColors.ControlDarkDark; this.bvlCaption.Name = "bvlCaption"; this.bvlCaption.Sides = Border3DSide.Top; this.bvlCaption.Style = Border3DStyle.Flat; this.SetupWorker.WorkerReportsProgress = true; this.SetupWorker.DoWork += new DoWorkEventHandler(this.SetupWorker_DoWork); this.SetupWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.SetupWorker_RunWorkerCompleted); this.SetupWorker.ProgressChanged += new ProgressChangedEventHandler(this.SetupWorker_ProgressChanged); base.AcceptButton = this.btnNext; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(this.WizardPageSwitcher); base.Controls.Add(this.bvlCaption); base.Controls.Add(panel3); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel4); base.FixMouseWheel = true; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SetupAndUpgradeDialog"; base.FormClosing += new FormClosingEventHandler(this.SetupAndUpgradeDialog_FormClosing); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); panel3.ResumeLayout(false); panel4.ResumeLayout(false); panel4.PerformLayout(); this.WizardPageSwitcher.ResumeLayout(false); this.TabPageWelcome.ResumeLayout(false); this.TabPageProcess.ResumeLayout(false); this.TabPageProcess.PerformLayout(); this.tlpProcess.ResumeLayout(false); this.tlpProcess.PerformLayout(); this.TabPageImport.ResumeLayout(false); this.TabPageUserConfig.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(AboutDialog)); this.lblLicense = new LinkLabel(); this.lblNomad = new Label(); this.lblVersion = new Label(); this.lblCopyright = new Label(); this.btnClose = new System.Windows.Forms.Button(); this.lblHomePage = new LinkLabel(); this.lblEMail = new LinkLabel(); this.btnCheckForUpdates = new System.Windows.Forms.Button(); this.lblTarget = new Label(); this.tlpLicense = new TableLayoutPanel(); this.imgLicense = new PictureBox(); this.bvlButtons = new Bevel(); PictureBox box = new PictureBox(); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); ((ISupportInitialize) box).BeginInit(); panel.SuspendLayout(); this.tlpLicense.SuspendLayout(); ((ISupportInitialize) this.imgLicense).BeginInit(); panel2.SuspendLayout(); base.SuspendLayout(); box.Image = Resources.NomadAboutLogo; manager.ApplyResources(box, "imgNomad"); box.Name = "imgNomad"; panel.SetRowSpan(box, 6); box.TabStop = false; manager.ApplyResources(this.lblLicense, "lblLicense"); this.lblLicense.Name = "lblLicense"; this.lblLicense.TabStop = true; this.lblLicense.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lblLicense_LinkClicked); manager.ApplyResources(this.lblNomad, "lblNomad"); this.lblNomad.Name = "lblNomad"; manager.ApplyResources(this.lblVersion, "lblVersion"); panel.SetColumnSpan(this.lblVersion, 2); this.lblVersion.Name = "lblVersion"; manager.ApplyResources(this.lblCopyright, "lblCopyright"); panel.SetColumnSpan(this.lblCopyright, 2); this.lblCopyright.Name = "lblCopyright"; manager.ApplyResources(this.btnClose, "btnClose"); this.btnClose.DialogResult = DialogResult.Cancel; this.btnClose.Name = "btnClose"; this.btnClose.UseVisualStyleBackColor = true; manager.ApplyResources(this.lblHomePage, "lblHomePage"); panel.SetColumnSpan(this.lblHomePage, 2); this.lblHomePage.Name = "lblHomePage"; this.lblHomePage.TabStop = true; this.lblHomePage.Tag = "http://www.nomad-net.info"; this.lblHomePage.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lblHomePage_LinkClicked); manager.ApplyResources(this.lblEMail, "lblEMail"); panel.SetColumnSpan(this.lblEMail, 2); this.lblEMail.Name = "lblEMail"; this.lblEMail.TabStop = true; this.lblEMail.Tag = "mailto:[email protected]"; this.lblEMail.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lblHomePage_LinkClicked); manager.ApplyResources(this.btnCheckForUpdates, "btnCheckForUpdates"); this.btnCheckForUpdates.Name = "btnCheckForUpdates"; this.btnCheckForUpdates.UseVisualStyleBackColor = true; this.btnCheckForUpdates.Click += new EventHandler(this.btnCheckForUpdates_Click); manager.ApplyResources(this.lblTarget, "lblTarget"); this.lblTarget.ForeColor = SystemColors.GrayText; this.lblTarget.Name = "lblTarget"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lblNomad, 1, 0); panel.Controls.Add(this.lblTarget, 2, 0); panel.Controls.Add(this.lblVersion, 1, 1); panel.Controls.Add(this.lblCopyright, 1, 2); panel.Controls.Add(this.lblHomePage, 1, 3); panel.Controls.Add(this.lblEMail, 1, 4); panel.Controls.Add(box, 0, 0); panel.Controls.Add(this.tlpLicense, 0, 6); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBack"; manager.ApplyResources(this.tlpLicense, "tlpLicense"); panel.SetColumnSpan(this.tlpLicense, 3); this.tlpLicense.Controls.Add(this.lblLicense, 1, 0); this.tlpLicense.Controls.Add(this.imgLicense, 0, 0); this.tlpLicense.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpLicense.Name = "tlpLicense"; this.tlpLicense.Paint += new PaintEventHandler(this.tlpLicense_Paint); manager.ApplyResources(this.imgLicense, "imgLicense"); this.imgLicense.Name = "imgLicense"; this.imgLicense.TabStop = false; manager.ApplyResources(panel2, "tlpButtons"); panel2.Controls.Add(this.btnCheckForUpdates, 0, 0); panel2.Controls.Add(this.btnClose, 2, 0); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.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; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnClose; base.Controls.Add(panel2); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "AboutDialog"; base.ShowInTaskbar = false; ((ISupportInitialize) box).EndInit(); panel.ResumeLayout(false); panel.PerformLayout(); this.tlpLicense.ResumeLayout(false); this.tlpLicense.PerformLayout(); ((ISupportInitialize) this.imgLicense).EndInit(); panel2.ResumeLayout(false); panel2.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(ManageColumnsDialog)); this.lvItems = new ListViewEx(); this.imgAligns = new ImageList(this.components); this.btnUp = new Button(); this.btnHide = new Button(); this.btnShow = new Button(); this.btnDown = new Button(); this.tsAlign = new ToolStrip(); this.tsbLeftAlign = new ToolStripButton(); this.tsbCenter = new ToolStripButton(); this.tsbRightAlign = new ToolStripButton(); this.chkRememberColumns = new CheckBox(); this.chkAutosizeColumns = new CheckBox(); this.cmbTemplate = new TemplateComboBox(); this.btnDeleteTemplate = new Button(); this.btnSaveTemplate = new Button(); this.bvlButtons = new Bevel(); this.btnOk = new Button(); this.btnCancel = new Button(); this.tlpButtons = new TableLayoutPanel(); this.bvlTemplate = new Bevel(); TableLayoutPanel panel = new TableLayoutPanel(); ColumnHeader header = new ColumnHeader(); ColumnHeader header2 = new ColumnHeader(); Label control = new Label(); TableLayoutPanel panel2 = new TableLayoutPanel(); Label label2 = new Label(); panel.SuspendLayout(); this.tsAlign.SuspendLayout(); panel2.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lvItems, 0, 1); panel.Controls.Add(this.btnUp, 1, 1); panel.Controls.Add(this.btnHide, 1, 4); panel.Controls.Add(this.btnShow, 1, 3); panel.Controls.Add(this.btnDown, 1, 2); panel.Controls.Add(this.tsAlign, 1, 5); panel.Controls.Add(this.chkRememberColumns, 0, 8); panel.Controls.Add(this.chkAutosizeColumns, 0, 7); panel.Controls.Add(control, 0, 0); panel.Name = "tlpBack"; this.lvItems.AllowDrop = true; this.lvItems.CheckBoxes = true; this.lvItems.CollapsibleGroups = true; this.lvItems.Columns.AddRange(new ColumnHeader[] { header, header2 }); manager.ApplyResources(this.lvItems, "lvItems"); this.lvItems.ExplorerTheme = true; this.lvItems.FullRowSelect = true; this.lvItems.HeaderStyle = ColumnHeaderStyle.None; this.lvItems.HideSelection = false; this.lvItems.MultiSelect = false; this.lvItems.Name = "lvItems"; panel.SetRowSpan(this.lvItems, 6); this.lvItems.SmallImageList = this.imgAligns; this.lvItems.UseCompatibleStateImageBehavior = false; this.lvItems.View = View.Details; this.lvItems.ItemCheck += new ItemCheckEventHandler(this.lvItems_ItemCheck); this.lvItems.KeyDown += new KeyEventHandler(this.lvItems_KeyDown); this.lvItems.ItemDrag += new ItemDragEventHandler(this.lvItems_ItemDrag); this.lvItems.SelectedIndexChanged += new EventHandler(this.lvItems_SelectedIndexChanged); this.lvItems.ItemChecked += new ItemCheckedEventHandler(this.lvItems_ItemChecked); this.lvItems.ClientSizeChanged += new EventHandler(this.lvItems_ClientSizeChanged); manager.ApplyResources(header, "NameColumn"); manager.ApplyResources(header2, "WidthColumn"); this.imgAligns.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgAligns, "imgAligns"); this.imgAligns.TransparentColor = Color.Transparent; manager.ApplyResources(this.btnUp, "btnUp"); this.btnUp.Name = "btnUp"; this.btnUp.UseVisualStyleBackColor = true; this.btnUp.Click += new EventHandler(this.btnMove_Click); manager.ApplyResources(this.btnHide, "btnHide"); this.btnHide.Name = "btnHide"; this.btnHide.UseVisualStyleBackColor = true; this.btnHide.Click += new EventHandler(this.btnHide_Click); manager.ApplyResources(this.btnShow, "btnShow"); this.btnShow.Name = "btnShow"; this.btnShow.UseVisualStyleBackColor = true; this.btnShow.Click += new EventHandler(this.btnShow_Click); manager.ApplyResources(this.btnDown, "btnDown"); this.btnDown.Name = "btnDown"; this.btnDown.Tag = "1"; this.btnDown.UseVisualStyleBackColor = true; this.btnDown.Click += new EventHandler(this.btnMove_Click); this.tsAlign.BackColor = SystemColors.Control; this.tsAlign.GripStyle = ToolStripGripStyle.Hidden; this.tsAlign.Items.AddRange(new ToolStripItem[] { this.tsbLeftAlign, this.tsbCenter, this.tsbRightAlign }); manager.ApplyResources(this.tsAlign, "tsAlign"); this.tsAlign.Name = "tsAlign"; this.tsAlign.TabStop = true; this.tsbLeftAlign.DisplayStyle = ToolStripItemDisplayStyle.Image; manager.ApplyResources(this.tsbLeftAlign, "tsbLeftAlign"); this.tsbLeftAlign.Image = Resources.ImageThrobber; this.tsbLeftAlign.Name = "tsbLeftAlign"; this.tsbLeftAlign.Paint += new PaintEventHandler(this.tsbAlign_Paint); this.tsbLeftAlign.Click += new EventHandler(this.tsbAlign_Click); this.tsbCenter.DisplayStyle = ToolStripItemDisplayStyle.Image; manager.ApplyResources(this.tsbCenter, "tsbCenter"); this.tsbCenter.Image = Resources.ImageThrobber; this.tsbCenter.Name = "tsbCenter"; this.tsbCenter.Paint += new PaintEventHandler(this.tsbAlign_Paint); this.tsbCenter.Click += new EventHandler(this.tsbAlign_Click); this.tsbRightAlign.DisplayStyle = ToolStripItemDisplayStyle.Image; manager.ApplyResources(this.tsbRightAlign, "tsbRightAlign"); this.tsbRightAlign.Image = Resources.ImageThrobber; this.tsbRightAlign.Name = "tsbRightAlign"; this.tsbRightAlign.Paint += new PaintEventHandler(this.tsbAlign_Paint); this.tsbRightAlign.Click += new EventHandler(this.tsbAlign_Click); manager.ApplyResources(this.chkRememberColumns, "chkRememberColumns"); panel.SetColumnSpan(this.chkRememberColumns, 2); this.chkRememberColumns.Name = "chkRememberColumns"; this.chkRememberColumns.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkAutosizeColumns, "chkAutosizeColumns"); panel.SetColumnSpan(this.chkAutosizeColumns, 2); this.chkAutosizeColumns.Name = "chkAutosizeColumns"; this.chkAutosizeColumns.UseVisualStyleBackColor = true; manager.ApplyResources(control, "lblColumns"); panel.SetColumnSpan(control, 2); control.Name = "lblColumns"; manager.ApplyResources(panel2, "tlpTemplate"); panel2.Controls.Add(label2, 0, 0); panel2.Controls.Add(this.cmbTemplate, 1, 0); panel2.Controls.Add(this.btnSaveTemplate, 2, 0); panel2.Controls.Add(this.btnDeleteTemplate, 3, 0); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpTemplate"; manager.ApplyResources(label2, "lblTemplate"); label2.Name = "lblTemplate"; this.cmbTemplate.DeleteButton = this.btnDeleteTemplate; manager.ApplyResources(this.cmbTemplate, "cmbTemplate"); this.cmbTemplate.FormattingEnabled = true; this.cmbTemplate.Name = "cmbTemplate"; this.cmbTemplate.SaveButton = this.btnSaveTemplate; this.cmbTemplate.SelectionChangeCommitted += new EventHandler(this.cmbTemplate_SelectionChangeCommitted); this.cmbTemplate.Leave += new EventHandler(this.cmbTemplate_TextUpdate); this.cmbTemplate.Enter += new EventHandler(this.cmbTemplate_TextUpdate); this.cmbTemplate.TextUpdate += new EventHandler(this.cmbTemplate_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); manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; 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.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; 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.bvlTemplate, "bvlTemplate"); this.bvlTemplate.ForeColor = SystemColors.ControlDarkDark; this.bvlTemplate.Name = "bvlTemplate"; this.bvlTemplate.Sides = Border3DSide.Top; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(panel); base.Controls.Add(this.bvlTemplate); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpButtons); base.Controls.Add(panel2); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ManageColumnsDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.ManageColumnsDialog_Shown); panel.ResumeLayout(false); panel.PerformLayout(); this.tsAlign.ResumeLayout(false); this.tsAlign.PerformLayout(); panel2.ResumeLayout(false); panel2.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(SelectSearchFoldersDialog)); this.lblSelectFolders = new Label(); this.chkProcessSubfolders = new System.Windows.Forms.CheckBox(); this.tvFolders = new VirtualFolderTreeView(); this.imlCheck = new ImageList(this.components); this.btnCancel = new System.Windows.Forms.Button(); this.btnHarddrives = new System.Windows.Forms.Button(); this.btnReset = new System.Windows.Forms.Button(); this.btnOk = new System.Windows.Forms.Button(); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lblSelectFolders, 0, 0); panel.Controls.Add(this.chkProcessSubfolders, 0, 2); panel.Controls.Add(this.tvFolders, 0, 1); panel.Name = "tlpBack"; manager.ApplyResources(this.lblSelectFolders, "lblSelectFolders"); this.lblSelectFolders.Name = "lblSelectFolders"; manager.ApplyResources(this.chkProcessSubfolders, "chkProcessSubfolders"); this.chkProcessSubfolders.Name = "chkProcessSubfolders"; this.chkProcessSubfolders.UseVisualStyleBackColor = true; this.chkProcessSubfolders.CheckedChanged += new EventHandler(this.chkProcessSubfolders_CheckedChanged); this.tvFolders.ClearOnCollapse = false; this.tvFolders.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); this.tvFolders.DataBindings.Add(new Binding("FolderNameCasing", VirtualFilePanelSettings.Default, "FolderNameCasing", true, DataSourceUpdateMode.Never)); manager.ApplyResources(this.tvFolders, "tvFolders"); this.tvFolders.DrawMode = TreeViewDrawMode.OwnerDrawAll; this.tvFolders.ExplorerTheme = Settings.Default.ExplorerTheme; this.tvFolders.FadePlusMinus = true; this.tvFolders.FolderNameCasing = VirtualFilePanelSettings.Default.FolderNameCasing; this.tvFolders.FullRowSelect = true; this.tvFolders.HotTracking = true; this.tvFolders.Name = "tvFolders"; this.tvFolders.ShowAllRootFolders = true; this.tvFolders.ShowItemIcons = false; this.tvFolders.ShowLines = false; this.tvFolders.StateImageList = this.imlCheck; this.tvFolders.MouseClick += new MouseEventHandler(this.treeView_MouseClick); this.tvFolders.NodeAdded += new TreeViewEventHandler(this.treeView_NodeAdded); this.imlCheck.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imlCheck, "imlCheck"); this.imlCheck.TransparentColor = Color.Transparent; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnHarddrives, "btnHarddrives"); this.btnHarddrives.Name = "btnHarddrives"; this.btnHarddrives.UseVisualStyleBackColor = true; this.btnHarddrives.Click += new EventHandler(this.btnHarddrives_Click); manager.ApplyResources(this.btnReset, "btnReset"); this.btnReset.Name = "btnReset"; this.btnReset.UseVisualStyleBackColor = true; this.btnReset.Click += new EventHandler(this.btnReset_Click); manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.DialogResult = DialogResult.OK; this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnCancel, 4, 0); this.tlpButtons.Controls.Add(this.btnHarddrives, 3, 0); this.tlpButtons.Controls.Add(this.btnReset, 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.Bottom; this.bvlButtons.Style = Border3DStyle.Flat; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(panel); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpButtons); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SelectSearchFoldersDialog"; base.ShowInTaskbar = false; panel.ResumeLayout(false); panel.PerformLayout(); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(OptionsDialog)); this.tsNavigator = new ToolStrip(); this.pnlSectionBack = new PanelEx(); this.flpSection = new FlowLayoutPanel(); this.pnlSectionTitle = new GradientPanel(); this.lblSectionTitle = new Label(); this.lblWidthController = new Label(); this.tlpButtons = new TableLayoutPanel(); this.btnCancel = new Button(); this.btnOk = new Button(); this.bvlButtons = new Bevel(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); this.pnlSectionBack.SuspendLayout(); this.flpSection.SuspendLayout(); this.pnlSectionTitle.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.tsNavigator, 0, 0); panel.Controls.Add(this.pnlSectionBack, 1, 0); panel.Name = "tlpBack"; manager.ApplyResources(this.tsNavigator, "tsNavigator"); this.tsNavigator.BackColor = SystemColors.Window; this.tsNavigator.CanOverflow = false; this.tsNavigator.GripStyle = ToolStripGripStyle.Hidden; this.tsNavigator.LayoutStyle = ToolStripLayoutStyle.VerticalStackWithOverflow; this.tsNavigator.Name = "tsNavigator"; this.tsNavigator.TabStop = true; this.pnlSectionBack.BackColor = SystemColors.Window; this.pnlSectionBack.BorderColor = Color.FromArgb(0xa7, 0xa6, 170); this.pnlSectionBack.Controls.Add(this.flpSection); manager.ApplyResources(this.pnlSectionBack, "pnlSectionBack"); this.pnlSectionBack.Name = "pnlSectionBack"; manager.ApplyResources(this.flpSection, "flpSection"); this.flpSection.Controls.Add(this.pnlSectionTitle); this.flpSection.Controls.Add(this.lblWidthController); this.flpSection.Name = "flpSection"; this.flpSection.ClientSizeChanged += new EventHandler(this.flpSection_ClientSizeChanged); this.pnlSectionTitle.Controls.Add(this.lblSectionTitle); manager.ApplyResources(this.pnlSectionTitle, "pnlSectionTitle"); this.pnlSectionTitle.Name = "pnlSectionTitle"; this.pnlSectionTitle.StartColor = Color.LightSkyBlue; this.lblSectionTitle.BackColor = Color.Transparent; manager.ApplyResources(this.lblSectionTitle, "lblSectionTitle"); this.lblSectionTitle.ForeColor = Color.Navy; this.lblSectionTitle.Name = "lblSectionTitle"; manager.ApplyResources(this.lblWidthController, "lblWidthController"); this.lblWidthController.Name = "lblWidthController"; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnCancel, 2, 0); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); 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; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Bottom; this.bvlButtons.Style = Border3DStyle.Flat; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(this.bvlButtons); base.Controls.Add(panel); base.Controls.Add(this.tlpButtons); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "OptionsDialog"; base.ShowInTaskbar = false; base.ResizeBegin += new EventHandler(this.OptionsDialog_ResizeBegin); base.Shown += new EventHandler(this.OptionsDialog_Shown); base.ResizeEnd += new EventHandler(this.OptionsDialog_ResizeEnd); panel.ResumeLayout(false); this.pnlSectionBack.ResumeLayout(false); this.flpSection.ResumeLayout(false); this.pnlSectionTitle.ResumeLayout(false); this.tlpButtons.ResumeLayout(false); 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() { 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() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(SetAttributesDialog)); this.chkAttributeArchive = new CheckBox(); this.chkAttributeReadOnly = new CheckBox(); this.chkAttributeSystem = new CheckBox(); this.chkAttributeHidden = new CheckBox(); this.chkAttributeCompressed = new CheckBox(); this.chkAttributeEncrypted = new CheckBox(); this.btnCancel = new Button(); this.btnOk = new Button(); this.chkIncludeSubfolders = new CheckBox(); this.chkCreationTime = new CheckBox(); this.chkLastWriteTime = new CheckBox(); this.dtpLastAccessDate = new DateTimePicker(); this.dtpCreationTime = new DateTimePicker(); this.dtpLastWriteTime = new DateTimePicker(); this.dtpLastAccessTime = new DateTimePicker(); this.chkLastAccessTime = new CheckBox(); this.dtpLastWriteDate = new DateTimePicker(); this.dtpCreationDate = new DateTimePicker(); this.lblInvalidLastAccessTime = new Label(); this.lblInvalidCreationTime = new Label(); this.lblInvalidLastWriteTime = new Label(); this.lblItem = new Label(); this.tsItem = new VirtualItemToolStrip(this.components); this.tlpBack = new TableLayoutPanel(); this.bvlButtons = new Bevel(); GroupBox box = new GroupBox(); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); box.SuspendLayout(); panel.SuspendLayout(); panel2.SuspendLayout(); this.tlpBack.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(box, "grpAttributes"); this.tlpBack.SetColumnSpan(box, 3); box.Controls.Add(panel); box.Name = "grpAttributes"; box.TabStop = false; manager.ApplyResources(panel, "tlpAttributes"); panel.Controls.Add(this.chkAttributeArchive, 0, 0); panel.Controls.Add(this.chkAttributeReadOnly, 0, 1); panel.Controls.Add(this.chkAttributeSystem, 1, 0); panel.Controls.Add(this.chkAttributeHidden, 1, 1); panel.Controls.Add(this.chkAttributeCompressed, 2, 0); panel.Controls.Add(this.chkAttributeEncrypted, 2, 1); panel.Name = "tlpAttributes"; manager.ApplyResources(this.chkAttributeArchive, "chkAttributeArchive"); this.chkAttributeArchive.Checked = true; this.chkAttributeArchive.CheckState = CheckState.Indeterminate; this.chkAttributeArchive.Name = "chkAttributeArchive"; this.chkAttributeArchive.ThreeState = true; this.chkAttributeArchive.UseVisualStyleBackColor = true; this.chkAttributeArchive.Click += new EventHandler(this.chkAttributeArchive_Click); manager.ApplyResources(this.chkAttributeReadOnly, "chkAttributeReadOnly"); this.chkAttributeReadOnly.Checked = true; this.chkAttributeReadOnly.CheckState = CheckState.Indeterminate; this.chkAttributeReadOnly.Name = "chkAttributeReadOnly"; this.chkAttributeReadOnly.ThreeState = true; this.chkAttributeReadOnly.UseVisualStyleBackColor = true; this.chkAttributeReadOnly.Click += new EventHandler(this.chkAttributeArchive_Click); manager.ApplyResources(this.chkAttributeSystem, "chkAttributeSystem"); this.chkAttributeSystem.Checked = true; this.chkAttributeSystem.CheckState = CheckState.Indeterminate; this.chkAttributeSystem.Name = "chkAttributeSystem"; this.chkAttributeSystem.ThreeState = true; this.chkAttributeSystem.UseVisualStyleBackColor = true; this.chkAttributeSystem.Click += new EventHandler(this.chkAttributeArchive_Click); manager.ApplyResources(this.chkAttributeHidden, "chkAttributeHidden"); this.chkAttributeHidden.Checked = true; this.chkAttributeHidden.CheckState = CheckState.Indeterminate; this.chkAttributeHidden.Name = "chkAttributeHidden"; this.chkAttributeHidden.ThreeState = true; this.chkAttributeHidden.UseVisualStyleBackColor = true; this.chkAttributeHidden.Click += new EventHandler(this.chkAttributeArchive_Click); manager.ApplyResources(this.chkAttributeCompressed, "chkAttributeCompressed"); this.chkAttributeCompressed.Checked = true; this.chkAttributeCompressed.CheckState = CheckState.Indeterminate; this.chkAttributeCompressed.Name = "chkAttributeCompressed"; this.chkAttributeCompressed.ThreeState = true; this.chkAttributeCompressed.UseVisualStyleBackColor = true; this.chkAttributeCompressed.Click += new EventHandler(this.chkAttributeCompressed_Click); manager.ApplyResources(this.chkAttributeEncrypted, "chkAttributeEncrypted"); this.chkAttributeEncrypted.Checked = true; this.chkAttributeEncrypted.CheckState = CheckState.Indeterminate; this.chkAttributeEncrypted.Name = "chkAttributeEncrypted"; this.chkAttributeEncrypted.ThreeState = true; this.chkAttributeEncrypted.UseVisualStyleBackColor = true; this.chkAttributeEncrypted.Click += new EventHandler(this.chkAttributeEncrypted_Click); manager.ApplyResources(panel2, "tlpButtons"); panel2.BackColor = Color.Gainsboro; panel2.Controls.Add(this.btnCancel, 2, 0); panel2.Controls.Add(this.btnOk, 1, 0); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpButtons"; 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.chkIncludeSubfolders, "chkIncludeSubfolders"); this.tlpBack.SetColumnSpan(this.chkIncludeSubfolders, 3); this.chkIncludeSubfolders.Name = "chkIncludeSubfolders"; this.chkIncludeSubfolders.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCreationTime, "chkCreationTime"); this.chkCreationTime.Name = "chkCreationTime"; this.chkCreationTime.UseVisualStyleBackColor = true; this.chkCreationTime.Click += new EventHandler(this.chkLastAccessTime_Click); this.chkCreationTime.CheckedChanged += new EventHandler(this.chkLastAccessTime_CheckedChanged); manager.ApplyResources(this.chkLastWriteTime, "chkLastWriteTime"); this.chkLastWriteTime.Name = "chkLastWriteTime"; this.chkLastWriteTime.UseVisualStyleBackColor = true; this.chkLastWriteTime.Click += new EventHandler(this.chkLastAccessTime_Click); this.chkLastWriteTime.CheckedChanged += new EventHandler(this.chkLastAccessTime_CheckedChanged); manager.ApplyResources(this.dtpLastAccessDate, "dtpLastAccessDate"); this.dtpLastAccessDate.Format = DateTimePickerFormat.Short; this.dtpLastAccessDate.Name = "dtpLastAccessDate"; this.dtpLastAccessDate.EnabledChanged += new EventHandler(this.dtpLastAccessDate_EnabledChanged); manager.ApplyResources(this.dtpCreationTime, "dtpCreationTime"); this.dtpCreationTime.Format = DateTimePickerFormat.Time; this.dtpCreationTime.Name = "dtpCreationTime"; this.dtpCreationTime.ShowUpDown = true; manager.ApplyResources(this.dtpLastWriteTime, "dtpLastWriteTime"); this.dtpLastWriteTime.Format = DateTimePickerFormat.Time; this.dtpLastWriteTime.Name = "dtpLastWriteTime"; this.dtpLastWriteTime.ShowUpDown = true; manager.ApplyResources(this.dtpLastAccessTime, "dtpLastAccessTime"); this.dtpLastAccessTime.Format = DateTimePickerFormat.Time; this.dtpLastAccessTime.Name = "dtpLastAccessTime"; this.dtpLastAccessTime.ShowUpDown = true; manager.ApplyResources(this.chkLastAccessTime, "chkLastAccessTime"); this.chkLastAccessTime.Name = "chkLastAccessTime"; this.chkLastAccessTime.UseVisualStyleBackColor = true; this.chkLastAccessTime.Click += new EventHandler(this.chkLastAccessTime_Click); this.chkLastAccessTime.CheckedChanged += new EventHandler(this.chkLastAccessTime_CheckedChanged); manager.ApplyResources(this.dtpLastWriteDate, "dtpLastWriteDate"); this.dtpLastWriteDate.Format = DateTimePickerFormat.Short; this.dtpLastWriteDate.Name = "dtpLastWriteDate"; this.dtpLastWriteDate.EnabledChanged += new EventHandler(this.dtpLastAccessDate_EnabledChanged); manager.ApplyResources(this.dtpCreationDate, "dtpCreationDate"); this.dtpCreationDate.Format = DateTimePickerFormat.Short; this.dtpCreationDate.Name = "dtpCreationDate"; this.dtpCreationDate.EnabledChanged += new EventHandler(this.dtpLastAccessDate_EnabledChanged); manager.ApplyResources(this.lblInvalidLastAccessTime, "lblInvalidLastAccessTime"); this.lblInvalidLastAccessTime.Name = "lblInvalidLastAccessTime"; manager.ApplyResources(this.lblInvalidCreationTime, "lblInvalidCreationTime"); this.lblInvalidCreationTime.Name = "lblInvalidCreationTime"; manager.ApplyResources(this.lblInvalidLastWriteTime, "lblInvalidLastWriteTime"); this.lblInvalidLastWriteTime.Name = "lblInvalidLastWriteTime"; manager.ApplyResources(this.lblItem, "lblItem"); this.tlpBack.SetColumnSpan(this.lblItem, 3); this.lblItem.Name = "lblItem"; manager.ApplyResources(this.tsItem, "tsItem"); this.tsItem.CanOverflow = false; this.tlpBack.SetColumnSpan(this.tsItem, 3); this.tsItem.GripStyle = ToolStripGripStyle.Hidden; this.tsItem.Name = "tsItem"; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.dtpLastWriteTime, 2, 6); this.tlpBack.Controls.Add(this.dtpCreationTime, 2, 5); this.tlpBack.Controls.Add(this.dtpLastAccessDate, 1, 4); this.tlpBack.Controls.Add(this.chkLastWriteTime, 0, 6); this.tlpBack.Controls.Add(this.dtpLastAccessTime, 2, 4); this.tlpBack.Controls.Add(this.chkCreationTime, 0, 5); this.tlpBack.Controls.Add(this.dtpLastWriteDate, 1, 6); this.tlpBack.Controls.Add(this.lblItem, 0, 0); this.tlpBack.Controls.Add(this.dtpCreationDate, 1, 5); this.tlpBack.Controls.Add(box, 0, 3); this.tlpBack.Controls.Add(this.chkIncludeSubfolders, 0, 2); this.tlpBack.Controls.Add(this.tsItem, 0, 1); this.tlpBack.Controls.Add(this.chkLastAccessTime, 0, 4); this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Name = "tlpBack"; 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; base.CancelButton = this.btnCancel; base.Controls.Add(panel2); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpBack); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SetAttributesDialog"; base.ShowInTaskbar = false; box.ResumeLayout(false); box.PerformLayout(); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(CompareFoldersDialog)); this.chkCompareContent = new CheckBox(); this.chkCompareSize = new CheckBox(); this.chkAsyncCompareContent = new CheckBox(); this.chkCompareDateTime = new CheckBox(); this.chkCompareAttributes = new CheckBox(); this.rbUnselect = new RadioButton(); this.rbSelect = new RadioButton(); this.btnOk = new Button(); this.btnCancel = new Button(); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); GroupBox box = new GroupBox(); GroupBox box2 = new GroupBox(); TableLayoutPanel panel = new TableLayoutPanel(); box.SuspendLayout(); box2.SuspendLayout(); panel.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); box.Controls.Add(this.chkCompareContent); box.Controls.Add(this.chkCompareSize); box.Controls.Add(this.chkAsyncCompareContent); box.Controls.Add(this.chkCompareDateTime); box.Controls.Add(this.chkCompareAttributes); manager.ApplyResources(box, "grpOptions"); box.Name = "grpOptions"; box.TabStop = false; manager.ApplyResources(this.chkCompareContent, "chkCompareContent"); this.chkCompareContent.Name = "chkCompareContent"; this.chkCompareContent.UseVisualStyleBackColor = true; this.chkCompareContent.CheckedChanged += new EventHandler(this.chkCompareContent_CheckedChanged); manager.ApplyResources(this.chkCompareSize, "chkCompareSize"); this.chkCompareSize.Checked = true; this.chkCompareSize.CheckState = CheckState.Checked; this.chkCompareSize.Name = "chkCompareSize"; this.chkCompareSize.UseVisualStyleBackColor = true; this.chkCompareSize.CheckedChanged += new EventHandler(this.chkCompareSize_CheckedChanged); manager.ApplyResources(this.chkAsyncCompareContent, "chkAsyncCompareContent"); this.chkAsyncCompareContent.Checked = true; this.chkAsyncCompareContent.CheckState = CheckState.Indeterminate; this.chkAsyncCompareContent.Name = "chkAsyncCompareContent"; this.chkAsyncCompareContent.ThreeState = true; this.chkAsyncCompareContent.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCompareDateTime, "chkCompareDateTime"); this.chkCompareDateTime.Checked = true; this.chkCompareDateTime.CheckState = CheckState.Checked; this.chkCompareDateTime.Name = "chkCompareDateTime"; this.chkCompareDateTime.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCompareAttributes, "chkCompareAttributes"); this.chkCompareAttributes.Name = "chkCompareAttributes"; this.chkCompareAttributes.UseVisualStyleBackColor = true; box2.Controls.Add(this.rbUnselect); box2.Controls.Add(this.rbSelect); manager.ApplyResources(box2, "grpSelect"); box2.Name = "grpSelect"; box2.TabStop = false; manager.ApplyResources(this.rbUnselect, "rbUnselect"); this.rbUnselect.Name = "rbUnselect"; this.rbUnselect.UseVisualStyleBackColor = true; manager.ApplyResources(this.rbSelect, "rbSelect"); this.rbSelect.Checked = true; this.rbSelect.Name = "rbSelect"; this.rbSelect.TabStop = true; this.rbSelect.UseVisualStyleBackColor = true; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(box2, 0, 1); panel.Controls.Add(box, 0, 0); panel.Name = "tlpBack"; 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.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; 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; 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 = "CompareFoldersDialog"; base.ShowInTaskbar = false; box.ResumeLayout(false); box.PerformLayout(); box2.ResumeLayout(false); box2.PerformLayout(); panel.ResumeLayout(false); this.tlpButtons.ResumeLayout(false); this.tlpButtons.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() { ComponentResourceManager manager = new ComponentResourceManager(typeof(SelectDialog)); this.rbMask = new RadioButton(); this.cmbMask = new ComboBox(); this.chkExceptMask = new CheckBox(); this.rbFilter = new RadioButton(); this.lstFilters = new ListBox(); this.chkSelectFolders = new CheckBox(); this.btnOk = new Button(); this.btnCancel = new Button(); 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.rbMask, 0, 0); panel.Controls.Add(this.cmbMask, 1, 1); panel.Controls.Add(this.chkExceptMask, 1, 3); panel.Controls.Add(this.rbFilter, 0, 4); panel.Controls.Add(this.lstFilters, 1, 5); panel.Controls.Add(this.chkSelectFolders, 1, 2); panel.Name = "tlpBack"; manager.ApplyResources(this.rbMask, "rbMask"); this.rbMask.Checked = true; panel.SetColumnSpan(this.rbMask, 2); this.rbMask.Name = "rbMask"; this.rbMask.TabStop = true; this.rbMask.UseVisualStyleBackColor = true; this.rbMask.Click += new EventHandler(this.rbMask_Click); manager.ApplyResources(this.cmbMask, "cmbMask"); this.cmbMask.Name = "cmbMask"; this.cmbMask.TextUpdate += new EventHandler(this.cmbMask_TextUpdate); manager.ApplyResources(this.chkExceptMask, "chkExceptMask"); this.chkExceptMask.Name = "chkExceptMask"; this.chkExceptMask.UseVisualStyleBackColor = true; manager.ApplyResources(this.rbFilter, "rbFilter"); panel.SetColumnSpan(this.rbFilter, 2); this.rbFilter.Name = "rbFilter"; this.rbFilter.UseVisualStyleBackColor = true; this.rbFilter.Click += new EventHandler(this.rbFilter_Click); manager.ApplyResources(this.lstFilters, "lstFilters"); this.lstFilters.FormattingEnabled = true; this.lstFilters.Name = "lstFilters"; this.lstFilters.Enter += new EventHandler(this.lstFilters_Enter); manager.ApplyResources(this.chkSelectFolders, "chkSelectFolders"); this.chkSelectFolders.Name = "chkSelectFolders"; this.chkSelectFolders.UseVisualStyleBackColor = true; 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; 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; 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 = "SelectDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.SelectDialog_Shown); base.FormClosed += new FormClosedEventHandler(this.SelectDialog_FormClosed); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(SelectButtonImage)); this.rbNoImage = new RadioButton(); this.rbDefault = new RadioButton(); this.lvDefault = new ListViewEx(); this.rbUserDefined = new RadioButton(); this.btnBrowse = new Button(); this.btnOk = new Button(); this.btnCancel = new Button(); this.tlpBack = new TableLayoutPanel(); this.txtUserDefinedImage = new TextBox(); this.lvUserDefined = new ListViewEx(); this.btnReset = new Button(); this.OpenImageDialog = new OpenFileDialog(); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); this.tlpBack.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(this.rbNoImage, "rbNoImage"); this.tlpBack.SetColumnSpan(this.rbNoImage, 3); this.rbNoImage.Name = "rbNoImage"; this.rbNoImage.TabStop = true; this.rbNoImage.UseVisualStyleBackColor = true; this.rbNoImage.CheckedChanged += new EventHandler(this.rbNoImage_CheckedChanged); manager.ApplyResources(this.rbDefault, "rbDefault"); this.tlpBack.SetColumnSpan(this.rbDefault, 3); this.rbDefault.Name = "rbDefault"; this.rbDefault.TabStop = true; this.rbDefault.UseVisualStyleBackColor = true; this.rbDefault.CheckedChanged += new EventHandler(this.rbOtherImage_CheckedChanged); this.tlpBack.SetColumnSpan(this.lvDefault, 2); manager.ApplyResources(this.lvDefault, "lvDefault"); this.lvDefault.MultiSelect = false; this.lvDefault.Name = "lvDefault"; this.lvDefault.OwnerDraw = true; this.lvDefault.UseCompatibleStateImageBehavior = false; this.lvDefault.DrawItem += new DrawListViewItemEventHandler(this.lvImage_DrawItem); this.lvDefault.SelectedIndexChanged += new EventHandler(this.lvImage_SelectedIndexChanged); manager.ApplyResources(this.rbUserDefined, "rbUserDefined"); this.tlpBack.SetColumnSpan(this.rbUserDefined, 2); this.rbUserDefined.Name = "rbUserDefined"; this.rbUserDefined.TabStop = true; this.rbUserDefined.UseVisualStyleBackColor = true; this.rbUserDefined.CheckedChanged += new EventHandler(this.rbOtherImage_CheckedChanged); manager.ApplyResources(this.btnBrowse, "btnBrowse"); this.btnBrowse.Name = "btnBrowse"; this.btnBrowse.UseVisualStyleBackColor = true; this.btnBrowse.Click += new EventHandler(this.btnBrowse_Click); 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.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.rbNoImage, 0, 0); this.tlpBack.Controls.Add(this.btnBrowse, 2, 4); this.tlpBack.Controls.Add(this.rbDefault, 0, 1); this.tlpBack.Controls.Add(this.rbUserDefined, 0, 3); this.tlpBack.Controls.Add(this.txtUserDefinedImage, 1, 4); this.tlpBack.Controls.Add(this.lvDefault, 1, 2); this.tlpBack.Controls.Add(this.lvUserDefined, 1, 5); this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.txtUserDefinedImage, "txtUserDefinedImage"); this.txtUserDefinedImage.Name = "txtUserDefinedImage"; this.txtUserDefinedImage.ReadOnly = true; this.txtUserDefinedImage.TabStop = false; this.tlpBack.SetColumnSpan(this.lvUserDefined, 2); manager.ApplyResources(this.lvUserDefined, "lvUserDefined"); this.lvUserDefined.MultiSelect = false; this.lvUserDefined.Name = "lvUserDefined"; this.lvUserDefined.OwnerDraw = true; this.lvUserDefined.UseCompatibleStateImageBehavior = false; this.lvUserDefined.DrawItem += new DrawListViewItemEventHandler(this.lvImage_DrawItem); this.lvUserDefined.SelectedIndexChanged += new EventHandler(this.lvImage_SelectedIndexChanged); manager.ApplyResources(this.btnReset, "btnReset"); this.btnReset.Name = "btnReset"; this.btnReset.UseVisualStyleBackColor = true; this.btnReset.Click += new EventHandler(this.btnReset_Click); manager.ApplyResources(this.OpenImageDialog, "OpenImageDialog"); manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Controls.Add(this.btnReset, 2, 0); this.tlpButtons.Controls.Add(this.btnCancel, 3, 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.Bottom; this.bvlButtons.Style = Border3DStyle.Flat; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(this.tlpBack); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpButtons); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SelectButtonImage"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.SelectButtonImage_Shown); this.tlpBack.ResumeLayout(false); this.tlpBack.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(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() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(FilterDialog)); this.filterControlComplex = new ComplexFilterControl(); this.chkRememberFilter = 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.btnApply = new Button(); this.btnClear = new Button(); this.btnCancel = new Button(); this.bvlTemplate = new Bevel(); this.imageList = new ImageList(this.components); this.tlpTemplate = new TableLayoutPanel(); this.btnSaveTemplate = new Button(); this.btnDeleteTemplate = new Button(); this.cmbFilterTemplate = new TemplateComboBox(); this.bvlButtons = new Bevel(); Label label = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); this.tlpButtons.SuspendLayout(); this.tsView.SuspendLayout(); this.tlpTemplate.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblFilterTemplate"); label.Name = "lblFilterTemplate"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.filterControlComplex, 0, 0); panel.Controls.Add(this.chkRememberFilter, 0, 1); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBack"; this.filterControlComplex.AdvancedViewFilters = ViewFilters.Folder | ViewFilters.Advanced | ViewFilters.Attributes | ViewFilters.ExcludeMask | ViewFilters.IncludeMask; this.filterControlComplex.BasicViewFilters = ViewFilters.Folder | ViewFilters.Attributes | ViewFilters.IncludeMask; manager.ApplyResources(this.filterControlComplex, "filterControlComplex"); this.filterControlComplex.HideViewFilters = ViewFilters.Content; this.filterControlComplex.MinimumSize = new Size(0x1c4, 0); this.filterControlComplex.Name = "filterControlComplex"; this.filterControlComplex.View = Settings.Default.FilterDialogView; this.filterControlComplex.FilterChanged += new EventHandler(this.FilterChanged); this.filterControlComplex.ViewChanged += new EventHandler(this.filterControlComplex_ViewChanged); manager.ApplyResources(this.chkRememberFilter, "chkRememberFilter"); this.chkRememberFilter.Name = "chkRememberFilter"; this.chkRememberFilter.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.btnApply, 4, 0); this.tlpButtons.Controls.Add(this.btnClear, 2, 0); this.tlpButtons.Controls.Add(this.btnCancel, 3, 0); this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Name = "tlpButtons"; 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.tsmiViewBasic_Click); this.tsmiViewAdvanced.Name = "tsmiViewAdvanced"; manager.ApplyResources(this.tsmiViewAdvanced, "tsmiViewAdvanced"); this.tsmiViewAdvanced.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint); this.tsmiViewAdvanced.Click += new EventHandler(this.tsmiViewBasic_Click); this.tsmiViewFull.Name = "tsmiViewFull"; manager.ApplyResources(this.tsmiViewFull, "tsmiViewFull"); this.tsmiViewFull.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint); this.tsmiViewFull.Click += new EventHandler(this.tsmiViewBasic_Click); manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.DialogResult = DialogResult.OK; this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnApply, "btnApply"); this.btnApply.Name = "btnApply"; this.btnApply.UseVisualStyleBackColor = true; this.btnApply.Click += new EventHandler(this.btnApply_Click); manager.ApplyResources(this.btnClear, "btnClear"); this.btnClear.Name = "btnClear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new EventHandler(this.btnClear_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; 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.imageList.ColorDepth = ColorDepth.Depth8Bit; manager.ApplyResources(this.imageList, "imageList"); this.imageList.TransparentColor = Color.Transparent; manager.ApplyResources(this.tlpTemplate, "tlpTemplate"); this.tlpTemplate.Controls.Add(this.btnSaveTemplate, 2, 0); this.tlpTemplate.Controls.Add(this.btnDeleteTemplate, 3, 0); this.tlpTemplate.Controls.Add(label, 0, 0); this.tlpTemplate.Controls.Add(this.cmbFilterTemplate, 1, 0); this.tlpTemplate.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpTemplate.Name = "tlpTemplate"; 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.btnDeleteTemplate, "btnDeleteTemplate"); this.btnDeleteTemplate.Name = "btnDeleteTemplate"; this.btnDeleteTemplate.UseVisualStyleBackColor = true; this.cmbFilterTemplate.DeleteButton = this.btnDeleteTemplate; manager.ApplyResources(this.cmbFilterTemplate, "cmbFilterTemplate"); this.cmbFilterTemplate.FormattingEnabled = true; this.cmbFilterTemplate.Name = "cmbFilterTemplate"; this.cmbFilterTemplate.SaveButton = this.btnSaveTemplate; this.cmbFilterTemplate.SelectionChangeCommitted += new EventHandler(this.cmbFilterTemplate_SelectionChangeCommitted); this.cmbFilterTemplate.Leave += new EventHandler(this.cmbFilterTemplate_Enter); this.cmbFilterTemplate.Enter += new EventHandler(this.cmbFilterTemplate_Enter); this.cmbFilterTemplate.TextUpdate += new EventHandler(this.cmbFilterTemplate_TextUpdate); manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Bottom; this.bvlButtons.Style = Border3DStyle.Flat; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(this.bvlButtons); base.Controls.Add(panel); base.Controls.Add(this.bvlTemplate); base.Controls.Add(this.tlpTemplate); base.Controls.Add(this.tlpButtons); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.KeyPreview = true; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FilterDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.FilterDialog_Shown); panel.ResumeLayout(false); panel.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() { ComponentResourceManager manager = new ComponentResourceManager(typeof(CheckForUpdatesDialog)); this.btnOk = new Button(); this.tlpBack = new TableLayoutPanel(); this.pictureBox = new PictureBox(); this.lblCheckResult = new LinkLabel(); this.bvlButtons = new Bevel(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); this.tlpBack.SuspendLayout(); ((ISupportInitialize) this.pictureBox).BeginInit(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpButtons"); panel.BackColor = Color.Gainsboro; panel.Controls.Add(this.btnOk, 1, 0); panel.Name = "tlpButtons"; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.DialogResult = DialogResult.Cancel; this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.pictureBox, 0, 0); this.tlpBack.Controls.Add(this.lblCheckResult, 1, 0); this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.pictureBox, "pictureBox"); this.pictureBox.Name = "pictureBox"; this.pictureBox.TabStop = false; manager.ApplyResources(this.lblCheckResult, "lblCheckResult"); this.lblCheckResult.Name = "lblCheckResult"; this.lblCheckResult.Tag = "http://www.nomad-net.info"; this.lblCheckResult.UseMnemonic = false; this.lblCheckResult.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lblCheckResult_LinkClicked); 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; base.CancelButton = this.btnOk; base.Controls.Add(panel); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpBack); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "CheckForUpdatesDialog"; panel.ResumeLayout(false); panel.PerformLayout(); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); ((ISupportInitialize) this.pictureBox).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.tlpButtons = new TableLayoutPanel(); this.btnCancel = new Button(); this.btnOk = new Button(); this.tlpBack = new TableLayoutPanel(); this.lblCaption = new Label(); this.txtValue = new TextBox(); this.bvlButtons = new Bevel(); this.tlpButtons.SuspendLayout(); this.tlpBack.SuspendLayout(); base.SuspendLayout(); this.tlpButtons.AutoSize = true; this.tlpButtons.BackColor = Color.Gainsboro; this.tlpButtons.ColumnCount = 3; this.tlpButtons.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tlpButtons.ColumnStyles.Add(new ColumnStyle()); this.tlpButtons.ColumnStyles.Add(new ColumnStyle()); this.tlpButtons.Controls.Add(this.btnCancel, 2, 0); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Dock = DockStyle.Top; this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Location = new Point(0, 0x3a); this.tlpButtons.Name = "tlpButtons"; this.tlpButtons.Padding = new Padding(6, 4, 6, 4); this.tlpButtons.RowCount = 1; this.tlpButtons.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tlpButtons.Size = new Size(0x16a, 0x25); this.tlpButtons.TabIndex = 1; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.FlatStyle = FlatStyle.System; this.btnCancel.Location = new Point(0x116, 7); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x4b, 0x17); this.btnCancel.TabIndex = 1; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnOk.DialogResult = DialogResult.OK; this.btnOk.FlatStyle = FlatStyle.System; this.btnOk.Location = new Point(0xc5, 7); this.btnOk.Name = "btnOk"; this.btnOk.Size = new Size(0x4b, 0x17); this.btnOk.TabIndex = 0; this.btnOk.Text = "OK"; this.btnOk.UseVisualStyleBackColor = true; this.tlpBack.AutoSize = true; this.tlpBack.ColumnCount = 1; this.tlpBack.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tlpBack.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20f)); this.tlpBack.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20f)); this.tlpBack.Controls.Add(this.lblCaption, 0, 0); this.tlpBack.Controls.Add(this.txtValue, 0, 1); this.tlpBack.Dock = DockStyle.Top; this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Location = new Point(0, 0); this.tlpBack.Name = "tlpBack"; this.tlpBack.Padding = new Padding(9); this.tlpBack.RowCount = 2; this.tlpBack.RowStyles.Add(new RowStyle()); this.tlpBack.RowStyles.Add(new RowStyle()); this.tlpBack.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f)); this.tlpBack.Size = new Size(0x16a, 0x39); this.tlpBack.TabIndex = 0; this.lblCaption.AutoSize = true; this.lblCaption.Location = new Point(10, 9); this.lblCaption.Margin = new Padding(1, 0, 3, 0); this.lblCaption.MaximumSize = new Size(0x15c, 0); this.lblCaption.Name = "lblCaption"; this.lblCaption.Size = new Size(0x35, 13); this.lblCaption.TabIndex = 0; this.lblCaption.Text = "lblCaption"; this.txtValue.Dock = DockStyle.Fill; this.txtValue.Location = new Point(12, 0x19); this.txtValue.Name = "txtValue"; this.txtValue.Size = new Size(0x152, 20); this.txtValue.TabIndex = 1; this.txtValue.TextChanged += new EventHandler(this.txtValue_TextChanged); this.bvlButtons.Dock = DockStyle.Top; this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Location = new Point(0, 0x39); this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Size = new Size(0x16a, 1); this.bvlButtons.Style = Border3DStyle.Flat; this.bvlButtons.TabIndex = 2; base.AcceptButton = this.btnOk; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.AutoSize = true; base.AutoSizeMode = AutoSizeMode.GrowAndShrink; base.CancelButton = this.btnCancel; base.ClientSize = new Size(0x16a, 0x5f); base.Controls.Add(this.tlpButtons); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpBack); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; this.MinimumSize = new Size(0x170, 0); base.Name = "InputDialog"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "InputDialog"; base.Shown += new EventHandler(this.txtValue_TextChanged); this.tlpButtons.ResumeLayout(false); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }