using System.Diagnostics; private void Form1_Load(object sender, EventArgs e){EventLog evlog = new EventLog("Application");evlog.Source = "Shalvin";evlog.WriteEntry("Shalvin.com", EventLogEntryType.Information);}