Form1.Designer.cs
上传用户:sz2001
上传日期:2022-07-12
资源大小:85k
文件大小:4k
源码类别:

C#编程

开发平台:

C#

  1. namespace test
  2. {
  3.     partial class Form1
  4.     {
  5.         /// <summary>
  6.         /// 必需的设计器变量。
  7.         /// </summary>
  8.         private System.ComponentModel.IContainer components = null;
  9.         /// <summary>
  10.         /// 清理所有正在使用的资源。
  11.         /// </summary>
  12.         /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13.         protected override void Dispose(bool disposing)
  14.         {
  15.             if (disposing && (components != null))
  16.             {
  17.                 components.Dispose();
  18.             }
  19.             base.Dispose(disposing);
  20.         }
  21.         #region Windows 窗体设计器生成的代码
  22.         /// <summary>
  23.         /// 设计器支持所需的方法 - 不要
  24.         /// 使用代码编辑器修改此方法的内容。
  25.         /// </summary>
  26.         private void InitializeComponent()
  27.         {
  28.             this.alarm1 = new alarm.alarm();
  29.             this.btnquit = new System.Windows.Forms.Button();
  30.             this.btnvis = new System.Windows.Forms.Button();
  31.             this.SuspendLayout();
  32.             // 
  33.             // alarm1
  34.             // 
  35.             this.alarm1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  36.                         | System.Windows.Forms.AnchorStyles.Left)
  37.                         | System.Windows.Forms.AnchorStyles.Right)));
  38.             this.alarm1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  39.             this.alarm1.ForeColor = System.Drawing.SystemColors.ControlText;
  40.             this.alarm1.Location = new System.Drawing.Point(0, 0);
  41.             this.alarm1.Name = "alarm1";
  42.             this.alarm1.Size = new System.Drawing.Size(389, 275);
  43.             this.alarm1.TabIndex = 0;
  44.             // 
  45.             // btnquit
  46.             // 
  47.             this.btnquit.Location = new System.Drawing.Point(277, 289);
  48.             this.btnquit.Name = "btnquit";
  49.             this.btnquit.Size = new System.Drawing.Size(75, 23);
  50.             this.btnquit.TabIndex = 1;
  51.             this.btnquit.Text = "退出";
  52.             this.btnquit.UseVisualStyleBackColor = true;
  53.             this.btnquit.Click += new System.EventHandler(this.btnquit_Click);
  54.             // 
  55.             // btnvis
  56.             // 
  57.             this.btnvis.Location = new System.Drawing.Point(41, 289);
  58.             this.btnvis.Name = "btnvis";
  59.             this.btnvis.Size = new System.Drawing.Size(75, 23);
  60.             this.btnvis.TabIndex = 2;
  61.             this.btnvis.Text = "隐藏控件";
  62.             this.btnvis.UseVisualStyleBackColor = true;
  63.             this.btnvis.Click += new System.EventHandler(this.btnvis_Click);
  64.             // 
  65.             // Form1
  66.             // 
  67.             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  68.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  69.             this.ClientSize = new System.Drawing.Size(390, 324);
  70.             this.Controls.Add(this.btnvis);
  71.             this.Controls.Add(this.btnquit);
  72.             this.Controls.Add(this.alarm1);
  73.             this.MaximizeBox = false;
  74.             this.Name = "Form1";
  75.             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  76.             this.Text = "Test";
  77.             this.ResumeLayout(false);
  78.         }
  79.         #endregion
  80.         private alarm.alarm alarm1;
  81.         private System.Windows.Forms.Button btnquit;
  82.         private System.Windows.Forms.Button btnvis;
  83.     }
  84. }