本文整理汇总了C#中System.Windows.Forms.CheckBox类的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.CheckBox类的具体用法?C# System.Windows.Forms.CheckBox怎么用?C# System.Windows.Forms.CheckBox使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Windows.Forms.CheckBox类属于命名空间,在下文中一共展示了System.Windows.Forms.CheckBox类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.SampleStringTextBox = new System.Windows.Forms.TextBox();
this.SampleBooleanCheckBox = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// SampleStringTextBox
//
this.SampleStringTextBox.Location = new System.Drawing.Point(8, 8);
this.SampleStringTextBox.Name = "SampleStringTextBox";
this.SampleStringTextBox.TabIndex = 0;
this.SampleStringTextBox.Text = "Hello World!";
//
// SampleBooleanCheckBox
//
this.SampleBooleanCheckBox.Location = new System.Drawing.Point(8, 32);
this.SampleBooleanCheckBox.Name = "SampleBooleanCheckBox";
this.SampleBooleanCheckBox.Size = new System.Drawing.Size(112, 24);
this.SampleBooleanCheckBox.TabIndex = 1;
this.SampleBooleanCheckBox.Text = "Sample Boolean";
//
// DropDownEditorPropertyEditorControl
//
this.Controls.Add(this.SampleBooleanCheckBox);
this.Controls.Add(this.SampleStringTextBox);
this.Name = "DropDownEditorPropertyEditorControl";
this.Size = new System.Drawing.Size(112, 56);
this.ResumeLayout(false);
}
示例2: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BuildIntegrationOptions));
this.checkBox = new System.Windows.Forms.CheckBox();
this.description = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// checkBox
//
resources.ApplyResources(this.checkBox, "checkBox");
this.checkBox.Name = "checkBox";
this.checkBox.UseVisualStyleBackColor = true;
this.checkBox.CheckedChanged += new System.EventHandler(this.CheckBoxCheckedChanged);
//
// description
//
resources.ApplyResources(this.description, "description");
this.description.Name = "description";
//
// BuildIntegrationOptions
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.description);
this.Controls.Add(this.checkBox);
this.Name = "BuildIntegrationOptions";
this.ResumeLayout(false);
}
示例3: InitializeComponent
/// <summary>
/// Initializes the component.
/// </summary>
private void InitializeComponent()
{
this.ValueCheckBox = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// ValueCheckBox
//
this.ValueCheckBox.AutoSize = true;
this.ValueCheckBox.Location = new System.Drawing.Point(4, 4);
this.ValueCheckBox.Name = "ValueCheckBox";
this.ValueCheckBox.Size = new System.Drawing.Size(52, 17);
this.ValueCheckBox.TabIndex = 0;
this.ValueCheckBox.Text = "Label";
this.ValueCheckBox.UseVisualStyleBackColor = true;
this.ValueCheckBox.CheckedChanged += new System.EventHandler(this.ValueCheckBox_CheckedChanged);
//
// ValuePanelBool
//
this.AutoSize = true;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.Controls.Add(this.ValueCheckBox);
this.Name = "ValuePanelBool";
this.Size = new System.Drawing.Size(59, 24);
this.ResumeLayout(false);
this.PerformLayout();
}
示例4: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Row));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(9, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(88, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Huỳnh Văn Tuấn";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(192, 13);
this.label2.Name = "label2";
this.label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.label2.Size = new System.Drawing.Size(67, 13);
this.label2.TabIndex = 1;
this.label2.Text = "0123456789";
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(317, 11);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(15, 14);
this.checkBox1.TabIndex = 2;
this.checkBox1.UseVisualStyleBackColor = true;
//
// button1
//
this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
this.button1.Location = new System.Drawing.Point(353, 6);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(20, 22);
this.button1.TabIndex = 3;
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Row
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.button1);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "Row";
this.Size = new System.Drawing.Size(403, 39);
this.ResumeLayout(false);
this.PerformLayout();
}
示例5: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RadioCheckbox));
this.checkBox = new System.Windows.Forms.CheckBox();
this.radioButton = new System.Windows.Forms.RadioButton();
this.SuspendLayout();
//
// checkBox
//
resources.ApplyResources(this.checkBox, "checkBox");
this.checkBox.Name = "checkBox";
this.checkBox.UseVisualStyleBackColor = true;
//
// radioButton
//
resources.ApplyResources(this.radioButton, "radioButton");
this.radioButton.Name = "radioButton";
this.radioButton.TabStop = true;
this.radioButton.UseVisualStyleBackColor = true;
this.radioButton.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged);
//
// RadioCheckbox
//
this.Controls.Add(this.radioButton);
this.Controls.Add(this.checkBox);
this.Name = "RadioCheckbox";
resources.ApplyResources(this, "$this");
this.ResumeLayout(false);
}
示例6: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.checkBoxWaitWhileProcessing = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// checkBoxWaitWhileProcessing
//
this.checkBoxWaitWhileProcessing.AutoSize = true;
this.checkBoxWaitWhileProcessing.Checked = true;
this.checkBoxWaitWhileProcessing.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBoxWaitWhileProcessing.Location = new System.Drawing.Point(7, 4);
this.checkBoxWaitWhileProcessing.Name = "checkBoxWaitWhileProcessing";
this.checkBoxWaitWhileProcessing.Size = new System.Drawing.Size(133, 17);
this.checkBoxWaitWhileProcessing.TabIndex = 1;
this.checkBoxWaitWhileProcessing.Text = "Wait While Processing";
this.checkBoxWaitWhileProcessing.UseVisualStyleBackColor = true;
//
// StopBackgroundProcessesControl
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.checkBoxWaitWhileProcessing);
this.Name = "StopBackgroundProcessesControl";
this.Size = new System.Drawing.Size(147, 24);
this.ResumeLayout(false);
this.PerformLayout();
}
示例7: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.butOK = new OpenDental.UI.Button();
this.butCancel = new OpenDental.UI.Button();
this.checkPatientFormsShowConsent = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// butOK
//
this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.butOK.Autosize = true;
this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
this.butOK.CornerRadius = 4F;
this.butOK.Location = new System.Drawing.Point(233,115);
this.butOK.Name = "butOK";
this.butOK.Size = new System.Drawing.Size(75,24);
this.butOK.TabIndex = 3;
this.butOK.Text = "&OK";
this.butOK.Click += new System.EventHandler(this.butOK_Click);
//
// butCancel
//
this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.butCancel.Autosize = true;
this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
this.butCancel.CornerRadius = 4F;
this.butCancel.Location = new System.Drawing.Point(314,115);
this.butCancel.Name = "butCancel";
this.butCancel.Size = new System.Drawing.Size(75,24);
this.butCancel.TabIndex = 2;
this.butCancel.Text = "&Cancel";
this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
//
// checkPatientFormsShowConsent
//
this.checkPatientFormsShowConsent.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.checkPatientFormsShowConsent.Location = new System.Drawing.Point(34,51);
this.checkPatientFormsShowConsent.Name = "checkPatientFormsShowConsent";
this.checkPatientFormsShowConsent.Size = new System.Drawing.Size(333,17);
this.checkPatientFormsShowConsent.TabIndex = 199;
this.checkPatientFormsShowConsent.Text = "Patient Forms window show consent forms";
//
// FormSheetSetup
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(401,151);
this.Controls.Add(this.checkPatientFormsShowConsent);
this.Controls.Add(this.butOK);
this.Controls.Add(this.butCancel);
this.Name = "FormSheetSetup";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Patient Form Options";
this.Load += new System.EventHandler(this.FormReportSetup_Load);
this.ResumeLayout(false);
}
示例8: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Update));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// label2
//
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
//
// button1
//
resources.ApplyResources(this.button1, "button1");
this.button1.Name = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
resources.ApplyResources(this.button2, "button2");
this.button2.Name = "button2";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// checkBox1
//
resources.ApplyResources(this.checkBox1, "checkBox1");
this.checkBox1.Name = "checkBox1";
this.checkBox1.UseVisualStyleBackColor = true;
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
//
// update
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = global::wintogo.Properties.Resources._2001;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "update";
this.Load += new System.EventHandler(this.update_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
示例9: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.buttonCancel = new System.Windows.Forms.Button();
this.buttonOk = new System.Windows.Forms.Button();
this.checkBoxCheckUpdate = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// buttonCancel
//
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.Location = new System.Drawing.Point(149, 59);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
this.buttonCancel.TabIndex = 1005;
this.buttonCancel.Text = "Cancel";
this.buttonCancel.UseVisualStyleBackColor = true;
//
// buttonOk
//
this.buttonOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOk.DialogResult = System.Windows.Forms.DialogResult.OK;
this.buttonOk.Location = new System.Drawing.Point(68, 59);
this.buttonOk.Name = "buttonOk";
this.buttonOk.Size = new System.Drawing.Size(75, 23);
this.buttonOk.TabIndex = 1004;
this.buttonOk.Text = "OK";
this.buttonOk.UseVisualStyleBackColor = true;
//
// checkBoxCheckUpdate
//
this.checkBoxCheckUpdate.AutoSize = true;
this.checkBoxCheckUpdate.Location = new System.Drawing.Point(22, 22);
this.checkBoxCheckUpdate.Name = "checkBoxCheckUpdate";
this.checkBoxCheckUpdate.Size = new System.Drawing.Size(137, 17);
this.checkBoxCheckUpdate.TabIndex = 1006;
this.checkBoxCheckUpdate.Text = "Check for new versions";
this.checkBoxCheckUpdate.UseVisualStyleBackColor = true;
//
// UpdateCheckerConfigDialog
//
this.AcceptButton = this.buttonOk;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.buttonCancel;
this.ClientSize = new System.Drawing.Size(236, 94);
this.Controls.Add(this.checkBoxCheckUpdate);
this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonOk);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "UpdateCheckerConfigDialog";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Update Checker";
this.ResumeLayout(false);
this.PerformLayout();
}
示例10: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.ckBxSequential = new System.Windows.Forms.CheckBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.SuspendLayout();
//
// comboBox1
//
this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(49, 2);
this.comboBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(132, 24);
this.comboBox1.TabIndex = 0;
//
// label1
//
this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.label1.Location = new System.Drawing.Point(4, 0);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(37, 28);
this.label1.TabIndex = 1;
this.label1.Text = "0";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// ckBxSequential
//
this.ckBxSequential.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ckBxSequential.AutoSize = true;
this.ckBxSequential.Location = new System.Drawing.Point(195, 5);
this.ckBxSequential.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.ckBxSequential.Name = "ckBxSequential";
this.ckBxSequential.Size = new System.Drawing.Size(97, 21);
this.ckBxSequential.TabIndex = 2;
this.ckBxSequential.Text = "Sequential";
this.ckBxSequential.UseVisualStyleBackColor = true;
//
// DataTypeCtrl
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.ckBxSequential);
this.Controls.Add(this.label1);
this.Controls.Add(this.comboBox1);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "DataTypeCtrl";
this.Size = new System.Drawing.Size(296, 33);
this.ResumeLayout(false);
this.PerformLayout();
}
示例11: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DontShowAgainDialog));
this.messageText = new System.Windows.Forms.Label();
this.dontShowAgain = new System.Windows.Forms.CheckBox();
this.okButton = new System.Windows.Forms.Button();
this.cancelButton = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// messageText
//
this.messageText.AutoEllipsis = true;
resources.ApplyResources(this.messageText, "messageText");
this.messageText.Name = "messageText";
//
// dontShowAgain
//
resources.ApplyResources(this.dontShowAgain, "dontShowAgain");
this.dontShowAgain.Name = "dontShowAgain";
this.dontShowAgain.UseVisualStyleBackColor = true;
//
// okButton
//
resources.ApplyResources(this.okButton, "okButton");
this.okButton.Name = "okButton";
this.okButton.UseVisualStyleBackColor = true;
this.okButton.Click += new System.EventHandler(this.OnOKButtonClicked);
//
// cancelButton
//
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
resources.ApplyResources(this.cancelButton, "cancelButton");
this.cancelButton.Name = "cancelButton";
this.cancelButton.UseVisualStyleBackColor = true;
this.cancelButton.Click += new System.EventHandler(this.OnCancelButtonClicked);
//
// DontShowAgainDialog
//
this.AcceptButton = this.okButton;
this.CancelButton = this.cancelButton;
resources.ApplyResources(this, "$this");
this.Controls.Add(this.cancelButton);
this.Controls.Add(this.okButton);
this.Controls.Add(this.dontShowAgain);
this.Controls.Add(this.messageText);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.HelpButton = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "DontShowAgainDialog";
this.HelpButtonClicked += new System.ComponentModel.CancelEventHandler(this.OnHelpButtonClicked);
this.Paint += new System.Windows.Forms.PaintEventHandler(this.OnPaint);
this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.OnHelpRequested);
this.ResumeLayout(false);
this.PerformLayout();
}
示例12: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BuildIntegrationOptions));
this.checkBox = new System.Windows.Forms.CheckBox();
this.description = new System.Windows.Forms.Label();
this.radioButtonAsWarning = new System.Windows.Forms.RadioButton();
this.radioButtonAsError = new System.Windows.Forms.RadioButton();
this.descriptionTreat = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// checkBox
//
resources.ApplyResources(this.checkBox, "checkBox");
this.checkBox.Name = "checkBox";
this.checkBox.UseVisualStyleBackColor = true;
this.checkBox.CheckedChanged += new System.EventHandler(this.CheckBoxCheckedChanged);
//
// description
//
resources.ApplyResources(this.description, "description");
this.description.Name = "description";
//
// radioButtonAsWarning
//
resources.ApplyResources(this.radioButtonAsWarning, "radioButtonAsWarning");
this.radioButtonAsWarning.Name = "radioButtonAsWarning";
this.radioButtonAsWarning.TabStop = true;
this.radioButtonAsWarning.UseVisualStyleBackColor = true;
this.radioButtonAsWarning.CheckedChanged += new System.EventHandler(this.RadioButtonCheckedChanged);
//
// radioButtonAsError
//
resources.ApplyResources(this.radioButtonAsError, "radioButtonAsError");
this.radioButtonAsError.Name = "radioButtonAsError";
this.radioButtonAsError.TabStop = true;
this.radioButtonAsError.UseVisualStyleBackColor = true;
this.radioButtonAsError.CheckedChanged += new System.EventHandler(this.RadioButtonCheckedChanged);
//
// descriptionTreat
//
resources.ApplyResources(this.descriptionTreat, "descriptionTreat");
this.descriptionTreat.Name = "descriptionTreat";
//
// BuildIntegrationOptions
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.radioButtonAsWarning);
this.Controls.Add(this.radioButtonAsError);
this.Controls.Add(this.descriptionTreat);
this.Controls.Add(this.checkBox);
this.Controls.Add(this.description);
this.Name = "BuildIntegrationOptions";
this.ResumeLayout(false);
}
开发者ID:transformersprimeabcxyz,项目名称:_TO-FIRST-stylecop,代码行数:60,代码来源:BuildIntegrationOptions.Designer.cs
示例13: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CompanyInformation));
this.checkBox = new System.Windows.Forms.CheckBox();
this.companyNameLabel = new System.Windows.Forms.Label();
this.copyrightLabel = new System.Windows.Forms.Label();
this.companyName = new System.Windows.Forms.TextBox();
this.copyright = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// checkBox
//
resources.ApplyResources(this.checkBox, "checkBox");
this.checkBox.Name = "checkBox";
this.checkBox.UseVisualStyleBackColor = true;
this.checkBox.CheckedChanged += new System.EventHandler(this.CheckBoxCheckedChanged);
//
// companyNameLabel
//
resources.ApplyResources(this.companyNameLabel, "companyNameLabel");
this.companyNameLabel.Name = "companyNameLabel";
//
// copyrightLabel
//
resources.ApplyResources(this.copyrightLabel, "copyrightLabel");
this.copyrightLabel.Name = "copyrightLabel";
//
// companyName
//
resources.ApplyResources(this.companyName, "companyName");
this.companyName.Name = "companyName";
this.companyName.TextChanged += new System.EventHandler(this.CompanyNameTextChanged);
//
// copyright
//
this.copyright.AcceptsReturn = true;
resources.ApplyResources(this.copyright, "copyright");
this.copyright.Name = "copyright";
this.copyright.TextChanged += new System.EventHandler(this.CopyrightTextChanged);
//
// CompanyInformation
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.copyright);
this.Controls.Add(this.companyName);
this.Controls.Add(this.copyrightLabel);
this.Controls.Add(this.companyNameLabel);
this.Controls.Add(this.checkBox);
this.Name = "CompanyInformation";
this.ResumeLayout(false);
this.PerformLayout();
}
示例14: InitializeComponent
private void InitializeComponent()
{
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage = new System.Windows.Forms.TabPage();
this.browser = new System.Windows.Forms.WebBrowser();
this.chbDisplayAll = new System.Windows.Forms.CheckBox();
this.tabControl1.SuspendLayout();
this.tabPage.SuspendLayout();
this.SuspendLayout();
this.tabControl1.Controls.Add(this.tabPage);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(300, 300);
this.tabControl1.TabIndex = 0;
this.tabPage.BackColor = System.Drawing.SystemColors.Control;
this.tabPage.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.tabPage.Controls.Add(this.browser);
this.tabPage.Controls.Add(this.chbDisplayAll);
this.tabPage.Location = new System.Drawing.Point(4, 22);
this.tabPage.Name = "tabPage";
this.tabPage.Padding = new System.Windows.Forms.Padding(3);
this.tabPage.Size = new System.Drawing.Size(292, 274);
this.tabPage.TabIndex = 0;
this.tabPage.Text = "Release Notes";
this.browser.AllowWebBrowserDrop = false;
this.browser.Dock = System.Windows.Forms.DockStyle.Fill;
this.browser.IsWebBrowserContextMenuEnabled = false;
this.browser.Location = new System.Drawing.Point(3, 3);
this.browser.MinimumSize = new System.Drawing.Size(20, 20);
this.browser.Name = "browser";
this.browser.ScriptErrorsSuppressed = true;
this.browser.Size = new System.Drawing.Size(282, 240);
this.browser.TabIndex = 0;
this.browser.WebBrowserShortcutsEnabled = false;
this.browser.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.browser_Navigating);
this.chbDisplayAll.Dock = System.Windows.Forms.DockStyle.Bottom;
this.chbDisplayAll.Location = new System.Drawing.Point(3, 243);
this.chbDisplayAll.Name = "chbDisplayAll";
this.chbDisplayAll.Size = new System.Drawing.Size(282, 24);
this.chbDisplayAll.TabIndex = 1;
this.chbDisplayAll.Text = "Display all";
this.chbDisplayAll.UseVisualStyleBackColor = true;
this.chbDisplayAll.CheckedChanged += new EventHandler(this.chbDisplayAll_CheckedChanged);
this.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tabControl1);
this.Name = "ReleaseNotesControl";
this.Size = new System.Drawing.Size(300, 300);
this.tabControl1.ResumeLayout(false);
this.tabPage.ResumeLayout(false);
this.ResumeLayout(false);
}
示例15: mapConfigurationItemIntoControl
public override System.Windows.Forms.Control mapConfigurationItemIntoControl(IConfigurationItem item)
{
if (item is ConfigurationItemBool)
{
System.Windows.Forms.CheckBox typedControl = new System.Windows.Forms.CheckBox();
typedControl.Checked = ((ConfigurationItemBool)item).Value;
return typedControl;
}
else
{
return null;
}
}