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

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