protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); Ico.SetUp(); Current.MainWindow = new login(); Current.MainWindow.Show(); }