winforms - Cannot update a treeview inside a usercontrol -


I have created a user control with a tree view in it if I add a node to the user handle's manual handler, the previewview will be populated. . But after that (for example, I click on a button in my original form), the preview will not refresh. I can see that the nodes were updated in memory, but it can not be displayed on screen. I have appreciated any suggestion after adding the nodes. /p>

I describe your description Based on a quick test, I keep it together and it looks just right.

UserControl1

Put a user on a form with a button

  Public class form 1 private sub button 1_click (ByVal sender System.EventArgs as Ystem.Object, ByVal e as S: handle button 1. Click the UserControl11.AddNewNode (now .toString) expiration class  

If you are looking at the proper picture, then by any means see handling graphics as a parent, then control the usercontrol In the usercontrol we really need more information.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -