add lookupgrid2, try to fuck around with that dataset of DOOM
This commit is contained in:
@@ -161,8 +161,8 @@ Public Class ClassControlCreator
|
||||
Return control
|
||||
End Function
|
||||
|
||||
Friend Shared Function CreateNewLookupControl(location As Point) As LookupControl
|
||||
Dim control As New LookupControl With {
|
||||
Friend Shared Function CreateNewLookupControl(location As Point) As LookupControl2
|
||||
Dim control As New LookupControl2 With {
|
||||
.Name = $"{PREFIX_DATAGRIDVIEW}_{clsTools.ShortGuid}",
|
||||
.Size = New Size(DEFAULT_WIDTH, DEFAULT_HEIGHT),
|
||||
.Cursor = Cursors.Hand,
|
||||
@@ -305,8 +305,9 @@ Public Class ClassControlCreator
|
||||
Return control
|
||||
End Function
|
||||
|
||||
Public Shared Function CreateExistingLookupControl(row As DataRow, designMode As Boolean) As LookupControl
|
||||
Dim control As LookupControl = CreateBaseControl(New LookupControl(), row, designMode)
|
||||
Public Shared Function CreateExistingLookupControl(row As DataRow, designMode As Boolean) As LookupControl2
|
||||
Dim control As LookupControl2 = CreateBaseControl(New LookupControl2(), row, designMode)
|
||||
control.Width = row.Item("WIDTH")
|
||||
|
||||
If designMode Then
|
||||
control.Cursor = Cursors.Hand
|
||||
|
||||
Reference in New Issue
Block a user