[置顶] Intellij IDEA配置Android Annotations注解框架

摘要: Intellij IDEA配置Android Annotations注解框架作为安卓开发人员应该对Android Annotations注解框架并不陌生,使用该框架中的注解,可以极大的简化我们开发过程中的不得不做但又毫无营养的工作,如findViewById,setOnClickListener等等... 阅读全文

posted @ 2015-12-17 15:45 王春雷 阅读(671) 评论(0) 推荐(0) 编辑

2012年12月26日

基于JavaScript的动态菜单的制作方法

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>JavaScript制作动态菜单</title> <style type="text/css"&g 阅读全文

posted @ 2012-12-26 19:22 王春雷 阅读(444) 评论(0) 推荐(0) 编辑

2012年12月20日

C#中三层架构的Sqlhelper代码

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.Data.SqlClient;using System.Data;namespace 三层架构.DAL{ class SqlHelper { private static readonly string connStr = ConfigurationManager.ConnectionStrings["connStr"].Connec 阅读全文

posted @ 2012-12-20 10:19 王春雷 阅读(291) 评论(0) 推荐(0) 编辑

显示协议时的倒计时代码(倒计时时按钮为不可用属性)

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> var t 阅读全文

posted @ 2012-12-20 10:17 王春雷 阅读(233) 评论(0) 推荐(0) 编辑

HTML中限制用户只能输入数字或字母的代码规范

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript">//检查用户输 阅读全文

posted @ 2012-12-20 10:15 王春雷 阅读(698) 评论(0) 推荐(0) 编辑

无刷新评论HTML代码(存在360浏览器的兼容性问题)

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> funct 阅读全文

posted @ 2012-12-20 10:11 王春雷 阅读(411) 评论(6) 推荐(0) 编辑

HTML中评分控件(类似于淘宝评价时的评分控件)的代码

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> funct 阅读全文

posted @ 2012-12-20 10:08 王春雷 阅读(463) 评论(0) 推荐(0) 编辑

导航