摘要: 2011 13th IEEE Joint International Computer Science and Information Technology Conference(JICSIT 2011) will be held from July 16~18, 2011 in Chongqing, China. This conference is co-sponsored by Chongq...阅读全文
posted @ 2010-07-10 21:56 沛沛 阅读(212) 评论(0) 编辑
摘要: 今用到DevExpress,想到换肤,参考了博友DevExpress换肤手把手教程 , 该文中已经实现了打开窗体换肤,但是以后打开窗体的皮肤如何设置呢,就没说了,但稍加扩展也可实现。 我喜欢复杂问题简单化,在tannaiyin的基础上这么来弄 要简单得多。阅读全文
posted @ 2009-10-26 20:14 沛沛 阅读(2575) 评论(8) 编辑
摘要: 这个看似相似的代码,在执行效果上差别巨大。 这是我的一个项目中的小插曲,花了我5个小时来找这个问题,愚钝啊 还是多仔细学习才行啊 一个小的疏忽,可能会发生很严重的问题 阅读全文
posted @ 2009-10-07 22:12 沛沛 阅读(201) 评论(3) 编辑
    只有注册用户登录后才能阅读该文。阅读全文
posted @ 2008-12-14 20:50 沛沛 阅读(479) 评论(36) 编辑
摘要: //下面类使用的是遍历进程,根据进程名判断 //参考 using System; using System.Text.RegularExpressions; using System.Diagnostics; using System.Runtime.InteropServices; namespace HandleRunningProcess { /// <summary>...阅读全文
posted @ 2008-05-09 21:39 沛沛 阅读(418) 评论(0) 编辑
摘要: 先讲实现方法: 首先依然是命名空间: using System.Threading; 然后修改 static void Main() { bool bCreatedNew; Mutex ltt =new Mutex( false, "myUniqueName", out bCreatedNew ); if( bCreatedNew ) Application.Run(n...阅读全文
posted @ 2008-05-09 21:38 沛沛 阅读(165) 评论(1) 编辑
摘要: 我们先定义一些常见类型变量借以说明#include "stdlib.h"int i = 100;long l = 2001;float f=300.2;double d=12345.119;char username[]="程佩君";char temp[200];char *buf;CString str;_variant_t v1;_bstr_t v2;一、其它数据类型转换为字符串短整型(int...阅读全文
posted @ 2008-04-20 22:25 沛沛 阅读(594) 评论(0) 编辑
摘要: I was curious what happened when I used the new Community Server MetaBlogAPI with inline images when posting from Live Writer.  Specifically, I wanted to see how and where new folders were create...阅读全文
posted @ 2006-11-30 12:47 沛沛 阅读(78) 评论(0) 编辑
摘要: "^\d+$"  //非负整数(正整数+0)"^[0-9]*[1-9][0-9]*$"  //正整数"^((-\d+)|(0+))$"  //非正整数(负整数+0)"^-[0-9]*[1-9][0-9]*$"  //负整数"^-?\d+$"    //整数"^\d+(\.\d+)?$"  //非负浮点数(正浮点数+0)"^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1...阅读全文
posted @ 2006-10-16 19:21 沛沛 阅读(40) 评论(0) 编辑
摘要: 利用CSS Friendly ASP.NET 2.0 Control Adapters (Beta 2.0)开发时
例如在登陆控件,指定了CreateUserUrl="~/Secure/NewUserReg.aspx"和PasswordRecoveryUrl="~/Secure/PasswordRecovery.aspx", 在运行后解析代码的HTML代码中的URL没有转换成客户端可调用的Url,还是"~/Secure/NewUserReg.aspx"和"~/Secure/PasswordRecovery.aspx",此时客户端就会出错阅读全文
posted @ 2006-10-10 13:26 沛沛 阅读(1060) 评论(0) 编辑