1 write to Label
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
40
Label
= New Label
10 references to Label
Microsoft.VisualBasic.Forms (10)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (10)
61
resources.ApplyResources(
Label
, "Label", CultureInfo.CurrentUICulture)
62
Label
.Name = "Label"
70
Controls.Add(
Label
)
85
Label
.Text = prompt
91
Dim labelGraphics As Graphics =
Label
.CreateGraphics
92
Dim labelSizeNeeded As SizeF = labelGraphics.MeasureString(prompt,
Label
.Font,
Label
.Width)
94
If labelSizeNeeded.Height >
Label
.Height Then
97
Dim dialogHeightChange As Integer = CInt(labelSizeNeeded.Height -
Label
.Height)
98
Label
.Height += dialogHeightChange