public static void Load(string filename)
{
// Check if File Exist
if (!System.IO.File.Exists(filename))
{
TraktLogger.Warning("Trakt Skin Settings does not exist!");
return;
}
XmlDocument doc = new XmlDocument();
try
{
doc.Load(filename);
}
catch (XmlException e)
{
TraktLogger.Error("Cannot Load skin settings xml file!: {0}", e.Message);
return;
}
// Read and Import Skin Settings
GetOverlayPositions(doc);
// Read Dashboard Skin Setings
GetDashboardSkinSettings(doc);
}