Exemplo n.º 1
0
 public static void Save(MouseSettings ms)
 {
     using (TextWriter tw = new StreamWriter(SETTINGS_FILENAME)) {
         XmlSerializer xs = new XmlSerializer(ms.GetType());
         xs.Serialize(tw, ms);
     }
 }