摘要: 容易欺骗别人感情的JavaScript定时器JavaScript的setTimeout与setInterval是两个很容易欺骗别人感情的方法,因为我们开始常常以为调用了就会按既定的方式执行, 我想不少人都深有同感, 例如setTimeout(function() { alert('你好!');... 阅读全文
posted @ 2015-08-12 09:23 zhuweirandy 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 我们继续C#基础知识的学习,这篇文章对前面基础知识学习的朋友有着举足轻重的作用;为了延续基础知识学习的热情,我编写了这篇特殊的文章。本篇文章的中心是想借“.NET简谈反射(动态调用)”一文继续发挥下去,让朋友能一气呵成,到底反射能用在什么地方,究竟能起到多么高级的作用。下面我就拿具体的例子讲解,不废... 阅读全文
posted @ 2015-07-24 15:34 zhuweirandy 阅读(220) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/chszs/article/details/17660179 阅读全文
posted @ 2015-02-16 19:35 zhuweirandy 阅读(106) 评论(0) 推荐(0) 编辑
摘要: js数组的操作用 js有很久了,但都没有深究过js的数组形式。偶尔用用也就是简单的string.split(char)。这段时间做的一个项目,用到数组的地方很多,自以为js高手的自己居然无从下手,一下狠心,我学!呵呵。学了之后才知道,js数组的功能强大很,远比VB,C#强多了,大家慢慢看吧1、数组的... 阅读全文
posted @ 2014-10-31 09:05 zhuweirandy 阅读(858) 评论(0) 推荐(0) 编辑
摘要: public static class DynamicFactory { //创建线程安全(对象不会再同一时刻被多个线程访问)的字典对象 private static ConcurrentDictionary s_dynamicTypes = new Concur... 阅读全文
posted @ 2014-10-29 10:32 zhuweirandy 阅读(268) 评论(0) 推荐(0) 编辑
摘要: using System.Web.Script.Serialization;using System.Collections.Generic;using System.Reflection;using System.Data;using System;namespace CommonCode{ ... 阅读全文
posted @ 2014-10-29 10:25 zhuweirandy 阅读(385) 评论(0) 推荐(0) 编辑
摘要: using System.Runtime.InteropServices;using System.Text;namespace FaureciaManager{ public class FileINI { /// /// 写操作 /// ... 阅读全文
posted @ 2014-10-29 10:08 zhuweirandy 阅读(242) 评论(0) 推荐(1) 编辑
摘要: // /// 实体类序列化成xml /// /// 实体. /// 节点名称 /// public static string ObjListToXml(List enititie... 阅读全文
posted @ 2014-10-29 10:04 zhuweirandy 阅读(424) 评论(0) 推荐(0) 编辑
摘要: /// /// 自动关闭Messbox /// public class MessageBoxAutoClose { System.Threading.Timer _timeoutTimer; string _caption; ... 阅读全文
posted @ 2014-10-29 10:03 zhuweirandy 阅读(381) 评论(0) 推荐(0) 编辑
摘要: string 增加 IsNullorEmpty :String.prototype.IsNullOrEmpty = function (r) { if (r === undefined || r === null || r === "") { return true; } else { return... 阅读全文
posted @ 2014-10-11 15:27 zhuweirandy 阅读(254) 评论(0) 推荐(0) 编辑