自定义类型转换器(例子是转换的Date类型)1、新建类型转换类DateConvert.java并继承java.beans.PropertyEditorSupport2、重写setAsText(String text)方法public class DateConvert extends Propert...
分类:
编程语言 时间:
2014-12-12 01:16:27
阅读次数:
220
一、避免文字字体大小重置html{ -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; text-size-adjust:100%;}二、视口大小对于一些老的浏览器需要使用如下代码:对于微软的PocketPC,需要使用一个特别的属...
分类:
移动开发 时间:
2014-12-11 23:51:21
阅读次数:
308
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
指令 用途 # 空指令,无任何效果 #include 包含一个源代码文件 #define 定义宏 #undef 取消已定义的宏 #if ...
分类:
其他好文 时间:
2014-12-11 23:43:37
阅读次数:
124
废话不说,先上题:Text ReverseTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17744Accepted Submission(s): ...
分类:
其他好文 时间:
2014-12-11 22:15:15
阅读次数:
277
1.android:layout_gravity和android:gravity的使用区别。android:gravity:这个控制着控件里的元素的显示位置。例如,在一个Button按钮控件中进行如下设置,android:gravity="left"和android:text="提交",这时Butt...
分类:
移动开发 时间:
2014-12-11 22:09:27
阅读次数:
158
<html> <head> <script type="text/javascript" language=JavaScript charset="UTF-8"> ? ? ? ?document.onkeydown=function(event){ ? ? ? ? ? ? ?var e = event || window.event || arguments.call...
分类:
Web程序 时间:
2014-12-11 21:00:54
阅读次数:
262
---恢复内容开始---//注释一行using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;//命名空间namespace first...
using System;using System.Security.Cryptography;using System.Text;namespace MD5Sample{ class Program { static void Main(string[] args) ...
分类:
其他好文 时间:
2014-12-11 20:48:33
阅读次数:
223
C#中的日期处理函数//2013年4月24日this.TextBox6.Text = System.DateTime.Now.ToString("D");//2013-4-24this.TextBox7.Text = System.DateTime.Now.ToString("d");//2013年...
分类:
其他好文 时间:
2014-12-11 20:36:31
阅读次数:
200