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() { 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(BookmarkFolderDialog)); this.lblBookmarkName = new Label(); this.txtBookmarkName = new TextBox(); this.chkDoNotShowAgain = new CheckBox(); this.lblHotkey = new Label(); this.btnCustomize = new Button(); this.txtHotkey = new HotKeyBox(); this.lblCustomize = new Label(); this.lblItem = new Label(); this.tsItem = new VirtualItemToolStrip(this.components); this.btnOk = new Button(); this.btnCancel = new Button(); this.Validator = new ValidatorProvider(); this.bvlButtons = new Bevel(); 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(panel, "tlpBack"); panel.Controls.Add(this.lblBookmarkName, 0, 2); panel.Controls.Add(this.txtBookmarkName, 0, 3); panel.Controls.Add(this.chkDoNotShowAgain, 0, 5); panel.Controls.Add(control, 0, 4); panel.Controls.Add(this.lblItem, 0, 0); panel.Controls.Add(this.tsItem, 0, 1); panel.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(control, "grpAdditional"); control.Controls.Add(panel2); control.Name = "grpAdditional"; control.TabStop = false; manager.ApplyResources(panel2, "tlpAdditional"); panel2.Controls.Add(this.lblHotkey, 0, 0); panel2.Controls.Add(this.btnCustomize, 1, 1); panel2.Controls.Add(this.txtHotkey, 1, 0); panel2.Controls.Add(this.lblCustomize, 0, 1); panel2.Name = "tlpAdditional"; manager.ApplyResources(this.lblHotkey, "lblHotkey"); this.lblHotkey.Name = "lblHotkey"; manager.ApplyResources(this.btnCustomize, "btnCustomize"); this.btnCustomize.Name = "btnCustomize"; this.btnCustomize.UseVisualStyleBackColor = true; this.btnCustomize.Click += new EventHandler(this.btnCustomize_Click); manager.ApplyResources(this.txtHotkey, "txtHotkey"); this.txtHotkey.Name = "txtHotkey"; manager.ApplyResources(this.lblCustomize, "lblCustomize"); this.lblCustomize.Name = "lblCustomize"; manager.ApplyResources(this.lblItem, "lblItem"); this.lblItem.Name = "lblItem"; this.tsItem.BackColor = SystemColors.ButtonFace; manager.ApplyResources(this.tsItem, "tsItem"); this.tsItem.GripStyle = ToolStripGripStyle.Hidden; this.tsItem.Name = "tsItem"; manager.ApplyResources(panel3, "tlpButtons"); panel3.BackColor = Color.Gainsboro; panel3.Controls.Add(this.btnOk, 1, 0); panel3.Controls.Add(this.btnCancel, 2, 0); panel3.Name = "tlpButtons"; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.DialogResult = DialogResult.OK; 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(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "BookmarkFolderDialog"; base.ShowInTaskbar = false; 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(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() { 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(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(); }