示例#1
0
文件: CSRAData.cs 项目: HSDS/CSRA_1
        static public CSRAData Load()
        {
            string fname = Path.Combine(System.Windows.Forms.Application.StartupPath, "CSRAData.xml");

            CSRAData data = (CSRAData)Serializer.XmlDeserialize(fname, typeof(CSRAData));

            return(data);
        }
示例#2
0
文件: CSRAData.cs 项目: HSDS/CSRA_1
        static public bool Save(CSRAData data)
        {
            string fname = Path.Combine(System.Windows.Forms.Application.StartupPath, "CSRAData.xml");

            return(Serializer.XmlSerialize(fname, data));
        }