jj: add line in designer and constructor
This commit is contained in:
@@ -1513,6 +1513,8 @@ Public Class ClassControlBuilder
|
||||
.Name = name
|
||||
}
|
||||
line.Name = name
|
||||
line.AutoSize = False
|
||||
line.BackColor = IntToColor(color)
|
||||
|
||||
If _new Then
|
||||
line.Location = GetCursorPosition()
|
||||
@@ -1525,6 +1527,8 @@ Public Class ClassControlBuilder
|
||||
CurrentControl = line
|
||||
|
||||
line.Parent = _master_panel
|
||||
|
||||
SetEventHandlers(line)
|
||||
AddToPanel(line)
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user