📄 form1.designer.cs
字号:
namespace WinAppTest5_1筛选素数
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.lstPrime = new System.Windows.Forms.ListBox();
this.txtNum = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(217, 37);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(142, 15);
this.label1.TabIndex = 0;
this.label1.Text = "请输入一个正整数:";
//
// lstPrime
//
this.lstPrime.ColumnWidth = 66;
this.lstPrime.FormattingEnabled = true;
this.lstPrime.ItemHeight = 15;
this.lstPrime.Location = new System.Drawing.Point(12, 18);
this.lstPrime.MultiColumn = true;
this.lstPrime.Name = "lstPrime";
this.lstPrime.Size = new System.Drawing.Size(198, 169);
this.lstPrime.TabIndex = 1;
//
// txtNum
//
this.txtNum.Location = new System.Drawing.Point(218, 65);
this.txtNum.Name = "txtNum";
this.txtNum.Size = new System.Drawing.Size(138, 25);
this.txtNum.TabIndex = 2;
//
// button1
//
this.button1.Location = new System.Drawing.Point(231, 123);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(113, 27);
this.button1.TabIndex = 3;
this.button1.Text = "筛选素数";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(368, 204);
this.Controls.Add(this.button1);
this.Controls.Add(this.txtNum);
this.Controls.Add(this.lstPrime);
this.Controls.Add(this.label1);
this.Name = "Form1";
this.Text = "素数";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListBox lstPrime;
private System.Windows.Forms.TextBox txtNum;
private System.Windows.Forms.Button button1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -