Edward_jie

for you, my Hall of Frame

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  92 随笔 :: 45 文章 :: 539 评论 :: 43万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

11 2012 档案

摘要:c#写表结构的时候,在主键id的column()中一定要加入AutoSync = AutoSync.OnInsert, DbType = "INT NOT NULL Identity", CanBeNull = false, IsDbGenerated = true, IsPrimaryKey = true [Column] public double latitude { get { return _latitude; } set { if (_latitude != value) { NotifyPropertyChanging("latitude" 阅读全文
posted @ 2012-11-14 13:47 Edward_诺 阅读(287) 评论(0) 推荐(0) 编辑

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

点击右上角即可分享
微信分享提示