Пример #1
0
        private void ieopen(object sender, RoutedEventArgs e)
        {
            Window3 objWindow3 = new Window3();

            objWindow3.Show();
            this.Close();
        }
Пример #2
0
        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();
            }
        }