Exemplo n.º 1
0
        private void FormEditNouns_Load(object sender, EventArgs e)
        {
            // workaround - let it work
            _grammarSerializers = new GrammarSerializersFactory().GetOldSerializers();

            this.chlistCategories.Items.Clear();
            foreach (int key in WordCategories.Categories.NounCategories.Keys)
            {
                this.chlistCategories.Items.Add(new Option<int>(key,
                    WordCategories.Categories.NounCategories[key]));
            }

            FilterAll();
        }
Exemplo n.º 2
0
        private void FormEditNouns_Load(object sender, EventArgs e)
        {
            // workaround - let it work
            this._grammarSerializers = new GrammarSerializersFactory().GetOldSerializers();

            this.chlistCategories.Items.Clear();
            foreach (int key in WordCategories.Categories.NounCategories.Keys)
            {
                this.chlistCategories.Items.Add(new Option <int>(key,
                                                                 WordCategories.Categories.NounCategories[key]));
            }

            this.FilterAll();
        }