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); }
static public bool Save(CSRAData data) { string fname = Path.Combine(System.Windows.Forms.Application.StartupPath, "CSRAData.xml"); return(Serializer.XmlSerialize(fname, data)); }