Пример #1
0
        private void Back_Click(object sender, RoutedEventArgs e)
        {
            PowerElec powerElec = new PowerElec();

            Close();
            ElecWindow elecWindow = new ElecWindow();

            elecWindow.Show();
        }
Пример #2
0
        private void BackToMain_Click(object sender, RoutedEventArgs e)
        {
            ElecWindow elecWindow = new ElecWindow();

            this.Close();
            MainWindow mainWindow = new MainWindow();

            mainWindow.Show();
        }
Пример #3
0
        // PhisicWindow phisicWindow = new PhisicWindow();
        private void ElecButton_Click(object sender, RoutedEventArgs e)
        {
            PhisicWindow phisicWindow = new PhisicWindow();

            this.Close();
            ElecWindow elecWindow = new ElecWindow();

            elecWindow.Show();
        }
Пример #4
0
        private void ResistanceElec_Click(object sender, RoutedEventArgs e)
        {
            ResistanceElec resistanceElec = new ResistanceElec();

            resistanceElec.Show();
            ElecWindow elecWindow = new ElecWindow();

            Close();
        }