摘要: //string Opath = @"C:/Picture"; //if (Opath.Substring(Opath.Length - 1, 1) != @"/") //Opath = Opath + @"/"; //string photoname = DateTime.Now.Ticks.To 阅读全文
posted @ 2017-03-24 13:32 如果声音记得 阅读(4191) 评论(2) 推荐(0) 编辑
摘要: 一. 二进制转换成图片 MemoryStream ms = new MemoryStream(bytes); ms.Position = 0; Image img = Image.FromStream(ms); ms.Close(); this.pictureBox1.Image 二. C#中byt 阅读全文
posted @ 2017-03-24 11:11 如果声音记得 阅读(399) 评论(0) 推荐(0) 编辑
摘要: private void button2_Click_1(object sender, System.EventArgs e) { string pathName; if (this.openFileDialog1.ShowDialog()==System.Windows.Forms.DialogR 阅读全文
posted @ 2017-03-24 11:08 如果声音记得 阅读(12011) 评论(0) 推荐(0) 编辑
摘要: usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Drawing; usingSystem.IO; namespaceMicrosoft.Form.Base { 阅读全文
posted @ 2017-03-24 11:06 如果声音记得 阅读(877) 评论(0) 推荐(0) 编辑