I would bet that you added an event handler and never coded it. By default, when adding a new event handler, visual studio will add a line which throws a NotImplementedException so that you don't forget to add your own code.