◆ NameDialog()
BrawlLib.BrawlManagerLib.NameDialog.NameDialog |
( |
| ) |
|
|
inline |
38 {
39 InitializeComponent();
40 }
◆ ShowDialog()
DialogResult BrawlLib.BrawlManagerLib.NameDialog.ShowDialog |
( |
IWin32Window |
owner, |
|
|
string |
text |
|
) |
| |
|
inline |
43 {
44 Text = text;
46 }
DialogResult ShowDialog(IWin32Window owner, string text)
Definition: NameDialog.cs:42
◆ EntryText
string BrawlLib.BrawlManagerLib.NameDialog.EntryText |
|
getset |
10 {
11 get => txtName.Text;
12 set => txtName.Text = value;
13 }
◆ LabelText
string BrawlLib.BrawlManagerLib.NameDialog.LabelText |
|
getset |
16 {
17 get => label1.Text;
18 set
19 {
20 label1.Text = value;
21 int h = 125;
22 foreach (char c in value)
23 {
24 if (c == '\n')
25 {
26 h += 13;
27 }
28 }
29
30 if (h > Height)
31 {
32 Height = h;
33 }
34 }
35 }
The documentation for this class was generated from the following file:
- BrawlLib/BrawlManagerLib/NameDialog.cs