Exemple #1
0
        //static Vars()
        //{
        //    vars = new Vars();
        //    //Deserialize it!
        //}
        public static void Init(string path)
        {
            XmlConverter conv = new XmlConverter();

            conv.AddSchema(global::BO.Properties.Resources.RepDataInfo);
            vars = null;
            if (File.Exists(path))
            {
                vars = conv.Read <Vars>(path);
            }
        }
Exemple #2
0
 static ReportDocument()
 {
     xc = new XmlConverter();
     xc.AddSchema(BO.Common.GetReportsInfoSchema());
 }