for you, my Hall of Frame

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 ··· 9 下一页


摘要:1.研发有关listbox滚动最底的项目功能的时候,需要判断listbox垂直偏移和listbox自身高度做比较,注意如果有listbx中有textblock,切设置了Textwrap为wrap的时候,listbox垂直偏移和listbox自身高度做比较就会出现问题,因为它只是按照textblock为一行来计算的高度和偏移,此时设置Textwrap依旧为nowrap,然后在长的textblock后面加省略号作为解决方案吧 阅读全文
posted @ 2012-11-11 01:56 Edward_诺 阅读(238) 评论(0) 推荐(0) 编辑


摘要:Supported Place TypesThe following table lists supported types for Place searches and Place adds. Additional types listed in table #2 can be used when searching for a Place, but not when adding a Place.accountingairportamusement_parkaquariumart_galleryatmbakerybankbarbeauty_salonbicycle_storebook_st 阅读全文
posted @ 2012-11-10 23:01 Edward_诺 阅读(533) 评论(0) 推荐(0) 编辑


摘要:使用panaroma控件, <controls:PanoramaItem Foreground="{StaticResource MainTitle}" Header="我的帐号"> <Grid Height="650" Margin="12,0,0,0" VerticalAlignment="Top"> <Grid x:Name="userHomeLogined" Visibility="Collapsed"> < 阅读全文
posted @ 2012-11-08 15:47 Edward_诺 阅读(922) 评论(0) 推荐(0) 编辑


摘要:中文转Unicode:HttpUtility.UrlEncodeUnicode(string str);转换后中文格式:"%uxxxx" 举例:"柳_abc123" 转换结果是:"%u67f3_abc123"Unicode转中文1:HttpUtility.UrlDecode(string str);str格式:"%uxxxx" ,举例:"%u67f3_abc123"Unicode转中文2:Regex.Unescape(string str);str格式:"sdfasdf\uxxxx&q 阅读全文
posted @ 2012-11-05 17:16 Edward_诺 阅读(4838) 评论(0) 推荐(0) 编辑


摘要:private void decryption(string mima) { IsolatedStorageFileStream stream = new IsolatedStorageFileStream("aaa.zip加密", FileMode.Open, FileAccess.Read, this.storgfile); IsolatedStorageFileStream stream2 = new IsolatedStorageFileStream("aaa.zip" + "解密", FileMode.OpenOrCreat 阅读全文
posted @ 2012-10-22 17:42 Edward_诺 阅读(764) 评论(1) 推荐(0) 编辑


摘要:有关windows phone使用toolkit的expanderview的设置和修改,在generic文件里面设置有关 <Line x:Name="Line" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" HorizontalAlignment="Left" Stroke="DarkBlue" ... 阅读全文
posted @ 2012-10-12 08:48 Edward_诺 阅读(375) 评论(0) 推荐(0) 编辑


摘要:What steps will reproduce the problem?1.I'm using the latest version of csharp-sqlite2.I want to select a row from db ,just like SELECT * FROM test where name='大',but i can insert '大' to database..3.大 is a Chinese character.What is the expected output? What do you see instead?It 阅读全文
posted @ 2012-10-10 22:19 Edward_诺 阅读(1524) 评论(5) 推荐(0) 编辑

摘要:Silverlight团队的Toolkit中为我们提供了这样一套组件,叫做TransitionServices服务,我们可以用它来实现页面间的跳转动画。该服务提供了一下几个跳转动画:SlideTransition : 上下或者左右滑动效果,具体有Mode值决定:SlideUpFadeIn 向上飞入SlideUpFadeOut 向上飞出SlideDownFadeIn 向下飞入SlideDownFadeOut 向下飞出SlideLeftFadeIn 向左飞入SlideLeftFadeIn 向左飞出SlideRightFadeIn 向右飞入SlideRightFadeIn 向右飞出RollTrans 阅读全文
posted @ 2012-10-10 00:04 Edward_诺 阅读(491) 评论(0) 推荐(1) 编辑


摘要:在使用多线程的时候,经常会报错OpenFile Operation not permitted on IsolatedStorageFileStream,原因是IsolatedStorageFile和IsolatedStorageFileStream在多线程中被多处调用而出现不可预知的内存崩溃,此时需要进行加锁,代码如下: private static readonly object _readLock = new object(); using (IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStore. 阅读全文
posted @ 2012-09-29 11:16 Edward_诺 阅读(426) 评论(0) 推荐(0) 编辑


摘要:In the current version of Windows Phone, there’ s no support for a built-in local database. This will be taken care of in the next release of the OS (codename “Mango”), which will be released late this year. Mango will have a built-in SQL CE (-like) database which can be accessed using LINQ to SQL. 阅读全文
posted @ 2012-09-28 16:40 Edward_诺 阅读(549) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 9 下一页