摘要: 在拼接路径的时候建议使用系统提供的Path.Combine函数 string aa = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase; if (Directory.Exists(aa + "/Pic") == fals 阅读全文
posted @ 2021-09-29 14:16 苏州の酱醋茶 阅读(5057) 评论(0) 推荐(1) 编辑
摘要: 先上一个准备代码:image和字节数组相互转换: //字节数组转image //pic是字节数组 System.IO.MemoryStream ms = new System.IO.MemoryStream(pic); System.Drawing.Image image = System.Draw 阅读全文
posted @ 2021-09-29 11:18 苏州の酱醋茶 阅读(1789) 评论(0) 推荐(0) 编辑