Esempio n. 1
0
        private void btnFeatsSearchName_Click(object sender, EventArgs e)
        {
            lbFeats.Items.Clear();

            lbFeats.Items.Add(InformationLibrary.FeatEntries[0].Name);

            foreach (Feat feat in InformationLibrary.FeatNameSearch(tbFeatsSearchKeyword.Text))
            {
                if (feat == InformationLibrary.FeatEntries[0])
                {
                    continue;
                }
                lbFeats.Items.Add(feat.Name);
            }
        }