摘要: public static void Serialize(T entity) { TextWriter tw = new StringWriter(); var formatter = new XmlSerializer(typeof(T)); formatter.Serialize(tw, entity); if (!Directory.Exists(Path.GetDirectoryName(Filename))) { Director... 阅读全文
posted @ 2013-03-21 20:25 louiskoo 阅读(283) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Win32;namespace AirPatientForm{ class RegistryDAO { public static string GetRegistData(string name) { if (!IsRegeditExit(name)) { CreateRegedit(@... 阅读全文
posted @ 2013-03-21 20:18 louiskoo 阅读(15383) 评论(1) 推荐(1) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using AirPatientForm;using AirwayCT.Entity;namespace BuildPatients{ public partial class Form1 : Form { public ... 阅读全文
posted @ 2013-03-21 20:17 louiskoo 阅读(454) 评论(0) 推荐(0) 编辑