//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); } }
static ReportDocument() { xc = new XmlConverter(); xc.AddSchema(BO.Common.GetReportsInfoSchema()); }