AuctionSniper.UI.App.OnStartup C# (CSharp) Method

OnStartup() protected method

protected OnStartup ( System.Windows.StartupEventArgs e ) : void
e System.Windows.StartupEventArgs
return void
        protected override void OnStartup(StartupEventArgs e)
        {
            var mainWindow = new MainWindow() {DataContext = new MainWindowModel(SynchronizationContext.Current)};
            mainWindow.Show();
        }