예제 #1
0
        private void Button_Click_Winnumber3(object sender, RoutedEventArgs e)
        {
            // WinNumber2 Winnumber2 = new WinNumber2();
            // Winnumber2.Show();
            Window3 nf1 = new Window3();

            nf1.Show();
            this.Close();
        }
        public Win_incorrect3()
        {
            InitializeComponent();
            var timer6 = new DispatcherTimer {
                Interval = TimeSpan.FromSeconds(1.2)
            };

            timer6.Start();
            timer6.Tick += (sender, args) =>
            {
                timer6.Stop();
                Window3 window2 = new Window3();
                window2.Show();
                this.Close();
            };
        }