Example #1
0
 public static string LoadFormSettings(this LayoutControl layoutControl, string address)
 {
     try
     {
         StreamReader streamReader = new StreamReader(address);
         string       xmlString    = streamReader.ReadToEnd();
         streamReader.Close();
         layoutControl.SetLayoutXml(xmlString);
         return(string.Empty);
     }
     catch (Exception)
     {
         return("Form-customizing will be saved after first closing of entry!");
     }
 }