小小离

  博客园  :: 首页  ::  ::  :: 订阅 订阅  :: 管理

2014年10月29日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Threading;using Sy... 阅读全文
posted @ 2014-10-29 18:03 飔颸颸飔 阅读(116) 评论(0) 推荐(0) 编辑

2014年10月22日

摘要: public class BodyCell : PictureBox { public Direction direct { get; set; } public BodyCell() : base() { ... 阅读全文
posted @ 2014-10-22 16:46 飔颸颸飔 阅读(76) 评论(0) 推荐(0) 编辑

2011年7月20日

摘要: 这个培训任务包含两个纠结点:一个是将silverlight webpart结合到sharepoint站点中,另一个就是client object。关于这两方面也查了不少东西,这里简要介绍我做的步骤,新手记录,不要笑话~ 首先建立silverlight application,那么首先就是先涉及到Client Object的方面,在这次培训我做的是三个listbox,首先一个读取所有的列表,然后点击列表后在另一个listbox中显示列表周所有item的title,选择titile后,让原来隐藏的第三个listbox显示(覆盖第一个listbox的位置),其中是该item的信息。另外设置一个按钮. 阅读全文
posted @ 2011-07-20 17:22 飔颸颸飔 阅读(910) 评论(0) 推荐(2) 编辑

2011年7月15日

摘要: Yahoo API的天气功能使用起来还是很方便的,地址:http://xml.weather.yahoo.com/forecastrss?p=[location]&u=[type]/。其中p是城市的天气代码(可网上查询),type是指c(摄氏度)和f(华氏度)。 网页返回的是一个xml页面,所以在读取时利用xmlDocument选择当中的节点读取需要的数据。另外放置一个dropdownlist选择城市,这里由于需要异步更新,需要利用到AJAX,所以使用了updatePanel. 温度类型设置在webpart toolpane中选择,这里有很多种方法,由于本人比较笨也比较懒,这里使用最直 阅读全文
posted @ 2011-07-15 18:14 飔颸颸飔 阅读(1146) 评论(1) 推荐(2) 编辑