System.Drawing中不存在 [英] System.Drawing does not exist
本文介绍了System.Drawing中不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在此代码
公共静态系统开发在Windows Phone 7.1,也找不到System.Drawing中,例如.Drawing.Bitmap sfondo_panorama
{
得到
{
obj对象= ResourceManager.GetObject(sfondo_panorama,resourceCulture);
回报率((System.Drawing.Bitmap)(OBJ));
}
}
解决方案
我不要以为在WP7 System.Drawing中可用,我真的不知道你正在尝试做的,但尝试 System.Windows.Media
和 System.Windows.Media.Imaging
。
I am developing on Windows Phone 7.1 and can not find System.Drawing, for example in this code
public static System.Drawing.Bitmap sfondo_panorama
{
get
{
object obj = ResourceManager.GetObject("sfondo_panorama", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
解决方案
I don't think System.Drawing available in WP7 and I'm not really sure what you are trying to do but try System.Windows.Media
and System.Windows.Media.Imaging
.
这篇关于System.Drawing中不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文