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(MakeLinkDialog)); this.lblItem = new Label(); this.rbLinkDefault = new RadioButton(); this.rbLinkSymbolic = new RadioButton(); this.rbLinkHard = new RadioButton(); this.rbLinkJunction = new RadioButton(); this.rbLinkShellFolder = new RadioButton(); this.cmbDestFolder = new ComboBox(); this.tsItem = new VirtualItemToolStrip(this.components); this.btnOk = new Button(); this.btnTree = new Button(); this.btnCancel = new Button(); this.bvlButtons = new Bevel(); this.Validator = new ValidatorProvider(); this.AutoComplete = new AutoCompleteProvider(); Label label = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); GroupBox control = new GroupBox(); TableLayoutPanel panel2 = new TableLayoutPanel(); TableLayoutPanel panel3 = new TableLayoutPanel(); panel.SuspendLayout(); control.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblIn"); label.Name = "lblIn"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lblItem, 0, 0); panel.Controls.Add(control, 0, 4); panel.Controls.Add(this.cmbDestFolder, 0, 3); panel.Controls.Add(this.tsItem, 0, 1); panel.Controls.Add(label, 0, 2); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBack"; manager.ApplyResources(this.lblItem, "lblItem"); this.lblItem.Name = "lblItem"; manager.ApplyResources(control, "grpLinkType"); control.Controls.Add(panel2); control.Name = "grpLinkType"; control.TabStop = false; manager.ApplyResources(panel2, "tlpLinkType"); panel2.Controls.Add(this.rbLinkDefault, 0, 0); panel2.Controls.Add(this.rbLinkSymbolic, 0, 4); panel2.Controls.Add(this.rbLinkHard, 0, 1); panel2.Controls.Add(this.rbLinkJunction, 0, 3); panel2.Controls.Add(this.rbLinkShellFolder, 0, 2); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpLinkType"; panel2.Validating += new CancelEventHandler(this.tlpLinkType_Validating); manager.ApplyResources(this.rbLinkDefault, "rbLinkDefault"); this.rbLinkDefault.Checked = true; this.rbLinkDefault.Name = "rbLinkDefault"; this.rbLinkDefault.TabStop = true; this.rbLinkDefault.UseVisualStyleBackColor = true; this.rbLinkDefault.Click += new EventHandler(this.rbLinkDefault_Click); manager.ApplyResources(this.rbLinkSymbolic, "rbLinkSymbolic"); this.rbLinkSymbolic.Name = "rbLinkSymbolic"; this.rbLinkSymbolic.UseVisualStyleBackColor = true; this.rbLinkSymbolic.Click += new EventHandler(this.rbLinkDefault_Click); manager.ApplyResources(this.rbLinkHard, "rbLinkHard"); this.rbLinkHard.Name = "rbLinkHard"; this.rbLinkHard.UseVisualStyleBackColor = true; this.rbLinkHard.Click += new EventHandler(this.rbLinkDefault_Click); manager.ApplyResources(this.rbLinkJunction, "rbLinkJunction"); this.rbLinkJunction.Name = "rbLinkJunction"; this.rbLinkJunction.UseVisualStyleBackColor = true; this.rbLinkJunction.Click += new EventHandler(this.rbLinkDefault_Click); manager.ApplyResources(this.rbLinkShellFolder, "rbLinkShellFolder"); this.rbLinkShellFolder.Name = "rbLinkShellFolder"; this.rbLinkShellFolder.UseVisualStyleBackColor = true; this.rbLinkShellFolder.Click += new EventHandler(this.rbLinkDefault_Click); this.AutoComplete.SetAutoComplete(this.cmbDestFolder, true); manager.ApplyResources(this.cmbDestFolder, "cmbDestFolder"); this.cmbDestFolder.Name = "cmbDestFolder"; this.Validator.SetValidateOn(this.cmbDestFolder, ValidateOn.TextChangedTimer); this.cmbDestFolder.Validating += new CancelEventHandler(this.cmbDestFolder_Validating); this.cmbDestFolder.Enter += new EventHandler(this.cmbDestFolder_Enter); this.cmbDestFolder.Validated += new EventHandler(this.cmbDestFolder_Validated); this.cmbDestFolder.TextUpdate += new EventHandler(this.cmbDestFolder_TextUpdate); this.tsItem.BackColor = SystemColors.ButtonFace; this.tsItem.GripStyle = ToolStripGripStyle.Hidden; manager.ApplyResources(this.tsItem, "tsItem"); this.tsItem.Name = "tsItem"; manager.ApplyResources(panel3, "tlpButtons"); panel3.Controls.Add(this.btnOk, 1, 0); panel3.Controls.Add(this.btnTree, 2, 0); panel3.Controls.Add(this.btnCancel, 3, 0); panel3.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel3.Name = "tlpButtons"; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnTree, "btnTree"); this.btnTree.Name = "btnTree"; this.btnTree.UseVisualStyleBackColor = true; this.btnTree.Click += new EventHandler(this.btnTree_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables; this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.CancelButton = this.btnCancel; base.Controls.Add(panel3); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "MakeLinkDialog"; base.ShowInTaskbar = false; base.Activated += new EventHandler(this.MakeLinkDialog_Activated); panel.ResumeLayout(false); panel.PerformLayout(); control.ResumeLayout(false); control.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); panel3.ResumeLayout(false); panel3.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(FilePackDialog)); this.lblPassword = new Label(); this.txtPassword = new TextBoxEx(); this.cmbEncryptMethod = new ComboBox(); this.lblEncryptMethod = new Label(); this.lblConfirmPassword = new Label(); this.chkShowPassword = new CheckBox(); this.txtConfirmPassword = new TextBoxEx(); this.chkEncryptFileNames = new CheckBox(); this.lblMethod = new Label(); this.lblLevel = new Label(); this.lblSolid = new Label(); this.cmbSolid = new ComboBox(); this.cmbLevel = new ComboBox(); this.cmbMethod = new ComboBox(); this.cmbThreadCount = new ComboBox(); this.lblThreadCount = new Label(); this.lblMaxThreads = new Label(); this.lblPackTo = new Label(); this.cmbPackTo = new ComboBox(); this.lblFormat = new Label(); this.cmbFormat = new ComboBoxEx(); this.grpEncryption = new GroupBox(); this.btnOk = new Button(); this.btnCancel = new Button(); this.btnConfigure = new Button(); this.grpCompression = new GroupBox(); this.tlpBack = new TableLayoutPanel(); this.cmbUpdateMode = new ComboBoxEx(); this.lblUpdateMode = new Label(); this.lblFilter = new Label(); this.cmbFilter = new FilterComboBox(); this.lblProperties = new Label(); this.txtProperties = new TextBox(); this.tlpOptions = new TableLayoutPanel(); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); this.Validator = new ValidatorProvider(); this.AutoComplete = new AutoCompleteProvider(); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); panel.SuspendLayout(); panel2.SuspendLayout(); this.grpEncryption.SuspendLayout(); this.grpCompression.SuspendLayout(); this.tlpBack.SuspendLayout(); this.tlpOptions.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpEncryption"); panel.Controls.Add(this.lblPassword, 0, 0); panel.Controls.Add(this.txtPassword, 1, 0); panel.Controls.Add(this.cmbEncryptMethod, 1, 3); panel.Controls.Add(this.lblEncryptMethod, 0, 3); panel.Controls.Add(this.lblConfirmPassword, 0, 1); panel.Controls.Add(this.chkShowPassword, 0, 2); panel.Controls.Add(this.txtConfirmPassword, 1, 1); panel.Controls.Add(this.chkEncryptFileNames, 0, 4); panel.MinimumSize = new Size(0xe4, 0); panel.Name = "tlpEncryption"; manager.ApplyResources(this.lblPassword, "lblPassword"); this.lblPassword.Name = "lblPassword"; manager.ApplyResources(this.txtPassword, "txtPassword"); this.txtPassword.Name = "txtPassword"; this.txtPassword.UseSystemPasswordChar = true; this.txtPassword.TextChanged += new EventHandler(this.txtPassword_TextChange); this.txtPassword.Validating += new CancelEventHandler(this.txtPassword_Validating); manager.ApplyResources(this.cmbEncryptMethod, "cmbEncryptMethod"); this.cmbEncryptMethod.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbEncryptMethod.FormattingEnabled = true; this.cmbEncryptMethod.Name = "cmbEncryptMethod"; manager.ApplyResources(this.lblEncryptMethod, "lblEncryptMethod"); this.lblEncryptMethod.Name = "lblEncryptMethod"; manager.ApplyResources(this.lblConfirmPassword, "lblConfirmPassword"); this.lblConfirmPassword.Name = "lblConfirmPassword"; manager.ApplyResources(this.chkShowPassword, "chkShowPassword"); panel.SetColumnSpan(this.chkShowPassword, 2); this.chkShowPassword.Name = "chkShowPassword"; this.chkShowPassword.UseVisualStyleBackColor = true; this.chkShowPassword.CheckedChanged += new EventHandler(this.chkShowPassword_CheckedChanged); manager.ApplyResources(this.txtConfirmPassword, "txtConfirmPassword"); this.txtConfirmPassword.Name = "txtConfirmPassword"; this.txtConfirmPassword.UseSystemPasswordChar = true; this.txtConfirmPassword.TextChanged += new EventHandler(this.txtPassword_TextChange); this.txtConfirmPassword.Validating += new CancelEventHandler(this.txtPassword_Validating); manager.ApplyResources(this.chkEncryptFileNames, "chkEncryptFileNames"); panel.SetColumnSpan(this.chkEncryptFileNames, 2); this.chkEncryptFileNames.Name = "chkEncryptFileNames"; this.chkEncryptFileNames.UseVisualStyleBackColor = true; manager.ApplyResources(panel2, "tlpCompression"); panel2.Controls.Add(this.lblMethod, 0, 3); panel2.Controls.Add(this.lblLevel, 0, 2); panel2.Controls.Add(this.lblSolid, 0, 4); panel2.Controls.Add(this.cmbSolid, 1, 4); panel2.Controls.Add(this.cmbLevel, 1, 2); panel2.Controls.Add(this.cmbMethod, 1, 3); panel2.Controls.Add(this.cmbThreadCount, 1, 5); panel2.Controls.Add(this.lblThreadCount, 0, 5); panel2.Controls.Add(this.lblMaxThreads, 2, 5); panel2.Name = "tlpCompression"; manager.ApplyResources(this.lblMethod, "lblMethod"); this.lblMethod.Name = "lblMethod"; manager.ApplyResources(this.lblLevel, "lblLevel"); this.lblLevel.Name = "lblLevel"; manager.ApplyResources(this.lblSolid, "lblSolid"); this.lblSolid.Name = "lblSolid"; panel2.SetColumnSpan(this.cmbSolid, 2); manager.ApplyResources(this.cmbSolid, "cmbSolid"); this.cmbSolid.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbSolid.FormattingEnabled = true; this.cmbSolid.Items.AddRange(new object[] { manager.GetString("cmbSolid.Items"), manager.GetString("cmbSolid.Items1") }); this.cmbSolid.Name = "cmbSolid"; this.cmbSolid.Format += new ListControlConvertEventHandler(this.cmbSolid_Format); panel2.SetColumnSpan(this.cmbLevel, 2); manager.ApplyResources(this.cmbLevel, "cmbLevel"); this.cmbLevel.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbLevel.FormattingEnabled = true; this.cmbLevel.Items.AddRange(new object[] { manager.GetString("cmbLevel.Items"), manager.GetString("cmbLevel.Items1"), manager.GetString("cmbLevel.Items2"), manager.GetString("cmbLevel.Items3"), manager.GetString("cmbLevel.Items4"), manager.GetString("cmbLevel.Items5") }); this.cmbLevel.Name = "cmbLevel"; this.cmbLevel.SelectedIndexChanged += new EventHandler(this.cmbLevel_SelectedIndexChanged); panel2.SetColumnSpan(this.cmbMethod, 2); manager.ApplyResources(this.cmbMethod, "cmbMethod"); this.cmbMethod.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbMethod.FormattingEnabled = true; this.cmbMethod.Name = "cmbMethod"; this.cmbThreadCount.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbThreadCount.FormattingEnabled = true; manager.ApplyResources(this.cmbThreadCount, "cmbThreadCount"); this.cmbThreadCount.Name = "cmbThreadCount"; manager.ApplyResources(this.lblThreadCount, "lblThreadCount"); this.lblThreadCount.Name = "lblThreadCount"; manager.ApplyResources(this.lblMaxThreads, "lblMaxThreads"); this.lblMaxThreads.Name = "lblMaxThreads"; manager.ApplyResources(this.lblPackTo, "lblPackTo"); this.tlpBack.SetColumnSpan(this.lblPackTo, 3); this.lblPackTo.Name = "lblPackTo"; this.AutoComplete.SetAutoComplete(this.cmbPackTo, true); this.tlpBack.SetColumnSpan(this.cmbPackTo, 4); manager.ApplyResources(this.cmbPackTo, "cmbPackTo"); this.cmbPackTo.Name = "cmbPackTo"; this.Validator.SetValidateOn(this.cmbPackTo, ValidateOn.TextChangedTimer); this.cmbPackTo.Validating += new CancelEventHandler(this.cmbPackTo_Validating); this.cmbPackTo.SelectionChangeCommitted += new EventHandler(this.cmbPackTo_TextUpdate); this.cmbPackTo.TextUpdate += new EventHandler(this.cmbPackTo_TextUpdate); manager.ApplyResources(this.lblFormat, "lblFormat"); this.lblFormat.Name = "lblFormat"; manager.ApplyResources(this.cmbFormat, "cmbFormat"); this.cmbFormat.DisplayMember = "Name"; this.cmbFormat.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbFormat.FormattingEnabled = true; this.cmbFormat.MinimumSize = new Size(100, 0); this.cmbFormat.Name = "cmbFormat"; this.cmbFormat.SelectedIndexChanged += new EventHandler(this.cmbFormat_SelectedIndexChanged); manager.ApplyResources(this.grpEncryption, "grpEncryption"); this.grpEncryption.Controls.Add(panel); this.grpEncryption.Name = "grpEncryption"; this.grpEncryption.TabStop = false; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new EventHandler(this.btnOk_Click); manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.CausesValidation = false; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnConfigure, "btnConfigure"); this.btnConfigure.Name = "btnConfigure"; this.btnConfigure.UseVisualStyleBackColor = true; this.btnConfigure.Click += new EventHandler(this.btnConfigure_Click); manager.ApplyResources(this.grpCompression, "grpCompression"); this.grpCompression.Controls.Add(panel2); this.grpCompression.Name = "grpCompression"; this.grpCompression.TabStop = false; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.lblFormat, 0, 2); this.tlpBack.Controls.Add(this.lblPackTo, 0, 0); this.tlpBack.Controls.Add(this.cmbFormat, 0, 3); this.tlpBack.Controls.Add(this.btnConfigure, 1, 3); this.tlpBack.Controls.Add(this.cmbPackTo, 0, 1); this.tlpBack.Controls.Add(this.cmbUpdateMode, 2, 3); this.tlpBack.Controls.Add(this.lblUpdateMode, 2, 2); this.tlpBack.Controls.Add(this.lblFilter, 3, 2); this.tlpBack.Controls.Add(this.cmbFilter, 3, 3); this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.cmbUpdateMode, "cmbUpdateMode"); this.cmbUpdateMode.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbUpdateMode.FormattingEnabled = true; this.cmbUpdateMode.MinimumSize = new Size(100, 0); this.cmbUpdateMode.Name = "cmbUpdateMode"; manager.ApplyResources(this.lblUpdateMode, "lblUpdateMode"); this.lblUpdateMode.Name = "lblUpdateMode"; manager.ApplyResources(this.lblFilter, "lblFilter"); this.lblFilter.Name = "lblFilter"; manager.ApplyResources(this.cmbFilter, "cmbFilter"); this.cmbFilter.DrawMode = DrawMode.OwnerDrawFixed; this.cmbFilter.FormattingEnabled = true; this.cmbFilter.Name = "cmbFilter"; manager.ApplyResources(this.lblProperties, "lblProperties"); this.lblProperties.Name = "lblProperties"; this.tlpOptions.SetColumnSpan(this.txtProperties, 2); manager.ApplyResources(this.txtProperties, "txtProperties"); this.txtProperties.Name = "txtProperties"; manager.ApplyResources(this.tlpOptions, "tlpOptions"); this.tlpOptions.Controls.Add(this.grpCompression, 0, 0); this.tlpOptions.Controls.Add(this.grpEncryption, 1, 0); this.tlpOptions.Controls.Add(this.lblProperties, 0, 1); this.tlpOptions.Controls.Add(this.txtProperties, 0, 2); this.tlpOptions.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpOptions.Name = "tlpOptions"; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnCancel, 2, 0); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Name = "tlpButtons"; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; this.Validator.Owner = this; this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton; this.Validator.Validating += new EventHandler<CancelEventArgs>(this.Validator_Validating); this.AutoComplete.UseCustomSource = Settings.Default.UseACSRecentItems; this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables; this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.CancelButton = this.btnCancel; base.Controls.Add(this.tlpButtons); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpOptions); base.Controls.Add(this.tlpBack); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FilePackDialog"; base.ShowInTaskbar = false; panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); this.grpEncryption.ResumeLayout(false); this.grpEncryption.PerformLayout(); this.grpCompression.ResumeLayout(false); this.grpCompression.PerformLayout(); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.tlpOptions.ResumeLayout(false); this.tlpOptions.PerformLayout(); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(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() { 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(); }