posted @ 2014-05-25 14:40 Leo(binbin) 阅读(1174) 评论(0) 推荐(0)
摘要:
Question0Sign in to voteFolks,In my application, when the user hits "Submit" button, I have to make a Web service call asynchronously. Here is what I ... 阅读全文
摘要:
1,自定义事件:publicclassTextChangeEventArgs : EventArgs{privatestringmessage;publicTextChangeEventArgs(stringmessage) {this.message = message; } publicstri... 阅读全文
posted @ 2014-05-11 00:49 Leo(binbin) 阅读(34264) 评论(1) 推荐(3)
摘要:
this.Dispatcher.BeginInvoke(new Action(()=> this.textBlock1.Text = DateTime.Now.ToString("HH:mm:ss fff"); })); 阅读全文
posted @ 2014-05-11 00:42 Leo(binbin) 阅读(694) 评论(0) 推荐(1)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Wind... 阅读全文
posted @ 2014-05-11 00:21 Leo(binbin) 阅读(1358) 评论(0) 推荐(1)
摘要:
一、校验数字的表达式1数字:^[0-9]*$2 n位的数字:^\d{n}$3至少n位的数字:^\d{n,}$4 m-n位的数字:^\d{m,n}$5零和非零开头的数字:^(0|[1-9][0-9]*)$6非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$7带1-2位小数的正数或负数:^(\-)?\d+(\.\d{1,2})?$8正数、负数、和小数:^(\-|\+)?\d+(\.\d+)?$9有两位小数的正实数:^[0-9]+(.[0-9]{2})?$10有1~3位小数的正实数:^[0-9]+(.[0-9]{1,3})?$11非零的正整数:^[1-9]\ 阅读全文
posted @ 2013-10-23 17:17 Leo(binbin) 阅读(255) 评论(0) 推荐(0)
摘要:
.在我的电脑中删除LOG文件 c.附加数据库: 企业管理器--服务器--数据库--右键--附加数据库 此法将生成新的LOG,大小只有500多K 阅读全文
posted @ 2013-10-18 14:44 Leo(binbin) 阅读(341) 评论(0) 推荐(0)
摘要:
Unity内容在浏览器通过Unity网络播放器插件加载。HTML代码与这个插件通常不直接通信,而是通过UnityObject的脚本帮助。其主要任务是Unity的内容嵌入一个非常简单的任务,通过从各种浏览器和平台指定发行版屏蔽用户。也可以启用简单的网络播放器安装。HTML文件由Unity在编译网络播放器时生成,包含通常所需的所有功能。在大多数情况下,您不必修改HTML文件。文档的其余部分讲解这个文件的内部怎样工作。The UnityObject script has to be loaded before it can be used. This is done at the top of th 阅读全文
posted @ 2013-10-18 08:47 Leo(binbin) 阅读(1653) 评论(0) 推荐(0)
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Net;using System.IO;using System.Text.RegularExpressions;using Winista.Text.HtmlParser;using Winista.Text.HtmlP 阅读全文
posted @ 2013-10-17 18:03 Leo(binbin) 阅读(1124) 评论(0) 推荐(0)
浙公网安备 33010602011771号