1 |
william |
4 |
namespace NexusPowerControl |
2 |
|
|
{ |
3 |
|
|
partial class Form1 |
4 |
|
|
{ |
5 |
|
|
/// <summary> |
6 |
|
|
/// Required designer variable. |
7 |
|
|
/// </summary> |
8 |
|
|
private System.ComponentModel.IContainer components = null; |
9 |
|
|
|
10 |
|
|
/// <summary> |
11 |
|
|
/// Clean up any resources being used. |
12 |
|
|
/// </summary> |
13 |
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
14 |
|
|
protected override void Dispose(bool disposing) |
15 |
|
|
{ |
16 |
|
|
if (disposing && (components != null)) |
17 |
|
|
{ |
18 |
|
|
components.Dispose(); |
19 |
|
|
} |
20 |
|
|
base.Dispose(disposing); |
21 |
|
|
} |
22 |
|
|
|
23 |
|
|
#region Windows Form Designer generated code |
24 |
|
|
|
25 |
|
|
/// <summary> |
26 |
|
|
/// Required method for Designer support - do not modify |
27 |
|
|
/// the contents of this method with the code editor. |
28 |
|
|
/// </summary> |
29 |
|
|
private void InitializeComponent() |
30 |
|
|
{ |
31 |
william |
10 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); |
32 |
william |
7 |
this.pic_main = new System.Windows.Forms.PictureBox(); |
33 |
william |
10 |
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
34 |
|
|
this.btnShutdown = new NexusPowerControl.ThemeButton(); |
35 |
|
|
this.btnRestart = new NexusPowerControl.ThemeButton(); |
36 |
|
|
this.btnLogoff = new NexusPowerControl.ThemeButton(); |
37 |
|
|
this.btnLockScreen = new NexusPowerControl.ThemeButton(); |
38 |
|
|
this.btnSleep = new NexusPowerControl.ThemeButton(); |
39 |
|
|
this.btnClose = new NexusPowerControl.ThemeButton(); |
40 |
william |
7 |
((System.ComponentModel.ISupportInitialize)(this.pic_main)).BeginInit(); |
41 |
william |
10 |
this.flowLayoutPanel1.SuspendLayout(); |
42 |
william |
7 |
this.SuspendLayout(); |
43 |
|
|
// |
44 |
|
|
// pic_main |
45 |
|
|
// |
46 |
|
|
this.pic_main.Dock = System.Windows.Forms.DockStyle.Fill; |
47 |
william |
10 |
this.pic_main.Image = ((System.Drawing.Image)(resources.GetObject("pic_main.Image"))); |
48 |
william |
7 |
this.pic_main.Location = new System.Drawing.Point(0, 0); |
49 |
|
|
this.pic_main.Name = "pic_main"; |
50 |
william |
10 |
this.pic_main.Size = new System.Drawing.Size(800, 327); |
51 |
william |
7 |
this.pic_main.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; |
52 |
|
|
this.pic_main.TabIndex = 4; |
53 |
|
|
this.pic_main.TabStop = false; |
54 |
|
|
// |
55 |
william |
10 |
// flowLayoutPanel1 |
56 |
|
|
// |
57 |
|
|
this.flowLayoutPanel1.AutoSize = true; |
58 |
|
|
this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
59 |
|
|
this.flowLayoutPanel1.Controls.Add(this.btnShutdown); |
60 |
|
|
this.flowLayoutPanel1.Controls.Add(this.btnRestart); |
61 |
|
|
this.flowLayoutPanel1.Controls.Add(this.btnLogoff); |
62 |
|
|
this.flowLayoutPanel1.Controls.Add(this.btnLockScreen); |
63 |
|
|
this.flowLayoutPanel1.Controls.Add(this.btnSleep); |
64 |
|
|
this.flowLayoutPanel1.Controls.Add(this.btnClose); |
65 |
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(44, 92); |
66 |
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
67 |
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(696, 116); |
68 |
|
|
this.flowLayoutPanel1.TabIndex = 5; |
69 |
|
|
// |
70 |
|
|
// btnShutdown |
71 |
|
|
// |
72 |
|
|
this.btnShutdown.Image = global::NexusPowerControl.Properties.Resources.missing; |
73 |
|
|
this.btnShutdown.Location = new System.Drawing.Point(10, 10); |
74 |
|
|
this.btnShutdown.Margin = new System.Windows.Forms.Padding(10); |
75 |
|
|
this.btnShutdown.Name = "btnShutdown"; |
76 |
|
|
this.btnShutdown.Size = new System.Drawing.Size(96, 96); |
77 |
|
|
this.btnShutdown.TabIndex = 0; |
78 |
|
|
this.btnShutdown.Text = "Shutdown"; |
79 |
|
|
this.btnShutdown.Click += new System.EventHandler(this.btnShutdown_Click); |
80 |
|
|
// |
81 |
|
|
// btnRestart |
82 |
|
|
// |
83 |
|
|
this.btnRestart.Image = global::NexusPowerControl.Properties.Resources.missing; |
84 |
|
|
this.btnRestart.Location = new System.Drawing.Point(126, 10); |
85 |
|
|
this.btnRestart.Margin = new System.Windows.Forms.Padding(10); |
86 |
|
|
this.btnRestart.Name = "btnRestart"; |
87 |
|
|
this.btnRestart.Size = new System.Drawing.Size(96, 96); |
88 |
|
|
this.btnRestart.TabIndex = 1; |
89 |
|
|
this.btnRestart.Text = "Restart"; |
90 |
|
|
this.btnRestart.Click += new System.EventHandler(this.btnRestart_Click); |
91 |
|
|
// |
92 |
|
|
// btnLogoff |
93 |
|
|
// |
94 |
|
|
this.btnLogoff.Image = global::NexusPowerControl.Properties.Resources.missing; |
95 |
|
|
this.btnLogoff.Location = new System.Drawing.Point(242, 10); |
96 |
|
|
this.btnLogoff.Margin = new System.Windows.Forms.Padding(10); |
97 |
|
|
this.btnLogoff.Name = "btnLogoff"; |
98 |
|
|
this.btnLogoff.Size = new System.Drawing.Size(96, 96); |
99 |
|
|
this.btnLogoff.TabIndex = 2; |
100 |
|
|
this.btnLogoff.Text = "Log off"; |
101 |
|
|
this.btnLogoff.Click += new System.EventHandler(this.btnLogoff_Click); |
102 |
|
|
// |
103 |
|
|
// btnLockScreen |
104 |
|
|
// |
105 |
|
|
this.btnLockScreen.Image = global::NexusPowerControl.Properties.Resources.missing; |
106 |
|
|
this.btnLockScreen.Location = new System.Drawing.Point(358, 10); |
107 |
|
|
this.btnLockScreen.Margin = new System.Windows.Forms.Padding(10); |
108 |
|
|
this.btnLockScreen.Name = "btnLockScreen"; |
109 |
|
|
this.btnLockScreen.Size = new System.Drawing.Size(96, 96); |
110 |
|
|
this.btnLockScreen.TabIndex = 3; |
111 |
|
|
this.btnLockScreen.Text = "Lock screen"; |
112 |
|
|
this.btnLockScreen.Click += new System.EventHandler(this.btnLockScreen_Click); |
113 |
|
|
// |
114 |
|
|
// btnSleep |
115 |
|
|
// |
116 |
|
|
this.btnSleep.Image = global::NexusPowerControl.Properties.Resources.missing; |
117 |
|
|
this.btnSleep.Location = new System.Drawing.Point(474, 10); |
118 |
|
|
this.btnSleep.Margin = new System.Windows.Forms.Padding(10); |
119 |
|
|
this.btnSleep.Name = "btnSleep"; |
120 |
|
|
this.btnSleep.Size = new System.Drawing.Size(96, 96); |
121 |
|
|
this.btnSleep.TabIndex = 4; |
122 |
|
|
this.btnSleep.Text = "Sleep"; |
123 |
|
|
this.btnSleep.Click += new System.EventHandler(this.btnSleep_Click); |
124 |
|
|
// |
125 |
|
|
// btnClose |
126 |
|
|
// |
127 |
|
|
this.btnClose.Image = global::NexusPowerControl.Properties.Resources.missing; |
128 |
|
|
this.btnClose.Location = new System.Drawing.Point(590, 10); |
129 |
|
|
this.btnClose.Margin = new System.Windows.Forms.Padding(10); |
130 |
|
|
this.btnClose.Name = "btnClose"; |
131 |
|
|
this.btnClose.Size = new System.Drawing.Size(96, 96); |
132 |
|
|
this.btnClose.TabIndex = 5; |
133 |
|
|
this.btnClose.Text = "Close"; |
134 |
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click); |
135 |
|
|
// |
136 |
william |
7 |
// Form1 |
137 |
|
|
// |
138 |
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
139 |
william |
4 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
140 |
william |
10 |
this.ClientSize = new System.Drawing.Size(800, 327); |
141 |
|
|
this.Controls.Add(this.flowLayoutPanel1); |
142 |
william |
7 |
this.Controls.Add(this.pic_main); |
143 |
william |
10 |
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
144 |
william |
7 |
this.Name = "Form1"; |
145 |
|
|
this.Opacity = 0.98D; |
146 |
william |
4 |
this.Text = "Form1"; |
147 |
william |
7 |
this.TransparencyKey = System.Drawing.Color.Red; |
148 |
william |
8 |
this.Load += new System.EventHandler(this.Form1_Load); |
149 |
william |
7 |
((System.ComponentModel.ISupportInitialize)(this.pic_main)).EndInit(); |
150 |
william |
10 |
this.flowLayoutPanel1.ResumeLayout(false); |
151 |
william |
7 |
this.ResumeLayout(false); |
152 |
william |
10 |
this.PerformLayout(); |
153 |
william |
7 |
|
154 |
william |
4 |
} |
155 |
|
|
|
156 |
|
|
#endregion |
157 |
william |
7 |
|
158 |
|
|
private System.Windows.Forms.PictureBox pic_main; |
159 |
william |
10 |
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
160 |
|
|
private ThemeButton btnShutdown; |
161 |
|
|
private ThemeButton btnRestart; |
162 |
|
|
private ThemeButton btnLogoff; |
163 |
|
|
private ThemeButton btnLockScreen; |
164 |
|
|
private ThemeButton btnSleep; |
165 |
|
|
private ThemeButton btnClose; |
166 |
william |
7 |
|
167 |
william |
4 |
} |
168 |
|
|
} |
169 |
|
|
|