Ejemplo n.º 1
0
        private void Button_Click_Winnumber2(object sender, RoutedEventArgs e)
        {
            // WinNumber2 Winnumber2 = new WinNumber2();
            // Winnumber2.Show();
            Window2 nl1 = new Window2();

            nl1.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        public Win_incorrect1()
        {
            InitializeComponent();
            var timer6 = new DispatcherTimer {
                Interval = TimeSpan.FromSeconds(1.2)
            };

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