Hello, I'm looking for an ArcGIS 10 C# table event example. I've found the following VB6 example but not sure how to convert it to C# can you help?
Private WithEvents m_pTableSel As StandaloneTable
Private m_pApp As IApplication
Public Sub SetEvents()
Dim pMxDoc As IMxDocument
Dim pMap As IStandaloneTableCollection
Dim pStdAloneTbl As IStandaloneTable
Set pMxDoc = m_pApp.Document
Set pMap = pMxDoc.FocusMap
Set pStdAloneTbl = pMap.StandaloneTable(0)
Set m_pTableSel = pStdAloneTbl
End Sub
Private Sub m_pTableSel_SelectionChanged()
MsgBox "Selection Changed"
End Sub
Private Sub ICommand_OnCreate(ByVal hook As Object)
Set m_pApp = hook
SetEvents
End Sub