摘要: private void btnSe_Click(object sender, EventArgs e) { computer com1=new computer{ Color="black",price="4000" }; FileStream fs = new FileStream(@"D:\hhh.txt", FileMode.Append); BinaryFormatter bf = new BinaryFormatter(); bf.Serialize(fs, com1); fs.Flush(); fs.Close(); } 阅读全文
posted @ 2010-12-03 16:55 Devin Mao 阅读(228) 评论(0) 推荐(0) 编辑