See
How to use ArcGIS samples
for help on compiling, setting up the debugger, and running the sample.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders.
However, you will need to update the sample to point to the location of the data once you have extracted all the files.
Start Visual Studio, open the solution file, and build the project.
Start ArcMap, click the Customize menu, and click Add-In Manager. The Add-In Manager dialog box opens.
Using the Browse for Add-In command, browse to the location of the add-in and select the .esriAddIn file located in the projects bin\Debug folder.
On the Customize dialog box, drag the Edit Events command from the Add-In Controls category to a toolbar.
Add one or more editable data sources to ArcMap.
Click the Edit Events command. The Edit Events window opens.
Click the Select Events tab. See the following screen shot on the left.
Select one or more edit events in the list for which you want to receive notification, then click the Listen to Events tab.
Perform one or more actions in the editor. Events that fire as a result of the action are listed on the Listen to Events tab. See the following screen shot on the right.