<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0108)http://www.cnblogs.com/Terrylee/archive/2008/03/10/Silverlight2-step-by-step-part13-Samples-feed-reader.html -->
<HTML><HEAD id=Head><TITLE>一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META id=metaKeywords content="一步一步学Silverlight 2系列(18):综合实例之RSS阅读器"
name=keywords><LINK id=CommondCss
href="一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files/common.css"
type=text/css rel=stylesheet><LINK id=SecondaryCss
href="一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files/customcss.css"
type=text/css rel=stylesheet><LINK id=RSSLink title=RSS
href="http://www.cnblogs.com/Terrylee/rss.aspx" type=application/rss+xml
rel=alternate>
<SCRIPT
src="一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files/common.js"
type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.2853" name=GENERATOR></HEAD>
<BODY>
<FORM id=Form1 name=Form1 onsubmit="javascript:return WebForm_OnSubmit();"
action=Silverlight2-step-by-step-part13-Samples-feed-reader.html method=post>
<DIV><INPUT id=__EVENTTARGET type=hidden name=__EVENTTARGET> <INPUT
id=__EVENTARGUMENT type=hidden name=__EVENTARGUMENT> <INPUT
id=" __VIEWSTATE" type=hidden name=__VIEWSTATE> </DIV>
<SCRIPT type=text/javascript>
<!--
var theForm = document.forms['Form1'];
if (!theForm) {
theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</SCRIPT>
<SCRIPT
src="一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files/WebResource.axd"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
function ctlent(evt,id)
{
if(evt.ctrlKey && evt.keyCode == 13)
{
try
{
TempSave(id);
}
catch(ex)
{
}
finally
{
__doPostBack('AjaxHolder$PostComment$btnSubmit','')
}
}
}</SCRIPT>
<SCRIPT language=JavaScript>function SetReplyAuhor(author){document.getElementById('AjaxHolder_PostComment_tbComment').value+="@"+author+"\n";document.getElementById('AjaxHolder_PostComment_tbComment').focus();return false}</SCRIPT>
<SCRIPT
src="一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files/ScriptResource.axd"
type=text/javascript></SCRIPT>
<SCRIPT
src="D:\study\silverlight\一步一步学\一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files\ScriptResource(1).axd"
type=text/javascript></SCRIPT>
<SCRIPT
src="D:\study\silverlight\一步一步学\一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files\ScriptResource(2).axd"
type=text/javascript></SCRIPT>
<SCRIPT
src="一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files/js"
type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
<!--
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
// -->
</SCRIPT>
<DIV id=header>
<H1><A class=headermaintitle id=Header1_HeaderTitle
href="http://www.cnblogs.com/Terrylee/">TerryLee's Tech Space</A></H1>
<P id=tagline>TerryLee技术专栏</P></DIV>
<DIV id=main>
<SCRIPT type=text/javascript>
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('AjaxHolder$scriptmanager1', document.getElementById('Form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tAjaxHolder$UpdatePanel1'], [], [], 90);
//]]>
</SCRIPT>
<DIV class=post>
<H2><A id=AjaxHolder_ctl01_TitleUrl
href="http://www.cnblogs.com/Terrylee/archive/2008/03/10/Silverlight2-step-by-step-part13-Samples-feed-reader.html">一步一步学Silverlight
2系列(18):综合实例之RSS阅读器</A> </H2>
<DIV class=postText>
<H2>概述</H2>
<P>Silverlight 2 Beta 1版本发布了,无论从Runtime还是Tools都给我们带来了很多的惊喜,如支持框架语言Visual Basic,
Visual C#, IronRuby, Ironpython,对JSON、Web
Service、WCF以及Sockets的支持等一系列新的特性。《一步一步学Silverlight 2系列》文章将从Silverlight
2基础知识、数据与通信、自定义控件、动画、图形图像等几个方面带您快速进入Silverlight 2开发</P>
<P>本文将综合前面十七篇讲过的界面布局、样式、控件模板、数据绑定、网络通信等几个方面,来开发一个综合实例——简易RSS阅读器。</P>
<H2>界面布局</H2>
<P>我们最终完成的RSS阅读器界面如下:</P>
<P><IMG
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px"
height=506 alt=TerryLee_Silverlight2_0082
src="一步一步学Silverlight 2系列(18):综合实例之RSS阅读器 - TerryLee's Tech Space - 博客园.files/TerryLee_Silverlight2_0082_6.png"
width=660 border=0></P>
<P>定义一个三行两列的Grid,分别放置顶部信息、分割线和下面的内容区:</P><PRE class=code><SPAN style="COLOR: blue"><</SPAN><SPAN style="COLOR: #a31515">Grid.RowDefinitions</SPAN><SPAN style="COLOR: blue">>
<</SPAN><SPAN style="COLOR: #a31515">RowDefinition </SPAN><SPAN style="COLOR: red">Height</SPAN><SPAN style="COLOR: blue">="50"></</SPAN><SPAN style="COLOR: #a31515">RowDefinition</SPAN><SPAN style="COLOR: blue">>
<</SPAN><SPAN style="COLOR: #a31515">RowDefinition </SPAN><SPAN style="COLOR: red">Height</SPAN><SPAN style="COLOR: blue">="20"></</SPAN><SPAN style="COLOR: #a31515">RowDefinition</SPAN><SPAN style="COLOR: blue">>
<</SPAN><SPAN style="COLOR: #a31515">RowDefinition </SPAN><SPAN style="COLOR: red">Height</SPAN><SPAN style="COLOR: blue">="*"></</SPAN><SPAN style="COLOR: #a31515">RowDefinition</SPAN><SPAN style="COLOR: blue">>
</</SPAN><SPAN style="COLOR: #a31515">Grid.RowDefinitions</SPAN><SPAN style="COLOR: blue">>
<</SPAN><SPAN style="COLOR: #a31515">Grid.ColumnDefinitions</SPAN><SPAN style="COLOR: blue">>
<</SPAN><SPAN style="COLOR: #a31515">ColumnDefinition </SPAN><SPAN style="COLOR: red">Width</SPAN><SPAN style="COLOR: blue">="240"></</SPAN><SPAN style="COLOR: #a31515">ColumnDefinition</SPAN><SPAN style="COLOR: blue">>
<</SPAN><SPAN style="COLOR: #a31515">ColumnDefinition </SPAN><SPAN style="COLOR: red">Width</SPAN><SPAN style="COLOR: blue">="*"></</SPAN><SPAN style="COLOR: #a31515">ColumnDefinition</SPAN><SPAN style="COLOR: blue">>
</</SPAN><SPAN style="COLOR: #a31515">Grid.ColumnDefinitions</SPAN><SPAN style="COLOR: blue">></SPAN></PRE>
<P><A
href="http://11011.net/software/vspaste"></A>设计顶部输入区域,对Grid第一行做合并,并且放置一个StackPanel:</P><PRE class=code><SPAN style="COLOR: blue"><</SPAN><SPAN style="COLOR: #a31515">StackPanel </SPAN><SPAN style="COLOR: red">x</SPAN><SPAN style="COLOR: blue">:</SPAN><SPAN style="COLOR: red">Name</SPAN><SPAN style="COLOR: blue">="Header" </SPAN><SPAN style="COLOR: red">Orientation</SPAN><SPAN style="COLOR: blue">="Horizontal"
</SPAN><SPAN style="COLOR: red">Gr
没有合适的资源?快使用搜索试试~ 我知道了~
silverlight 一步一步学
共743个文件
js:160个
gif:134个
axd:128个
5星 · 超过95%的资源 需积分: 0 1 下载量 85 浏览量
2010-10-22
10:12:38
上传
评论
收藏 16.75MB RAR 举报
温馨提示
silverlight 一步一步学,内容详细,适合初学者
资源详情
资源评论
资源推荐
收起资源包目录
silverlight 一步一步学 (743个子文件)
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(1).axd 82KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource(2).axd 29KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
ScriptResource.axd 21KB
WebResource.axd 20KB
WebResource.axd 20KB
WebResource.axd 20KB
WebResource.axd 20KB
共 743 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
lgxusky
- 粉丝: 4
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- DatabaseWatermarkingBasedonTextFormat
- -移动通信-网络课程设计与研究
- 基于Python的PCA人脸识别算法的原理及实现代码+文档详解.zip
- 甘肃移动全业务工程建设项目管理流程优化研究
- 549springboot + vue 民宿管理平台.zip (可运行源码+数据库文件+文档)
- ZArchiver.Pro_0.9.5.apk
- vmware环境配置.mp4
- 548springboot + vue 大学生社团活动平台.zip(可运行源码+数据库文件+文档)
- 微信小程序 辩论倒计时小程序源码 作业设计demo 计算机专业参考
- 深入探究文件IO,嵌入式Linux
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1