Пример #1
0
		private void ShowHitListWindow(IEnumerable<SearchHit> hitList)
		{
			TextForm textForm = new TextForm();
			foreach (SearchHit hit in hitList)
			{
				textForm.MainTextBox.AppendText(hit.Text + " " + hit.Hits.ToString() + Environment.NewLine);
			}
			textForm.Show();
		}
Пример #2
0
 private void ShowHitListWindow(ReadOnlyCollection<SearchEngine.SearchHit> hitList)
 {
     TextForm textForm = new TextForm();
     foreach (SearchEngine.SearchHit hit in hitList)
     {
         textForm.MainTextBox.AppendText(hit.Text + " " + hit.Hits.ToString() + Environment.NewLine);
     }
     textForm.Show();
 }