- 博客(6)
- 资源 (25)
- 收藏
- 关注
转载 Silverlight中Xaml页面跳转方式
先在App.xaml后台代码中定义一个对象:Grid rootGrid = new Grid();同时在App.xaml后台代码中新增一个方法://///////////////// /// 页面跳转/// /// public static void RedirectTo(UserControl usercontrol){App app = (App)Ap
2013-06-28 10:15:58 780
原创 silverlight+WCF的net.tcp双工通信实例过程
silverlight+WCF的net.tcp双工通信实例过程注:本人只是一个菜鸟,有什么不对的,请各位大侠指正,成分感谢!!!本实例实现一个简单的单用户对单用户的消息发送实例。实例开始:进行net.tcp双工通信必须安装Windows功能下的Microsoft.NET.Framework3.5.1下面两项项目结构如下: 说明:Silverl
2013-06-27 11:04:47 3721 3
原创 从字符串中提取手机号码,多个用“,”分开
/// /// 从字符串中提取手机号码,多个用“,”分开 /// /// 字符串 /// public static string IsLegalMobilePhone(String MobilePhone) { Regex myReg = new Regex(@"[
2013-06-20 10:03:22 2580
原创 NPOI操作excel常用方法类
using NPOI.HSSF.UserModel;using NPOI.SS.UserModel;using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.IO;using System.Linq;using Sy
2013-06-19 17:49:02 3387
原创 字符串中连续多个空格合并成一个空格
public string UnitMoreSpan(string str) { string originStr = str; string newStr = ""; string[] splits = originStr.Split(' '); //以空格为标志 for (
2013-06-18 17:10:01 8181
转载 c# 将richtextbox滚动条移动到最下方
//设定光标所在位置 this.RichTextBox1.SelectionStart = RichTextBox1.TextLength; //滚动到当前光标处 this.RichTextBox1.ScrollToCaret(); SelectionStart:光标起始位置,和选定不同,这时候只是定位,而非选择;
2013-06-18 14:43:40 1359
SVG教程.pfd
2013-09-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人