I don't know what this code is doing but for start, remove VendorDetailsClosing from last line, because you don't have to put the type of _DetailsClosing.
ahmedilyas
Posted: Visual C# Language, ')' trying to pass a delegate error
you are trying to run a method outside the class (technically on the global scope) - this wont work. you are declaring your delegate and event globally, so the next line (last line) should be placed on a button click or some other method