2011年4月14日
摘要: 1.WPF是什么 Windows Presentation Foundation ,缩写为WPF,WPF是微软新一代图形系统,运行 在.NET Framework 3.0架构下,已经集成到.net3.5,.net4.0之中,为用户界面、2D/3D 图形、文档和媒体提供了统一的描述和操作方法。基于DirectX 9/10技术的WPF不仅带来了前所未有的3D界面,而且其图形向量渲染引擎也大大改进了传统的2D界面,比如Vista中的半透明效果的窗体等都得益于 WPF。使用, 您可以创建广泛的独立应用程序以及浏览器承载的应用程序。 WPF 的核心是一个与分辨率无关并且基于向量的呈现引擎(这样就可以保证 阅读全文
posted @ 2011-04-14 19:38 dezi 阅读(505) 评论(0) 推荐(1) 编辑
摘要: 实体类Student:程序代码/// <summary>/// 学生实体类/// </summary>[System.Runtime.Serialization.DataContract(Namespace="http://www.mzwu.com/")]public class Student{ private string _Name; private int _Age; public Student(string name, int age) { _Name = name; _Age = age; } /// <summary> / 阅读全文
posted @ 2011-04-14 10:43 dezi 阅读(8265) 评论(0) 推荐(0) 编辑
摘要: flash调用HTML中函数:1.flash(as3)中调用代码:var strall:String=ExternalInterface.call("GetCityAlertWeather");GetCityAlertWeather为html中要的函数,strall为调用GetCityAlertWeather函数后得到的值2.html中function GetCityAlertWeather(){return aa;}Html调用flash中函数:1.flash中ExternalInterface.addCallback(‘flashfunc‘,func); private 阅读全文
posted @ 2011-04-14 00:26 dezi 阅读(1781) 评论(0) 推荐(0) 编辑