如何序列化图像控件? [英] How to Serialize an Image control?
本文介绍了如何序列化图像控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
BinaryFormatter bf = new BinaryFormatter();
ns = Client.GetStream();
bf.Serialize(ns,Image.Source);
BinaryFormatter bf = new BinaryFormatter();
ns = Client.GetStream();
bf.Serialize(ns, Image.Source);
推荐答案
我做了一些搜索,10秒钟后我得到了这些结果:
在WPF中播放YouTube视频
http://msdn.microsoft.com/en-us/library/ms748873(v = vs.110).aspx
将图像流分配给图像控制wpf
I did some searching and after 10 seconds I got these results:
Stream YouTube Videos in WPF
http://msdn.microsoft.com/en-us/library/ms748873(v=vs.110).aspx
assiging the imagestream to image control wpf
这篇关于如何序列化图像控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文