Пример #1
0
 private void PopulateMainModList()
 {
     mainModList.Items.Clear();
     foreach (string item in XmlFileReaderUtility.ReadModsFromModsConfig())
     {
         activeMods.Add(item);
         mainModList.Items.Add(item);
     }
     if (mainModList.Items.Count == 0)
     {
         mainModList.Items.Add("No mods found");
     }
 }