2013年9月26日
摘要: 1、 首先通过https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=appid&secret=secret获取access_token2、 通过https://api.weixin.qq.com/cgi-bin/menu/create?access_token=access_token 创建菜单 代码如下/// /// 创建菜单 /// public void CreateMenus() { //测试access_token //string url = https://api.we 阅读全文
posted @ 2013-09-26 15:45 李菲菲 阅读(258) 评论(0) 推荐(0) 编辑
  2012年11月15日
摘要: <style type="text/css"> body { background-image: url(text.txt); /*text.txt防抖*/ /* for IE6 */ background-attachment: fixed; } #Piao_R { background-color: #D5D8DE; text-align: center; z-index: 999; ... 阅读全文
posted @ 2012-11-15 15:18 李菲菲 阅读(289) 评论(0) 推荐(0) 编辑
  2012年10月8日
摘要: <SCRIPT language=JavaScript> <!-- function CLASS_MSN_MESSAGE(id,width,height,caption,title,message,target,action){ this.id = id; this.title = title; this.caption= caption; this.message= message; this.target = target; this.action = action; this.width = width?width:... 阅读全文
posted @ 2012-10-08 17:34 李菲菲 阅读(124) 评论(0) 推荐(0) 编辑
  2012年7月11日
摘要: 只能输入数字:"^[0-9]*$"。 只能输入n位的数字:"^\d{n}$"。 只能输入至少n位的数字:"^\d{n,}$"。 只能输入m~n位的数字:。"^\d{m,n}$" 只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。 只能输入有两位小数的正实数:"^[0-9]+(.[0-9]{2})?$"。 只能输入有1~3位小数的正实数:"^[0-9]+(.[0-9]{1,3})?$"。 只能输入非零的正整数:"^\+?[1-9] 阅读全文
posted @ 2012-07-11 11:19 李菲菲 阅读(223) 评论(0) 推荐(0) 编辑
  2012年6月25日
摘要: <div id="divPanel" style="width:300px;height:300px;background:white;border:1px solid #000000;position:absolute;left:5px;top:50px" > <div id="divTitle" style="width:100%;height:25px;background:lavender"> Title </div> <div style="width: 阅读全文
posted @ 2012-06-25 09:48 李菲菲 阅读(1626) 评论(0) 推荐(0) 编辑
  2012年6月15日
摘要: class Program { public delegate string MyDelegate(string name); static void Main(string[] args) { #region 异步部分 MyDelegate mygate = GetName;//new MyDelegate(GetName); //声明回调 AsyncCallback callback = new AsyncCallback(CallBack... 阅读全文
posted @ 2012-06-15 16:09 李菲菲 阅读(216) 评论(0) 推荐(0) 编辑
  2012年5月31日
摘要: .black_overlay{ display: none; position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; background-color: black; z-index: 1001; -moz-opacity: 0.8; opacity: .80; filter: alpha(opacity=20);}.white_content{ display: none; position: absolute; top: 35%; ... 阅读全文
posted @ 2012-05-31 14:30 李菲菲 阅读(225) 评论(0) 推荐(0) 编辑
  2012年5月29日
摘要: <html><script language="javascript"> /** *根据传入的id显示右键菜单 */ function showMenu(id) { //menuForm.id.value = id; document.getElementById("id").value = id; if("" == id) { popMenu(itemMenu,100,"100"); } else { popMenu(it... 阅读全文
posted @ 2012-05-29 09:58 李菲菲 阅读(222) 评论(0) 推荐(0) 编辑
  2012年5月23日
摘要: #region excel private void ReleaseObject(object obj) { try { System.Runtime.InteropServices.Marshal.ReleaseComObject(obj); } catch { } finally { obj = null; } } private void KillExcelProcess() { Process[] myProcesses; myProcesses = Process.GetProcessesByName("Excel"); foreach (Process myPr 阅读全文
posted @ 2012-05-23 15:15 李菲菲 阅读(255) 评论(0) 推荐(0) 编辑
  2012年5月9日
摘要: public void BindSys_Location() { StringBuilder sb = new StringBuilder(); DataTable dt = location.GetListBypId(0); AppendChildNode(dt, sb); } /// <summary> /// 拼装子节点HTML /// </summary> /// <param name="drParent">父节点数据行</param> /// <param name="sb">HTM 阅读全文
posted @ 2012-05-09 11:58 李菲菲 阅读(154) 评论(0) 推荐(0) 编辑