private void OnStartup(object sender, StartupEventArgs e) { UIContext.Initialize(new ViewAdapter()); OnStartup(e); }