Exemple #1
0
        private void PopulateList(List <string> mods)
        {
            Dictionary <string, string> modProps = new Dictionary <string, string>();

            foreach (string mod in mods)
            {
                string modname = ConfigHelper.ModDisplayName(mod);

                modProps.Add("<b>" + modname + "</b>", mod);
            }
            ModMenu.DataSource = modProps;
            ModMenu.DataBind();
        }