public static void LoadElements(string elementLocation) { if (!File.Exists(elementLocation)) { UpdateElements(elementLocation); } PeriodicTableLoader.Load(elementLocation); }
public static void LoadElements() { // has the periodic table already been loaded? if (PeriodicTable.GetElement(1) != null) { return; } // periodic table has not been loaded yet - load it PeriodicTableLoader.Load(); }