Ejemplo n.º 1
0
        private void Main_Load(object sender, EventArgs e)
        {
            DictionaryManager dic = new DictionaryManager();

            dic.ReadFromData();
            putAllWordsInListBox(dic);
        }
Ejemplo n.º 2
0
        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);
                    }
                }
            }
        }