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

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