Exemplo n.º 1
0
        private void Restart_Click(object v, RoutedEventArgs e)
        {
            test.userName = C_UserName.Text;

            testWindow testWin = new testWindow(test);

            testWin.Show();
            this.Close();
        }
Exemplo n.º 2
0
 private void StartTest_Click(object sender, RoutedEventArgs e)
 {
     if (testSelected)
     {
         testWindow testWin = new testWindow(test);
         testWin.Show();
         this.Close();
     }
     else
     {
         MessageBox.Show("Выберете тест!");
     }
 }