Exemple #1
0
 //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();
 }
Exemple #2
0
 //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();
 }