上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: XAML代码:1 <Border Name="Frame" Grid.Column="1" Style="{StaticResource ContentBorderStyle}">2 <Grid Grid.Column="1" Name="gridFrame">3 4 </Grid>5 </Border>后台代码: 1 private void LoadSolutionManagement() 2 { 3 WebClient Appcli... 阅读全文
posted @ 2011-12-02 10:01 lanmiao 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: 1 <Border Name="Frame" Grid.Column="1" Style="{StaticResource ContentBorderStyle}">2 <navigation:Frame x:Name="mainFrame"></navigation:Frame>3 </Border>导航的代码: IsolatedStorageSettings appSettings = IsolatedStorageSettings.ApplicationSett 阅读全文
posted @ 2011-12-02 09:58 lanmiao 阅读(636) 评论(0) 推荐(0) 编辑
摘要: Func是一种委托,这是在3.5里面新增的,2.0里面我们使用委托是用Delegate,Func位于System.Core命名空间下,使用委托可以提升效率,例如在反射中使用就可以弥补反射所损失的性能。Action<T>和Func<T,TResult>的功能是一样的,只是Action<T>没有返类型,Func<T,T,Result>:有参数,有返回类型Action,则既没有返回也没有参数,Func<T,TResult> 的表现形式分为以下几种:1。Func<T,TResult>2。Func<T,T1,TResult&g 阅读全文
posted @ 2011-11-30 09:57 lanmiao 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1 <pre name="code" class="css"><style>2 ul{margin: 16px 0 0 16px;}3 li{list-style: none; display:block;}4 .left{width:35%;text-align:}5 ul li span.left{ display:block; width:100px; text-align:left; float:left;}6 ul li span.left.l2{word-spacing:1.3em;}7 ul li span.left 阅读全文
posted @ 2011-11-28 11:04 lanmiao 阅读(162) 评论(0) 推荐(0) 编辑
摘要: query获得下拉框值的代码,使用jquery的朋友可以参考下。获取Select :获取select 选中的 text :$("#ddlRegType").find("option:selected").text();获取select选中的 value:$("#ddlRegType ").val();获取select选中的索引:$("#ddlRegType ").get(0).selectedIndex;设置select:设置select 选中的索引:$("#ddlRegType ").get( 阅读全文
posted @ 2011-11-21 12:07 lanmiao 阅读(240) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页