摘要: Bitmap myBitmap = new Bitmap(Image.FromFile(filePath ), 32, 32); IntPtr Hicon = myBitmap.GetHicon(); Icon newIcon = Icon.FromHandle(Hicon); FileStream outStream = new FileStream(@"d:/a.ico", FileMode.OpenOrCreate); newIcon.Save(outStream); outStream.Flush(); outStream.Close();http://www.cn 阅读全文
posted @ 2011-11-06 22:38 过错 阅读(1460) 评论(0) 推荐(0) 编辑