I have a problem about how to refresh the parent form treview data. In my program, When SQL table updated, In my Bo the ServerData changed Event received the notification. So I call FrmMain.LoadMsg() to refresh the treeview data in Bo ServerDataChanged Event. I found the FrmMain.LoadMsg is running but the FrmMain's treeview not refresh. please told to me how to apply this function. (I using VB.net) , Thanks a lot.
Private Sub SystemMsgBO_ServerDataChanged(ByVal e As System.Data.SqlClient.SqlNotificationEventArgs) Handles Me.ServerDataChanged
MsgBox(e.Info.ToString() & ControlChars.CrLf & e.Source.ToString() & ControlChars.CrLf & e.Type.ToString())
FrmMain.LoadMsg()
End Sub