Пример #1
0
        public MainWindow()
        {
            InitializeComponent();

            util = new GraphDrawUtil(myCanvas, level);

            result         = util.result;
            Points.Text    = $"Points: {points}";
            Next.IsEnabled = false;
            Answer.Focus();
        }
Пример #2
0
        private void Next_Click(object sender, RoutedEventArgs e)
        {
            Answer.Focus();
            Check.IsEnabled   = true;
            Next.IsEnabled    = false;
            AnserChecker.Text = "";
            Result.Text       = "_____";
            Answer.Text       = "";

            myCanvas.Children.Clear();

            CheckPointsToNextLevel();

            util        = new GraphDrawUtil(myCanvas, level);
            result      = util.result;
            Points.Text = $"Points: {points}";
        }