47 |
|
this.pic_main.Image = ((System.Drawing.Image)(resources.GetObject("pic_main.Image"))); |
48 |
|
this.pic_main.Location = new System.Drawing.Point(0, 0); |
49 |
|
this.pic_main.Name = "pic_main"; |
50 |
< |
this.pic_main.Size = new System.Drawing.Size(800, 327); |
50 |
> |
this.pic_main.Size = new System.Drawing.Size(800, 223); |
51 |
|
this.pic_main.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; |
52 |
|
this.pic_main.TabIndex = 4; |
53 |
|
this.pic_main.TabStop = false; |
56 |
|
// |
57 |
|
this.flowLayoutPanel1.AutoSize = true; |
58 |
|
this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
59 |
+ |
this.flowLayoutPanel1.BackColor = System.Drawing.Color.Black; |
60 |
|
this.flowLayoutPanel1.Controls.Add(this.btnShutdown); |
61 |
|
this.flowLayoutPanel1.Controls.Add(this.btnRestart); |
62 |
|
this.flowLayoutPanel1.Controls.Add(this.btnLogoff); |
63 |
|
this.flowLayoutPanel1.Controls.Add(this.btnLockScreen); |
64 |
|
this.flowLayoutPanel1.Controls.Add(this.btnSleep); |
65 |
|
this.flowLayoutPanel1.Controls.Add(this.btnClose); |
66 |
< |
this.flowLayoutPanel1.Location = new System.Drawing.Point(44, 92); |
66 |
> |
this.flowLayoutPanel1.Location = new System.Drawing.Point(50, 50); |
67 |
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
68 |
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(696, 116); |
69 |
|
this.flowLayoutPanel1.TabIndex = 5; |
70 |
|
// |
71 |
|
// btnShutdown |
72 |
|
// |
73 |
+ |
this.btnShutdown.ForeColor = System.Drawing.Color.White; |
74 |
|
this.btnShutdown.Image = global::NexusPowerControl.Properties.Resources.missing; |
75 |
|
this.btnShutdown.Location = new System.Drawing.Point(10, 10); |
76 |
|
this.btnShutdown.Margin = new System.Windows.Forms.Padding(10); |
78 |
|
this.btnShutdown.Size = new System.Drawing.Size(96, 96); |
79 |
|
this.btnShutdown.TabIndex = 0; |
80 |
|
this.btnShutdown.Text = "Shutdown"; |
81 |
+ |
this.btnShutdown.ToolTipText = "test"; |
82 |
|
this.btnShutdown.Click += new System.EventHandler(this.btnShutdown_Click); |
83 |
|
// |
84 |
|
// btnRestart |
85 |
|
// |
86 |
+ |
this.btnRestart.ForeColor = System.Drawing.Color.White; |
87 |
|
this.btnRestart.Image = global::NexusPowerControl.Properties.Resources.missing; |
88 |
|
this.btnRestart.Location = new System.Drawing.Point(126, 10); |
89 |
|
this.btnRestart.Margin = new System.Windows.Forms.Padding(10); |
91 |
|
this.btnRestart.Size = new System.Drawing.Size(96, 96); |
92 |
|
this.btnRestart.TabIndex = 1; |
93 |
|
this.btnRestart.Text = "Restart"; |
94 |
+ |
this.btnRestart.ToolTipText = ""; |
95 |
|
this.btnRestart.Click += new System.EventHandler(this.btnRestart_Click); |
96 |
|
// |
97 |
|
// btnLogoff |
98 |
|
// |
99 |
+ |
this.btnLogoff.ForeColor = System.Drawing.Color.White; |
100 |
|
this.btnLogoff.Image = global::NexusPowerControl.Properties.Resources.missing; |
101 |
|
this.btnLogoff.Location = new System.Drawing.Point(242, 10); |
102 |
|
this.btnLogoff.Margin = new System.Windows.Forms.Padding(10); |
104 |
|
this.btnLogoff.Size = new System.Drawing.Size(96, 96); |
105 |
|
this.btnLogoff.TabIndex = 2; |
106 |
|
this.btnLogoff.Text = "Log off"; |
107 |
+ |
this.btnLogoff.ToolTipText = ""; |
108 |
|
this.btnLogoff.Click += new System.EventHandler(this.btnLogoff_Click); |
109 |
|
// |
110 |
|
// btnLockScreen |
111 |
|
// |
112 |
+ |
this.btnLockScreen.ForeColor = System.Drawing.Color.White; |
113 |
|
this.btnLockScreen.Image = global::NexusPowerControl.Properties.Resources.missing; |
114 |
|
this.btnLockScreen.Location = new System.Drawing.Point(358, 10); |
115 |
|
this.btnLockScreen.Margin = new System.Windows.Forms.Padding(10); |
117 |
|
this.btnLockScreen.Size = new System.Drawing.Size(96, 96); |
118 |
|
this.btnLockScreen.TabIndex = 3; |
119 |
|
this.btnLockScreen.Text = "Lock screen"; |
120 |
+ |
this.btnLockScreen.ToolTipText = ""; |
121 |
|
this.btnLockScreen.Click += new System.EventHandler(this.btnLockScreen_Click); |
122 |
|
// |
123 |
|
// btnSleep |
124 |
|
// |
125 |
+ |
this.btnSleep.ForeColor = System.Drawing.Color.White; |
126 |
|
this.btnSleep.Image = global::NexusPowerControl.Properties.Resources.missing; |
127 |
|
this.btnSleep.Location = new System.Drawing.Point(474, 10); |
128 |
|
this.btnSleep.Margin = new System.Windows.Forms.Padding(10); |
130 |
|
this.btnSleep.Size = new System.Drawing.Size(96, 96); |
131 |
|
this.btnSleep.TabIndex = 4; |
132 |
|
this.btnSleep.Text = "Sleep"; |
133 |
+ |
this.btnSleep.ToolTipText = ""; |
134 |
|
this.btnSleep.Click += new System.EventHandler(this.btnSleep_Click); |
135 |
|
// |
136 |
|
// btnClose |
137 |
|
// |
138 |
+ |
this.btnClose.ForeColor = System.Drawing.Color.White; |
139 |
|
this.btnClose.Image = global::NexusPowerControl.Properties.Resources.missing; |
140 |
|
this.btnClose.Location = new System.Drawing.Point(590, 10); |
141 |
|
this.btnClose.Margin = new System.Windows.Forms.Padding(10); |
143 |
|
this.btnClose.Size = new System.Drawing.Size(96, 96); |
144 |
|
this.btnClose.TabIndex = 5; |
145 |
|
this.btnClose.Text = "Close"; |
146 |
+ |
this.btnClose.ToolTipText = ""; |
147 |
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click); |
148 |
|
// |
149 |
|
// Form1 |
150 |
|
// |
151 |
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
152 |
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
153 |
< |
this.ClientSize = new System.Drawing.Size(800, 327); |
153 |
> |
this.ClientSize = new System.Drawing.Size(800, 223); |
154 |
|
this.Controls.Add(this.flowLayoutPanel1); |
155 |
|
this.Controls.Add(this.pic_main); |
143 |
– |
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
156 |
|
this.Name = "Form1"; |
157 |
|
this.Opacity = 0.98D; |
158 |
|
this.Text = "Form1"; |