Message 1 of 3
Database.ObjectAppended differences between 2010 to 2012
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have been playing around with a some samples from DevTV, and have come across something strange.
This snippet produces 2 different results between 2010 and 2010 when I draw a single line.
Private Sub callback_ObjectAppended(ByVal sender As Object, ByVal e As ObjectEventArgs)
' add the class name of the object to the tree view
Dim newNode As System.Windows.Forms.TreeNode = myPalette.TreeView1.Nodes.Add(e.DBObject.GetType().ToString())
' we need to record its id for recognition later
newNode.Tag = e.DBObject.ObjectId.ToString()
End SubThe attached image shows the difference. The palette on the right is from 2010, and on the left 2012.
Has there been a change in the Database.ObjectAppended Event between 2010 and 2012? Is there a way to only show the visible entity created in the treeview?
Thanks
Brent