上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页
摘要: Microsoft.Silverlight.CSharp.targets" was not found Error The Extender Provider failed to return an extender for this project 阅读全文
posted @ 2010-03-28 09:31 forrestsun 阅读(4084) 评论(2) 推荐(0) 编辑
摘要: 安装Expression Studio 3 的试用版本后准备进行相应的学习.运行BLEND3后创建了Silverlight程序后,在界面设计模式下托拽进去的图片只显示一个图片的框,却无法显示相应的图片,我安装的是WINDOWS7操作系统,开始怀疑是操作系统的原因。于是在虚拟机中装了XP再装上Expression Studio3,显示正常。无奈下上网上搜索,找了半天发现了以下这个文章:http://... 阅读全文
posted @ 2010-01-15 17:21 forrestsun 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 在视频上叠加半透明圆using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;u... 阅读全文
posted @ 2009-11-30 15:39 forrestsun 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 问题:在播放的视频控件上叠加一个十字坐标解决代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Draw... 阅读全文
posted @ 2009-11-30 14:51 forrestsun 阅读(195) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/zh-cn/library/system.resources.resxresourcereader.aspx*在console程序下读到资源文件时使用到“ResXResourceReader”光靠using还不行,需要在工程中引用System.Windows.Forms才可以使用缺点:资源文件无法嵌入程序内部代码Code ... 阅读全文
posted @ 2009-11-30 14:47 forrestsun 阅读(650) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-10-07 21:30 forrestsun 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 针对windows服务通过ServiceController 类进行控制1.初始化服务类(也就是找到服务)2.对服务进行操作具体操作,以Windows Audio为例[代码]同时为了防止服务在停止或启动未完成时其它代码的执行可以通过判断服务状态进行等待[代码] 阅读全文
posted @ 2009-10-07 21:15 forrestsun 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 通过WMI中的Win32_OperatingSystem类一样可以获取到相关的操作系统信息,与System.Evnironment类暂未做比对类中属性http://msdn.microsoft.com/en-us/library/aa394239(VS.85).aspx[代码]通过构建WMI程序获取相关信息,其中需要用到ManagementClass类,其相关描述为:ManagementClass... 阅读全文
posted @ 2009-10-07 21:05 forrestsun 阅读(2430) 评论(0) 推荐(0) 编辑
摘要: 通过WMI我们可以获取到计算机的软件信息,.NET Framework也提供了一个类来获取这些信息,这就是System.Evnironment类http://msdn.microsoft.com/zh-cn/library/system.environment(VS.80).aspx给出了具体说明,抄过来以便查询Environment 类提供有关当前环境和平台的信息以及操作它们的方法。无法继承此类... 阅读全文
posted @ 2009-10-07 20:43 forrestsun 阅读(280) 评论(1) 推荐(0) 编辑
摘要: 在网上找了一圈没有找到通过数据库生成web.sitemap文件的代码,只好自己写了 为了能够动态加载sitemap到devexpress控件的sitemapcontrol件上,写了这个将数据库表转换为sitemap的类库,需要的兄弟只需要将 其中调用数据库的方法换成自己的就可以很简单的生成相应的sitemap文件(不是自己写的多好,只不过这东西重复写太没意思),其它的就不多说了,用上了一点LINQ TO XML的东西,感觉LINQ还是很好用的,呵呵 阅读全文
posted @ 2009-08-25 20:03 forrestsun 阅读(836) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页