Hello,
I have made a docked panel with a usercontrol form, i registered it to rhino
"
Protected Overrides Function OnLoad(ByRef errorMessage As String) As Rhino.PlugIns.LoadReturnCode
If _userControl Is Nothing Then
_userControl = New DockedPanelUserControl()
End If
' Get SampleVbPanelUserControl class type
Dim panelType As System.Type = GetType(DockedPanelUserControl)
' Register SampleVbPanelUserControl class type with Rhino
Rhino.UI.Panels.RegisterPanel(Me, panelType, "PRONAVA", My.Resources.Pronava())
Return (Rhino.PlugIns.LoadReturnCode.Success)
End Function
Dim dendun As DockedPanelUserControl = Nothing
End Class
“
I declare values to form but the panel stays the same.
”
Public Sub al()
Dim oForm As New DockedPanelUserControl
oForm.kutu.Text = 100
MsgBox(oForm.kutu.Text)
End Sub
"
I get the 100 value from messagebox, but the docked panel textbox stays null. How can i update it?
I will be happy i could tell.
Thanks