📄 form1.designer.cs
字号:
namespace 生成正弦采样点数据的程序
{
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.textBox_DA值 = new System.Windows.Forms.TextBox();
this.button_生成 = new System.Windows.Forms.Button();
this.button_退出 = new System.Windows.Forms.Button();
this.textBox_幅值 = new System.Windows.Forms.TextBox();
this.textBox_采样点数 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.textBox_上移电压 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.label_实际输出 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.groupBox1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// textBox_DA值
//
this.textBox_DA值.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox_DA值.ForeColor = System.Drawing.Color.Red;
this.textBox_DA值.Location = new System.Drawing.Point(11, 50);
this.textBox_DA值.Multiline = true;
this.textBox_DA值.Name = "textBox_DA值";
this.textBox_DA值.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBox_DA值.Size = new System.Drawing.Size(463, 160);
this.textBox_DA值.TabIndex = 0;
//
// button_生成
//
this.button_生成.Location = new System.Drawing.Point(498, 15);
this.button_生成.Name = "button_生成";
this.button_生成.Size = new System.Drawing.Size(99, 32);
this.button_生成.TabIndex = 1;
this.button_生成.Text = "生成";
this.button_生成.UseVisualStyleBackColor = true;
this.button_生成.Click += new System.EventHandler(this.button_生成_Click);
//
// button_退出
//
this.button_退出.Location = new System.Drawing.Point(498, 53);
this.button_退出.Name = "button_退出";
this.button_退出.Size = new System.Drawing.Size(99, 29);
this.button_退出.TabIndex = 2;
this.button_退出.Text = "退出";
this.button_退出.UseVisualStyleBackColor = true;
this.button_退出.Click += new System.EventHandler(this.button_退出_Click);
//
// textBox_幅值
//
this.textBox_幅值.Location = new System.Drawing.Point(86, 23);
this.textBox_幅值.Name = "textBox_幅值";
this.textBox_幅值.Size = new System.Drawing.Size(47, 21);
this.textBox_幅值.TabIndex = 3;
this.textBox_幅值.Text = "1.25";
//
// textBox_采样点数
//
this.textBox_采样点数.Location = new System.Drawing.Point(327, 23);
this.textBox_采样点数.Name = "textBox_采样点数";
this.textBox_采样点数.Size = new System.Drawing.Size(90, 21);
this.textBox_采样点数.TabIndex = 3;
this.textBox_采样点数.Text = "100";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(15, 26);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 4;
this.label1.Text = "电压幅值";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(268, 26);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.TabIndex = 4;
this.label2.Text = "采样点数";
//
// textBox_上移电压
//
this.textBox_上移电压.AcceptsReturn = true;
this.textBox_上移电压.Location = new System.Drawing.Point(198, 23);
this.textBox_上移电压.Name = "textBox_上移电压";
this.textBox_上移电压.Size = new System.Drawing.Size(54, 21);
this.textBox_上移电压.TabIndex = 3;
this.textBox_上移电压.Text = "2.5";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(139, 26);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 12);
this.label3.TabIndex = 4;
this.label3.Text = "上移电压";
//
// label_实际输出
//
this.label_实际输出.AutoSize = true;
this.label_实际输出.Location = new System.Drawing.Point(9, 217);
this.label_实际输出.Name = "label_实际输出";
this.label_实际输出.Size = new System.Drawing.Size(197, 12);
this.label_实际输出.TabIndex = 5;
this.label_实际输出.Text = "输出正弦电压值范围及DA值范围:...";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label_实际输出);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.textBox_DA值);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.textBox_上移电压);
this.groupBox1.Controls.Add(this.textBox_采样点数);
this.groupBox1.Controls.Add(this.textBox_幅值);
this.groupBox1.Location = new System.Drawing.Point(12, 9);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(480, 238);
this.groupBox1.TabIndex = 6;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "参数设置及采样点DA值";
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1});
this.statusStrip1.Location = new System.Drawing.Point(0, 258);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(600, 22);
this.statusStrip1.TabIndex = 7;
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(461, 17);
this.toolStripStatusLabel1.Text = "《单片机C语言程序设计实训100例--基于PIC+PROTEUS仿真》2011.电子工业出版社出版";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(600, 280);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.button_退出);
this.Controls.Add(this.button_生成);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Form1";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "D/A转换器MCP4921正弦采样点数据生成器(12位精度)";
this.TopMost = true;
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox textBox_DA值;
private System.Windows.Forms.Button button_生成;
private System.Windows.Forms.Button button_退出;
private System.Windows.Forms.TextBox textBox_幅值;
private System.Windows.Forms.TextBox textBox_采样点数;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox textBox_上移电压;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label_实际输出;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -