Initialize Component 작업을 수행합니다.
144 {
145 _title = new Label();
146 _resultLabel = new Label();
147 _btnMsgBox = new DreamineButton();
148 _btnBlinkOk = new DreamineButton();
149 _btnBlinkAlarm = new DreamineButton();
150 _layout = new FlowLayoutPanel();
151 _layout.SuspendLayout();
152 SuspendLayout();
153
154
155
156 _title.AutoSize = true;
157 _title.Font = new Font("Segoe UI", 18F, FontStyle.Bold);
158 _title.ForeColor = Color.White;
159 _title.Location = new Point(0, 0);
160 _title.Margin = new Padding(0, 0, 0, 24);
161 _title.Name = "_title";
162 _title.Size = new Size(163, 32);
163 _title.TabIndex = 0;
164 _title.Text = "Popup Demo";
165
166
167
168 _resultLabel.AutoSize = true;
169 _resultLabel.Font = new Font("Segoe UI", 10F);
170 _resultLabel.ForeColor = Color.FromArgb(136, 153, 170);
171 _resultLabel.Location = new Point(0, 264);
172 _resultLabel.Margin = new Padding(0, 16, 0, 0);
173 _resultLabel.Name = "_resultLabel";
174 _resultLabel.Size = new Size(93, 19);
175 _resultLabel.TabIndex = 4;
176 _resultLabel.Text = "Last result: —";
177
178
179
180 _btnMsgBox.BackColor = Color.FromArgb(13, 27, 62);
181 _btnMsgBox.BorderColor = Color.FromArgb(45, 74, 110);
182 _btnMsgBox.Command = null;
183 _btnMsgBox.CommandParameter = null;
184 _btnMsgBox.Content = "DreamineMessageBox (5s auto-close)";
185 _btnMsgBox.CornerRadius = 6;
186 _btnMsgBox.Font = new Font("Segoe UI", 10F);
187 _btnMsgBox.ForeColor = Color.White;
188 _btnMsgBox.IsSelected = false;
189 _btnMsgBox.Location = new Point(0, 56);
190 _btnMsgBox.Margin = new Padding(0, 0, 0, 8);
191 _btnMsgBox.Name = "_btnMsgBox";
192 _btnMsgBox.ShineColor = Color.Empty;
193 _btnMsgBox.Size = new Size(260, 40);
194 _btnMsgBox.TabIndex = 1;
195
196
197
198 _btnBlinkOk.BackColor = Color.FromArgb(13, 27, 62);
199 _btnBlinkOk.BorderColor = Color.FromArgb(45, 74, 110);
200 _btnBlinkOk.Command = null;
201 _btnBlinkOk.CommandParameter = null;
202 _btnBlinkOk.Content = "BlinkPopup — 완료 알림";
203 _btnBlinkOk.CornerRadius = 6;
204 _btnBlinkOk.Font = new Font("Segoe UI", 10F);
205 _btnBlinkOk.ForeColor = Color.White;
206 _btnBlinkOk.IsSelected = false;
207 _btnBlinkOk.Location = new Point(0, 104);
208 _btnBlinkOk.Margin = new Padding(0, 0, 0, 8);
209 _btnBlinkOk.Name = "_btnBlinkOk";
210 _btnBlinkOk.ShineColor = Color.Empty;
211 _btnBlinkOk.Size = new Size(260, 40);
212 _btnBlinkOk.TabIndex = 2;
213
214
215
216 _btnBlinkAlarm.BackColor = Color.FromArgb(13, 27, 62);
217 _btnBlinkAlarm.BorderColor = Color.FromArgb(45, 74, 110);
218 _btnBlinkAlarm.Command = null;
219 _btnBlinkAlarm.CommandParameter = null;
220 _btnBlinkAlarm.Content = "BlinkPopup — 설비 ALARM (점멸)";
221 _btnBlinkAlarm.CornerRadius = 6;
222 _btnBlinkAlarm.Font = new Font("Segoe UI", 10F);
223 _btnBlinkAlarm.ForeColor = Color.White;
224 _btnBlinkAlarm.IsSelected = false;
225 _btnBlinkAlarm.Location = new Point(0, 152);
226 _btnBlinkAlarm.Margin = new Padding(0, 0, 0, 8);
227 _btnBlinkAlarm.Name = "_btnBlinkAlarm";
228 _btnBlinkAlarm.ShineColor = Color.Empty;
229 _btnBlinkAlarm.Size = new Size(260, 40);
230 _btnBlinkAlarm.TabIndex = 3;
231
232
233
234 _layout.AutoSize = true;
235 _layout.Controls.Add(_title);
236 _layout.Controls.Add(_btnMsgBox);
237 _layout.Controls.Add(_btnBlinkOk);
238 _layout.Controls.Add(_btnBlinkAlarm);
239 _layout.Controls.Add(_resultLabel);
240 _layout.Dock = DockStyle.Fill;
241 _layout.FlowDirection = FlowDirection.TopDown;
242 _layout.Location = new Point(24, 24);
243 _layout.Name = "_layout";
244 _layout.Size = new Size(1133, 1225);
245 _layout.TabIndex = 0;
246 _layout.WrapContents = false;
247
248
249
250 BackColor = Color.FromArgb(26, 26, 46);
251 Controls.Add(_layout);
252 Name = "PopupPage";
253 Padding = new Padding(24);
254 Size = new Size(1181, 1273);
255 _layout.ResumeLayout(false);
256 _layout.PerformLayout();
257 ResumeLayout(false);
258 PerformLayout();
259 }