![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
windows phone
文章平均质量分 51
伤花怒放-Xin
这个作者很懒,什么都没留下…
展开
-
winphone与网络连接
xaml.cs: using System.IO; private void ResponseCallback(IAsyncResult result) { var request = (HttpWebRequest )result.AsyncState; var response =转载 2013-09-05 22:35:02 · 665 阅读 · 0 评论 -
winphone中TextBox自动换行
解决方案: 1.textbox 2.textblock 加入以上三个属性 TextWrapping="Wrap" HorizontalScrollBarVisibility="Disabled" AcceptsReturn ="true" 解决过程: 为了使TextBlock能自动换行,并且在指定了高度的情况下必要时候出现纵向滚动条,我把TextBlock包原创 2013-09-05 22:37:30 · 765 阅读 · 0 评论 -
c#读取json,并序列化
先声明,以下两个方法我一直用 肯定没有问题 TXT读取方法 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; usi转载 2013-09-05 22:39:54 · 1780 阅读 · 0 评论 -
unicode编码转换成汉字(c#)
public static string unicodetogb( string text) { System.Text.RegularExpressions. MatchCollection mc = System.Text.RegularExpressions.Regex .Matches(text, "\\\\u([\\w]{4})")转载 2013-09-05 22:45:01 · 772 阅读 · 0 评论 -
c#对json串的处理方法
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using Sy转载 2013-09-05 22:50:58 · 942 阅读 · 0 评论 -
winphone动态生成textBlock、image等控件
若在cs代码中如XAML生成控件一样简单就好了。 当然!办法永远都比困难多。 引用命名空间: using System.Windows.Markup;// XamlReader 在需要动态生成textBlock的地方写如下代码: //可以先在form上拖一个自己想要的textBlock,之后复制下来它的相关XAML语言,放到一转载 2013-09-05 22:53:52 · 783 阅读 · 0 评论