本文整理汇总了C#中System.Windows.Forms.TextBox类的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.TextBox类的具体用法?C# System.Windows.Forms.TextBox怎么用?C# System.Windows.Forms.TextBox使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Windows.Forms.TextBox类属于命名空间,在下文中一共展示了System.Windows.Forms.TextBox类的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.btnLoad = new System.Windows.Forms.Button();
this.btnCalculate = new System.Windows.Forms.Button();
this.tboxCode = new System.Windows.Forms.TextBox();
this.tboxAnswer = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// btnLoad
//
this.btnLoad.Location = new System.Drawing.Point(12, 25);
this.btnLoad.Name = "btnLoad";
this.btnLoad.Size = new System.Drawing.Size(349, 23);
this.btnLoad.TabIndex = 4;
this.btnLoad.Text = "Загрузить из файла";
this.btnLoad.UseVisualStyleBackColor = true;
this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click);
//
// btnCalculate
//
this.btnCalculate.Enabled = false;
this.btnCalculate.Location = new System.Drawing.Point(415, 25);
this.btnCalculate.Name = "btnCalculate";
this.btnCalculate.Size = new System.Drawing.Size(314, 23);
this.btnCalculate.TabIndex = 5;
this.btnCalculate.Text = "Сделать хорошо";
this.btnCalculate.UseVisualStyleBackColor = true;
this.btnCalculate.Click += new System.EventHandler(this.btnCalculate_Click);
//
// tboxCode
//
this.tboxCode.Location = new System.Drawing.Point(12, 79);
this.tboxCode.Multiline = true;
this.tboxCode.Name = "tboxCode";
this.tboxCode.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tboxCode.Size = new System.Drawing.Size(349, 363);
this.tboxCode.TabIndex = 6;
//
// tboxAnswer
//
this.tboxAnswer.Location = new System.Drawing.Point(415, 79);
this.tboxAnswer.Multiline = true;
this.tboxAnswer.Name = "tboxAnswer";
this.tboxAnswer.Size = new System.Drawing.Size(314, 363);
this.tboxAnswer.TabIndex = 7;
//
// MainFr
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(762, 454);
this.Controls.Add(this.tboxAnswer);
this.Controls.Add(this.tboxCode);
this.Controls.Add(this.btnCalculate);
this.Controls.Add(this.btnLoad);
this.Name = "MainFr";
this.Text = "lab 2 (Meyers) 451001 Smirnov";
this.ResumeLayout(false);
this.PerformLayout();
}
示例2: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.textBox1 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox1.Location = new System.Drawing.Point(0, 0);
this.textBox1.Margin = new System.Windows.Forms.Padding(5);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.Size = new System.Drawing.Size(366, 140);
this.textBox1.TabIndex = 0;
this.textBox1.Text = "Help text goes here.";
//
// HelpBoxForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(366, 140);
this.Controls.Add(this.textBox1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "HelpBoxForm";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.Text = "Help Box";
this.ResumeLayout(false);
this.PerformLayout();
}
示例3: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this._tbImageToDecompose = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this._btnDecompose = new System.Windows.Forms.Button();
this._tbSaveImage = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// _tbImageToDecompose
//
this._tbImageToDecompose.Location = new System.Drawing.Point(15, 25);
this._tbImageToDecompose.Name = "_tbImageToDecompose";
this._tbImageToDecompose.Size = new System.Drawing.Size(292, 20);
this._tbImageToDecompose.TabIndex = 0;
this._tbImageToDecompose.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.TbImageToDecomposeMouseDoubleClick);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(204, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Select image to decompose (double click)";
//
// _btnDecompose
//
this._btnDecompose.Location = new System.Drawing.Point(232, 77);
this._btnDecompose.Name = "_btnDecompose";
this._btnDecompose.Size = new System.Drawing.Size(75, 23);
this._btnDecompose.TabIndex = 2;
this._btnDecompose.Text = "Decompose";
this._btnDecompose.UseVisualStyleBackColor = true;
this._btnDecompose.Click += new System.EventHandler(this.BtnDecomposeClick);
//
// _tbSaveImage
//
this._tbSaveImage.Location = new System.Drawing.Point(15, 51);
this._tbSaveImage.Name = "_tbSaveImage";
this._tbSaveImage.Size = new System.Drawing.Size(292, 20);
this._tbSaveImage.TabIndex = 3;
this._tbSaveImage.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.TbSaveImageMouseDoubleClick);
//
// WinHaarWavelet
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(319, 112);
this.Controls.Add(this._tbSaveImage);
this.Controls.Add(this._btnDecompose);
this.Controls.Add(this.label1);
this.Controls.Add(this._tbImageToDecompose);
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(335, 150);
this.MinimumSize = new System.Drawing.Size(335, 150);
this.Name = "WinHaarWavelet";
this.Text = "WinHaarWavelet";
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()
{
this.tbxSearchString = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// tbxSearchString
//
this.tbxSearchString.Dock = System.Windows.Forms.DockStyle.Top;
this.tbxSearchString.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tbxSearchString.Location = new System.Drawing.Point(0, 0);
this.tbxSearchString.Name = "tbxSearchString";
this.tbxSearchString.Size = new System.Drawing.Size(139, 20);
this.tbxSearchString.TabIndex = 0;
this.tbxSearchString.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbxSearchString_KeyDown);
this.tbxSearchString.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbxSearchString_KeyUp);
//
// frmMarkerPanel
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLight;
this.ClientSize = new System.Drawing.Size(139, 140);
this.Controls.Add(this.tbxSearchString);
this.DoubleBuffered = true;
this.Name = "frmMarkerPanel";
this.Text = "NppDockableForm";
this.Paint += new System.Windows.Forms.PaintEventHandler(this.frmGoToLine_Paint);
this.SizeChanged += new System.EventHandler(this.frmGoToLine_SizeChanged);
this.VisibleChanged += new System.EventHandler(this.FrmGoToLineVisibleChanged);
this.ResumeLayout(false);
this.PerformLayout();
}
示例5: InitializeComponent
private void InitializeComponent()
{
this.textBox1 = new System.Windows.Forms.TextBox();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.textBox1);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(72, 60);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 0;
//
// GetInput
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(284, 165);
this.Name = "GetInput";
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
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.txtText = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// txtText
//
this.txtText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtText.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtText.Location = new System.Drawing.Point(12, 12);
this.txtText.Multiline = true;
this.txtText.Name = "txtText";
this.txtText.ReadOnly = true;
this.txtText.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.txtText.Size = new System.Drawing.Size(668, 442);
this.txtText.TabIndex = 0;
this.txtText.TabStop = false;
this.txtText.WordWrap = false;
//
// TextViewer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(692, 466);
this.Controls.Add(this.txtText);
this.MinimumSize = new System.Drawing.Size(700, 500);
this.Name = "TextViewer";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "frmTextViewer";
this.ResumeLayout(false);
this.PerformLayout();
}
示例7: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(210, 15);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(42, 23);
this.button1.TabIndex = 0;
this.button1.Text = "选择";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(90, 15);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(109, 21);
this.textBox1.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(77, 12);
this.label1.TabIndex = 2;
this.label1.Text = "目标文件夹:";
//
// button2
//
this.button2.Location = new System.Drawing.Point(93, 48);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 3;
this.button2.Text = "递归删除";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// Frm_Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(260, 81);
this.Controls.Add(this.button2);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button1);
this.MaximizeBox = false;
this.Name = "Frm_Main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "使用递归法删除文件夹中的所有文件";
this.ResumeLayout(false);
this.PerformLayout();
}
示例8: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.lblTip = new System.Windows.Forms.Label();
this.txtCopyright = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// lblTip
//
this.lblTip.AutoSize = true;
this.lblTip.Location = new System.Drawing.Point(4, 13);
this.lblTip.Name = "lblTip";
this.lblTip.Size = new System.Drawing.Size(77, 12);
this.lblTip.TabIndex = 0;
this.lblTip.Text = "插件配置信息";
//
// txtCopyright
//
this.txtCopyright.Location = new System.Drawing.Point(6, 37);
this.txtCopyright.Multiline = true;
this.txtCopyright.Name = "txtCopyright";
this.txtCopyright.Size = new System.Drawing.Size(460, 280);
this.txtCopyright.TabIndex = 1;
//
// VSConfig
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.txtCopyright);
this.Controls.Add(this.lblTip);
this.Name = "VSConfig";
this.Size = new System.Drawing.Size(480, 390);
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.textBox1 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// textBox1
this.textBox1.Size = new System.Drawing.Size(width, height);
this.Size = new System.Drawing.Size(width, height);
this.TabIndex = 0;
this.Font = new System.Drawing.Font(this.Font.FontFamily, 30);
this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.OnKeyPress);
//
// FloatTextBox
//
//this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
//this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
//this.BackColor = System.Drawing.Color.Red;
//this.ClientSize = new System.Drawing.Size(292, 44);
this.Controls.Add(this.textBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
//this.Name = "FloatTextBox";
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
//this.Text = "Input Some key words.";
this.TopMost = true;
//this.TransparencyKey = System.Drawing.Color.Red;
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.labelIndex = new System.Windows.Forms.Label();
this.textBoxIndex = new System.Windows.Forms.TextBox();
this.buttonGetValue = new System.Windows.Forms.Button();
this.labelResult = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// labelIndex
//
this.labelIndex.AutoSize = true;
this.labelIndex.Location = new System.Drawing.Point(36, 17);
this.labelIndex.Name = "labelIndex";
this.labelIndex.Size = new System.Drawing.Size(36, 13);
this.labelIndex.TabIndex = 0;
this.labelIndex.Text = "Index:";
//
// textBoxIndex
//
this.textBoxIndex.Location = new System.Drawing.Point(78, 14);
this.textBoxIndex.Name = "textBoxIndex";
this.textBoxIndex.Size = new System.Drawing.Size(100, 20);
this.textBoxIndex.TabIndex = 1;
//
// buttonGetValue
//
this.buttonGetValue.Location = new System.Drawing.Point(184, 12);
this.buttonGetValue.Name = "buttonGetValue";
this.buttonGetValue.Size = new System.Drawing.Size(75, 23);
this.buttonGetValue.TabIndex = 2;
this.buttonGetValue.Text = "Get Value";
this.buttonGetValue.UseVisualStyleBackColor = true;
this.buttonGetValue.Click += new System.EventHandler(this.ButtonGetValue_Click);
//
// labelResult
//
this.labelResult.Location = new System.Drawing.Point(12, 46);
this.labelResult.Name = "labelResult";
this.labelResult.Size = new System.Drawing.Size(270, 26);
this.labelResult.TabIndex = 3;
this.labelResult.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// Index
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(294, 88);
this.Controls.Add(this.labelResult);
this.Controls.Add(this.buttonGetValue);
this.Controls.Add(this.textBoxIndex);
this.Controls.Add(this.labelIndex);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "Index";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Index";
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()
{
this.label1 = new System.Windows.Forms.Label();
this.jobDes_textBox = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.custNote_textBox = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("SimSun", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(29, 26);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(110, 12);
this.label1.TabIndex = 0;
this.label1.Text = "Job Description";
//
// jobDes_textBox
//
this.jobDes_textBox.Location = new System.Drawing.Point(31, 41);
this.jobDes_textBox.Multiline = true;
this.jobDes_textBox.Name = "jobDes_textBox";
this.jobDes_textBox.Size = new System.Drawing.Size(465, 187);
this.jobDes_textBox.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("SimSun", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(29, 245);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(103, 12);
this.label2.TabIndex = 2;
this.label2.Text = "Customer Notes";
//
// custNote_textBox
//
this.custNote_textBox.Location = new System.Drawing.Point(31, 260);
this.custNote_textBox.Multiline = true;
this.custNote_textBox.Name = "custNote_textBox";
this.custNote_textBox.Size = new System.Drawing.Size(465, 187);
this.custNote_textBox.TabIndex = 3;
//
// notes
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(529, 487);
this.Controls.Add(this.custNote_textBox);
this.Controls.Add(this.label2);
this.Controls.Add(this.jobDes_textBox);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "notes";
this.Text = "notes";
this.Load += new System.EventHandler(this.notes_Load);
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()
{
this.textBox1 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.AcceptsReturn = true;
this.textBox1.AcceptsTab = true;
this.textBox1.BackColor = System.Drawing.SystemColors.HighlightText;
this.textBox1.Location = new System.Drawing.Point(12, 12);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox1.Size = new System.Drawing.Size(360, 238);
this.textBox1.TabIndex = 0;
//
// FormPreview
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(384, 262);
this.Controls.Add(this.textBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.Name = "FormPreview";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "FormPreview";
this.ResumeLayout(false);
this.PerformLayout();
}
示例13: InitializeComponent
/// <summary>
/// Initializes the component.
/// </summary>
private void InitializeComponent()
{
this.ValueStringLabel = new System.Windows.Forms.Label();
this.ValueStringTextBox = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// ValueStringLabel
//
this.ValueStringLabel.AutoSize = true;
this.ValueStringLabel.Location = new System.Drawing.Point(133, 10);
this.ValueStringLabel.Name = "ValueStringLabel";
this.ValueStringLabel.Size = new System.Drawing.Size(33, 13);
this.ValueStringLabel.TabIndex = 2;
this.ValueStringLabel.Text = "Label";
//
// ValueStringTextBox
//
this.ValueStringTextBox.Location = new System.Drawing.Point(4, 4);
this.ValueStringTextBox.MaxLength = 255;
this.ValueStringTextBox.Name = "ValueStringTextBox";
this.ValueStringTextBox.Size = new System.Drawing.Size(123, 20);
this.ValueStringTextBox.TabIndex = 3;
//
// ValuePanelString
//
this.AutoSize = true;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.Controls.Add(this.ValueStringTextBox);
this.Controls.Add(this.ValueStringLabel);
this.Name = "ValuePanelString";
this.Size = new System.Drawing.Size(169, 27);
this.ResumeLayout(false);
this.PerformLayout();
}
示例14: 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(AddName));
this.button1 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(199, 55);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(66, 23);
this.button1.TabIndex = 0;
this.button1.Text = "Ok";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(12, 55);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(66, 23);
this.button3.TabIndex = 1;
this.button3.Text = "Cancel";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(12, 29);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(253, 20);
this.textBox1.TabIndex = 2;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(138, 13);
this.label1.TabIndex = 3;
this.label1.Text = "Character or Channel Name";
//
// AddName
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(277, 81);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button3);
this.Controls.Add(this.button1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "AddName";
this.Text = "Add User / Channel";
this.ResumeLayout(false);
this.PerformLayout();
}
示例15: 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);
}