MS_13.10.2015
This commit is contained in:
@@ -789,7 +789,6 @@ Public Class ClassControlBuilder
|
||||
For Each row As DataRow In DT_Combobox.Rows
|
||||
'Die BReite der DropDown-Lsit anpassen
|
||||
Using g As Graphics = control.CreateGraphics
|
||||
Console.WriteLine(g.MeasureString(row.Item(1).ToString, control.Font).Width + 30)
|
||||
If g.MeasureString(row.Item(1).ToString, control.Font).Width + 30 > iWidestWidth Then
|
||||
iWidestWidth = g.MeasureString(row.Item(1).ToString, control.Font).Width + 30
|
||||
End If
|
||||
@@ -837,7 +836,6 @@ Public Class ClassControlBuilder
|
||||
Dim iFoundIndex As Integer
|
||||
iFoundIndex = cbo.FindStringExact(cbo.Text)
|
||||
'cbo.SelectedIndex = iFoundIndex
|
||||
Console.WriteLine(iFoundIndex.ToString)
|
||||
'Dim sTypedText As String
|
||||
'Dim iFoundIndex As Integer
|
||||
'Dim oFoundItem As Object
|
||||
|
||||
Reference in New Issue
Block a user