public bool FromXmlFile(GxFile file, GXBaseCollection <SdtMessages_Message> Messages, string sName, string sNameSpace)
 {
     if (GXUtil.CheckFile(file, Messages))
     {
         return(FromXml(file.ReadAllText(string.Empty), Messages, sName, sNameSpace));
     }
     else
     {
         return(false);
     }
 }
 public bool FromJSonFile(GxFile file, GXBaseCollection <SdtMessages_Message> Messages)
 {
     if (file != null && file.Exists())
     {
         string s = file.ReadAllText(string.Empty);
         return(FromJSonString(s, Messages));
     }
     else
     {
         GXUtil.ErrorToMessages("FromJSon Error", "File does not exist", Messages);
         return(false);
     }
 }