private bool LoadXmlFile(string taskDataFile)
{
BaseFolder = Path.GetDirectoryName(taskDataFile);
try
{
_taskDataXmlDocument = new XmlDocument();
_taskDataXmlDocument.Load(taskDataFile);
}
catch (XmlException ex)
{
SetError(ex);
return false;
}
catch (IOException ex)
{
SetError(ex);
return false;
}
return true;
}