private void CompileStartStopButton_OnClick(object sender, RoutedEventArgs e) { CompilingManager.ToggleCompileState(); CompileStartStopButton.Content = (string)CompileStartStopButton.Content == "Compile" ? "Cancel" : "Compile"; OutputTab.Focus(); }
private void CompileStartStopButton_OnClick(object sender, RoutedEventArgs e) { CompilingManager.ToggleCompileState(); CompileStartStopButton.Content = (string)CompileStartStopButton.Content == "Compile" ? "Cancel" : "Compile"; OutputTab.Focus(); UpdateProcessList(); // used for updating the PreviousTimeTaken values shown next to each Process }
private void TickElapsedTimer(object sender, EventArgs e) { var time = CompilingManager.GetTime().Elapsed; TimeElapsedLabel.Content = $"Time Elapsed: {(int) time.TotalHours:00}:{time:mm}:{time:ss}"; }