Exemple #1
0
        private void Button_start_Click(object sender, RoutedEventArgs e)
        {
            Info_train win = new Info_train(train, user);

            win.Show();
            MainTrainWin wind = (MainTrainWin)Window.GetWindow(this);

            wind.Close();
        }
        private void Button_create_train(object sender, RoutedEventArgs e)
        {
            var win = new DoubleWin(user);

            win.Choose_frame(1);
            win.Show();
            main_tr.Close();
            this.Close();
        }