private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(PasswordDialog)); this.chkShowPassword = new CheckBox(); this.txtPassword = new TextBoxEx(); this.lblPassword = new Label(); this.imgKeys = new PictureBox(); this.chkRememberPassword = new CheckBox(); Button button = new Button(); Button button2 = new Button(); TableLayoutPanel panel = new TableLayoutPanel(); TableLayoutPanel panel2 = new TableLayoutPanel(); Bevel bevel = new Bevel(); panel.SuspendLayout(); ((ISupportInitialize) this.imgKeys).BeginInit(); panel2.SuspendLayout(); base.SuspendLayout(); button.DialogResult = DialogResult.OK; manager.ApplyResources(button, "btnOk"); button.Name = "btnOk"; button.UseVisualStyleBackColor = true; button2.DialogResult = DialogResult.Cancel; manager.ApplyResources(button2, "btnCancel"); button2.Name = "btnCancel"; button2.UseVisualStyleBackColor = true; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.chkShowPassword, 1, 2); panel.Controls.Add(this.txtPassword, 1, 1); panel.Controls.Add(this.lblPassword, 1, 0); panel.Controls.Add(this.imgKeys, 0, 0); panel.Controls.Add(this.chkRememberPassword, 1, 3); panel.Name = "tlpBack"; manager.ApplyResources(this.chkShowPassword, "chkShowPassword"); this.chkShowPassword.Name = "chkShowPassword"; this.chkShowPassword.UseVisualStyleBackColor = true; this.chkShowPassword.CheckedChanged += new EventHandler(this.chkShowPassword_CheckedChanged); manager.ApplyResources(this.txtPassword, "txtPassword"); this.txtPassword.Name = "txtPassword"; this.txtPassword.UseSystemPasswordChar = true; manager.ApplyResources(this.lblPassword, "lblPassword"); this.lblPassword.Name = "lblPassword"; manager.ApplyResources(this.imgKeys, "imgKeys"); this.imgKeys.Name = "imgKeys"; panel.SetRowSpan(this.imgKeys, 4); this.imgKeys.TabStop = false; manager.ApplyResources(this.chkRememberPassword, "chkRememberPassword"); this.chkRememberPassword.Checked = true; this.chkRememberPassword.CheckState = CheckState.Checked; this.chkRememberPassword.Name = "chkRememberPassword"; this.chkRememberPassword.UseVisualStyleBackColor = true; manager.ApplyResources(panel2, "tlpButtons"); panel2.Controls.Add(button, 1, 0); panel2.Controls.Add(button2, 2, 0); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpButtons"; manager.ApplyResources(bevel, "bvlButtons"); bevel.ForeColor = SystemColors.ControlDarkDark; bevel.Name = "bvlButtons"; bevel.Sides = Border3DSide.Top; bevel.Style = Border3DStyle.Flat; base.AcceptButton = button; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = button2; base.Controls.Add(panel2); base.Controls.Add(bevel); base.Controls.Add(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "PasswordDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.PasswordDialog_Shown); base.FormClosed += new FormClosedEventHandler(this.PasswordDialog_FormClosed); panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.imgKeys).EndInit(); panel2.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(BasicLoginDialog)); this.btnCancel = new Button(); this.chkShowPassword = new CheckBox(); this.cmbUserName = new ComboBox(); this.txtPassword = new TextBoxEx(); this.btnOk = new Button(); this.imgKeys = new PictureBox(); this.lblMessage = new Label(); Label label = new Label(); Label label2 = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); ((ISupportInitialize) this.imgKeys).BeginInit(); panel.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(label, "lblUserName"); label.MinimumSize = new Size(80, 0); label.Name = "lblUserName"; manager.ApplyResources(label2, "lblPassword"); label2.MinimumSize = new Size(80, 0); label2.Name = "lblPassword"; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkShowPassword, "chkShowPassword"); this.chkShowPassword.Checked = Settings.Default.RunAsShowPassword; panel.SetColumnSpan(this.chkShowPassword, 3); 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); panel.SetColumnSpan(this.cmbUserName, 3); manager.ApplyResources(this.cmbUserName, "cmbUserName"); this.cmbUserName.FormattingEnabled = true; this.cmbUserName.Name = "cmbUserName"; panel.SetColumnSpan(this.txtPassword, 3); manager.ApplyResources(this.txtPassword, "txtPassword"); this.txtPassword.Name = "txtPassword"; this.txtPassword.UseSystemPasswordChar = true; manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.DialogResult = DialogResult.OK; this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; manager.ApplyResources(this.imgKeys, "imgKeys"); this.imgKeys.Name = "imgKeys"; panel.SetRowSpan(this.imgKeys, 5); this.imgKeys.TabStop = false; manager.ApplyResources(this.lblMessage, "lblMessage"); panel.SetColumnSpan(this.lblMessage, 4); this.lblMessage.MaximumSize = new Size(0x132, 0); this.lblMessage.Name = "lblMessage"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(label2, 1, 2); panel.Controls.Add(this.chkShowPassword, 2, 3); panel.Controls.Add(this.lblMessage, 1, 0); panel.Controls.Add(this.btnCancel, 4, 4); panel.Controls.Add(this.txtPassword, 2, 2); panel.Controls.Add(this.cmbUserName, 2, 1); panel.Controls.Add(this.imgKeys, 0, 0); panel.Controls.Add(this.btnOk, 3, 4); panel.Controls.Add(label, 1, 1); panel.Name = "tlpBack"; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(panel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "BasicLoginDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.BasicLoginDialog_Shown); base.FormClosed += new FormClosedEventHandler(this.BasicLoginDialog_FormClosed); ((ISupportInitialize) this.imgKeys).EndInit(); panel.ResumeLayout(false); panel.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(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(); }