03 2009 档案

如何在 XAML 中定义 ControlTemplate
摘要:如何在 XAML 中定义 ControlTemplate 阅读全文

posted @ 2009-03-25 17:09 wmt 阅读(155) 评论(0) 推荐(0)

鼠标拖拽过程
摘要:单击鼠标时 '得到需要拖拽的对象 ,修改此处 Dim item As Rectangle = sender '获取鼠标当前位置 mouseVerticalPosition = e.GetPosition(Nothing).Y mouseHorizontalPosition = e.GetPosition(Nothing).X ... 阅读全文

posted @ 2009-03-22 00:31 wmt 阅读(338) 评论(0) 推荐(0)

博客园插入silerlight
摘要: 阅读全文

posted @ 2009-03-15 22:04 wmt 阅读(144) 评论(0) 推荐(0)

SilverLight下载任意文件技巧
摘要:xaml采用LinkButton 其NavigateUri属性链接到服务端下载的ashx文档 如 download.ashx如下 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1Imports System.Web 2Impo... 阅读全文

posted @ 2009-03-07 00:05 wmt 阅读(2259) 评论(1) 推荐(0)

asp.net下载文件的常用方法大全
摘要:http://www.xueit.com/html/2009-01/21_411_00.html //TransmitFile实现下载 protected void Button1_Click1(object sender, EventArgs e) { /* 微软为Response对象提供了一个新的方法Tra... 阅读全文

posted @ 2009-03-05 23:26 wmt 阅读(206) 评论(0) 推荐(0)

为Silverlight控件添加鼠标滚轮支持的小类
摘要:http://www.cnblogs.com/ready4tech/archive/2009/02/13/MouseWheelSupportAddOn.html 为Silverlight控件添加鼠标滚轮支持的小类 其实网上有挺多实现鼠标滚轮支持的文章,原理都一样,通过HtmlPage.Window.AttachEvent("DOMMouseScroll", ...)来对S... 阅读全文

posted @ 2009-03-04 11:44 wmt 阅读(235) 评论(0) 推荐(0)

Silverlight中的全屏相关.
摘要:http://www.cnblogs.com/gugunet/archive/2008/06/24/1228923.html 在sl中实现全屏很简单,只要在需要全屏的页面: 1.命名空间: using System.Windows.Interop; 2.在事件中写入: Content contentObj = App.Current.Host.Content; contentObj.IsFu... 阅读全文

posted @ 2009-03-03 18:52 wmt 阅读(137) 评论(0) 推荐(0)

导航