Application Startup event //File:Window.xaml.cs using System; using System.Windows; using System.Data; using System.Xml; using System.Configuration; using System.Windows.Media; namespace Microsoft.Samples.WinFX.AlarmClock { public partial class MyApp : Application { void AppStartup(object sender, StartupEventArgs e) { } } }