public ComputerMetricsForm() { InitializeComponent(); _winFormsQueries = new WinFormsQueries(); StopButton.Hide(); }
private void StopButton_Click(object sender, EventArgs e) { _taskOnline = false; StopButton.Hide(); ProgramStatusLabel.Text = @"Program status: Stopped"; StartButton.Show(); ClearTextBoxes(); ClearChart(); }