Hi Tatopitta! Happy New Year. Yes, you can delete them but that means they will no longer be called. There is a bug in the Visual Studio plug-in that removes them all the time with no adverse effects other than the fact that you don't have them anymore. You can remove the entire DomEventHandlers section if you want. Good luck!
Patrick Halstead [InfoPath MVP]
InfoPathDev
Patrick Halstead
Project Manager at Qdabra