-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLoadingMessageBox.cs
46 lines (40 loc) · 1.11 KB
/
LoadingMessageBox.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportInfoUI
{
internal class LoadingMessageBox : Form
{
//public string Text { get; set; }
public LoadingMessageBox()
{
InitializeComponent();
}
private void InitializeComponent()
{
label1 = new Label();
SuspendLayout();
//
// label1
//
label1.AutoSize = true;
label1.Font = new Font("Segoe UI", 18F, FontStyle.Regular, GraphicsUnit.Point, 0);
label1.Location = new Point(42, 23);
label1.Name = "label1";
label1.Size = new Size(114, 32);
label1.TabIndex = 0;
label1.Text = "Loading...";
//
// LoadingMessageBox
//
ClientSize = new Size(212, 83);
Controls.Add(label1);
Name = "LoadingMessageBox";
ResumeLayout(false);
PerformLayout();
}
private Label label1;
}
}