Form1.Designer.cs
上传用户:tomsong001
上传日期:2022-03-19
资源大小:31k
文件大小:4k
源码类别:

钩子与API截获

开发平台:

C#

  1. namespace AutoShutdown
  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.components = new System.ComponentModel.Container();
  29.             this.btShutdown = new System.Windows.Forms.Button();
  30.             this.label1 = new System.Windows.Forms.Label();
  31.             this.textTime = new System.Windows.Forms.MaskedTextBox();
  32.             this.timer1 = new System.Windows.Forms.Timer(this.components);
  33.             this.SuspendLayout();
  34.             // 
  35.             // btShutdown
  36.             // 
  37.             this.btShutdown.Location = new System.Drawing.Point(119, 20);
  38.             this.btShutdown.Name = "btShutdown";
  39.             this.btShutdown.Size = new System.Drawing.Size(75, 23);
  40.             this.btShutdown.TabIndex = 0;
  41.             this.btShutdown.Text = "关机";
  42.             this.btShutdown.UseVisualStyleBackColor = true;
  43.             this.btShutdown.Click += new System.EventHandler(this.btShutdown_Click);
  44.             // 
  45.             // label1
  46.             // 
  47.             this.label1.AutoSize = true;
  48.             this.label1.Location = new System.Drawing.Point(12, 44);
  49.             this.label1.Name = "label1";
  50.             this.label1.Size = new System.Drawing.Size(41, 12);
  51.             this.label1.TabIndex = 1;
  52.             this.label1.Text = "label1";
  53.             // 
  54.             // textTime
  55.             // 
  56.             this.textTime.Location = new System.Drawing.Point(12, 20);
  57.             this.textTime.Mask = "90:00:00";
  58.             this.textTime.Name = "textTime";
  59.             this.textTime.Size = new System.Drawing.Size(62, 21);
  60.             this.textTime.TabIndex = 2;
  61.             this.textTime.ValidatingType = typeof(System.DateTime);
  62.             // 
  63.             // timer1
  64.             // 
  65.             this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
  66.             // 
  67.             // Form1
  68.             // 
  69.             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  70.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  71.             this.ClientSize = new System.Drawing.Size(292, 77);
  72.             this.Controls.Add(this.textTime);
  73.             this.Controls.Add(this.label1);
  74.             this.Controls.Add(this.btShutdown);
  75.             this.Name = "Form1";
  76.             this.Text = "Form1";
  77.             this.Load += new System.EventHandler(this.Form1_Load);
  78.             this.ResumeLayout(false);
  79.             this.PerformLayout();
  80.         }
  81.         #endregion
  82.         private System.Windows.Forms.Button btShutdown;
  83.         private System.Windows.Forms.Label label1;
  84.         private System.Windows.Forms.MaskedTextBox textTime;
  85.         private System.Windows.Forms.Timer timer1;
  86.     }
  87. }