private void Main_Load(object sender, EventArgs e) { DictionaryManager dic = new DictionaryManager(); dic.ReadFromData(); putAllWordsInListBox(dic); }
private void putAllWordsInListBox(DictionaryManager dic) { string[] s = null; for (int i = 0; i < 1; i++) { dic[i].inkey(ref s); if (s != null) { foreach (string item in s) { lstTuVung.Items.Add(item); } } } }