Create DotNetEvents.cs