Beispiel #1
0
 void reset_values()
 {
     if (matches.Text != "0")
     {
         keyword = "";
         match_spots.RemoveRange(0, match_spots.Count);
         current_spot = 0;
         matches.Text = "0";
         MainText.DeselectAll();
     }
 }
Beispiel #2
0
 void ResetValues()
 {
     if (MatchCountLabel.Text != "0")
     {
         Keyword = "";
         MatchSpots.RemoveRange(0, MatchSpots.Count);
         CurrentSpot          = 0;
         MatchCountLabel.Text = "0";
         MainText.DeselectAll();
         MainRichText.DeselectAll();
     }
 }