//Also a ResultsInput method that manipulates the StatusLabel and the HowManyHouses textbox when the event occurs. private void ResultsInput(IndexFinder.IndexVariableReachedEvent e) { wordSearchProgress.Value++; resultStatusLabel.Text = "The word house appeared last at position: " + e.Index; sb.Insert(sb.Length, " " + e.Index); count += 1; howManyHouses.Text = count.ToString(); }
//Also a ResultsInput method that manipulates the StatusLabel and the HowManyHouses textbox when the event occurs. private void ResultsInput(IndexFinder.IndexVariableReachedEvent e) { resultStatusLabel.Text += " " + e.Index; count += 1; howManyHouses.Text = count.ToString(); }