private void ieopen(object sender, RoutedEventArgs e) { Window3 objWindow3 = new Window3(); objWindow3.Show(); this.Close(); }
private void timer_Tick(object sender, EventArgs e) { if (progress != 100) { ButtonProgressAssist.SetValue(LoginButton, progress); progress += 1; } else { (sender as DispatcherTimer).Stop(); Window3 wind = new Window3(foundUser); wind.Show(); context.SaveChanges(); this.Close(); } }