public MainWindow() { InitializeComponent(); util = new GraphDrawUtil(myCanvas, level); result = util.result; Points.Text = $"Points: {points}"; Next.IsEnabled = false; Answer.Focus(); }
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}"; }