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() { 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(); }