Replace LookupGrid2 with Version 3
This commit is contained in:
@@ -192,8 +192,8 @@ Public Class ClassControlCreator
|
||||
Return control
|
||||
End Function
|
||||
|
||||
Friend Shared Function CreateNewLookupControl(location As Point) As LookupControl2
|
||||
Dim control As New LookupControl2 With {
|
||||
Friend Shared Function CreateNewLookupControl(location As Point) As LookupControl3
|
||||
Dim control As New LookupControl3 With {
|
||||
.Name = $"{PREFIX_LOOKUP}_{clsTools.ShortGuid}",
|
||||
.Size = New Size(DEFAULT_WIDTH, DEFAULT_HEIGHT),
|
||||
.Cursor = Cursors.Hand,
|
||||
@@ -391,8 +391,9 @@ Public Class ClassControlCreator
|
||||
Return control
|
||||
End Function
|
||||
|
||||
Public Shared Function CreateExistingLookupControl(row As DataRow, designMode As Boolean) As LookupControl2
|
||||
Dim control As LookupControl2 = CreateBaseControl(New LookupControl2(), row, designMode)
|
||||
Public Shared Function CreateExistingLookupControl(row As DataRow, designMode As Boolean) As LookupControl3
|
||||
Dim control As LookupControl3 = CreateBaseControl(New LookupControl3(), row, designMode)
|
||||
control.Properties.Name = control.Name
|
||||
control.Width = row.Item("WIDTH")
|
||||
control.ReadOnly = row.Item("READ_ONLY")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user