CelItemAdded Event in VSTA

CelItemAdded Event in VSTA

Hello everybody, How can I recieve a message, when an Item add to Cell? Like in VBA:
C# Code:
Public WithEvents celObject As Cel Private Sub celObject_CelItemAdded(ByVal obItem As ICelItem) MsgBox obItem.Text End Sub Private Sub celObject_CelListSelectionChanged(ByVal obItem As ICelItem) End Sub 'in the event "Project_Active the celObject must be set Private Sub Project_Active() Set celObject = thisProject.Cel End Sub 'in the event "Project_Inactive the celObject must be set to nothing (destroyed) Private Sub Project_Inactive() Set celObject = Nothing End Sub
Thanx in advanced

This is a migrated post! Originally posted on 03.12.2014 by user parisamoosavi. Please be aware that information can be outdated.