private void button1_Click(object sender, EventArgs e) { if (textBox1.Text == string.Empty) return; Searcher searcher = new Searcher("c:\\kanzuliman"); results = searcher.FastSearch(textBox1.Text); listBox1.Items.Clear(); label1.Text = results.Length.ToString() + " hit(s)."; foreach (SearchResult result in results) { string para = result.GetDocProperty("pid"); string sura = result.GetDocProperty("sid"); string ayah = result.GetDocProperty("ayatno"); string temp = "Para: " + para + ", Sura: " + sura + ", Ayah: " + ayah; listBox1.Items.Add(temp); } }