When you create a new SharePoint event receiver from Visual Studio the Visual Studio asks you “What item should be the event source” – ” see image below”
For example if you choose the list template “Survey” that means your event receiver will applied in all lists from the type survey , but in the real work you need to specify a list instance which the event receiver will apply to it .
Event Receiver For Specific List
1-From Visual Studio solution explorer open the “elements.xml” file for the event receiver “see image below”
2-You will find an attribute “ListTemplateId” in the “Receivers” element “see image below”
3-The value for “ListTemplateId” attribute is refer to the type of the list which you chosen from Visual Studio and each list template has a unique template id for example “announcements” list template id is “104” – to find table of all list template IDs Click here
4-Replace the attribute “ListTemplateId” with another attribute “ListUrl” and the value will be “Lists/<ListName>” – for example ListUrl=”Lists/test” – “see image below”
5-Deploy and that’s it 🙂