private void ResetButton_Click(object sender, RoutedEventArgs e) { Registerspeicher.initializeRegister(); commandCounter = 0; ExecutingCommandTextBlock.Text = "start over again"; CommandNameLabel.Content = ""; CommandCounterLabel.Content = commandCounter; Registerspeicher.W = 0; TIMER0.TimerCounter = 0; //reset, auf null gesetzt laufzeit = 0; laufzBox.Text = Convert.ToString(laufzeit); }
public MainWindow() { InitializeComponent(); LoadSpeicherGrid(); Registerspeicher.initializeRegister(); }