-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMainForm.Designer.cs
More file actions
90 lines (78 loc) · 3.73 KB
/
MainForm.Designer.cs
File metadata and controls
90 lines (78 loc) · 3.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
using System;
namespace ScreenControl
{
partial class MainForm
{
/// <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(MainForm));
this.btnTurnOffScreen = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// btnTurnOffScreen
//
this.btnTurnOffScreen.Location = new System.Drawing.Point(225, 150);
this.btnTurnOffScreen.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnTurnOffScreen.Name = "btnTurnOffScreen";
this.btnTurnOffScreen.Size = new System.Drawing.Size(150, 50);
this.btnTurnOffScreen.TabIndex = 1;
this.btnTurnOffScreen.Text = "关闭屏幕(&1)"; // Alt+1 快捷键
this.btnTurnOffScreen.UseVisualStyleBackColor = true;
this.btnTurnOffScreen.Click += new System.EventHandler(this.btnTurnOffScreen_Click);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(600, 360);
this.btnHelp = new System.Windows.Forms.Button();
//
// btnHelp
//
this.btnHelp.Location = new System.Drawing.Point(530, 10);
this.btnHelp.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnHelp.Name = "btnHelp";
this.btnHelp.Size = new System.Drawing.Size(50, 30);
this.btnHelp.TabIndex = 3;
this.btnHelp.Text = "?";
this.btnHelp.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnHelp.ForeColor = System.Drawing.Color.RoyalBlue;
this.btnHelp.Cursor = System.Windows.Forms.Cursors.Help;
this.btnHelp.UseVisualStyleBackColor = true;
this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
this.Controls.Add(this.btnTurnOffScreen);
this.Controls.Add(this.btnHelp);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "MainForm";
this.Text = "屏幕控制"; this.KeyPreview = true;
this.Load += new System.EventHandler(this.MainForm_Load_1); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainForm_KeyDown);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button btnTurnOffScreen;
private System.Windows.Forms.Button btnHelp;
}
}