Ejemplo n.º 1
0
        private void bt_Save_Click(object sender, EventArgs e)
        {
            SettingInfo setting = new SettingInfo();
            setting.Name = "rjdong";
            setting.age = 32;

        }
Ejemplo n.º 2
0
 public static void SaveSetting(SettingInfo setting)
 {
     SerializerHelper.XmlSerializerToFile(setting, Application.StartupPath + "\\" + ConfigName);
 }