protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); var bootstrapper = new ApplicationStartup(); bootstrapper.Run(); }
public MainWindow() { InitializeComponent(); HideLeftPanel(); ApplicationStartup applicationStartup = new ApplicationStartup(); applicationStartup.Run(); startControl = new StartControl(MainNavigationHendler); leftNavigationControl = new LeftNavigationControl(MainNavigationHendler); Column0.Children.Add(leftNavigationControl); Column1.Children.Add(startControl); }