原创控件代码共享--日期选择控件
思路:实现日期年月日的选择
1、可以设定年的起止年份
2、排除不正确日期选择的可能
3、使用javascript实现控制
4、使用Text属性方便获取设置日期值
=================================
代码如下:
using System;
using System.Collections;
using System...
分类:
其他好文 时间:
2014-05-12 15:21:22
阅读次数:
246
using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ConsoleApplication1{ class Program { static void Main(stri...
分类:
其他好文 时间:
2014-05-12 11:46:04
阅读次数:
215
想要安装一个sublime Text
Editor,发现需要root权限,而且sudo用户的密码输进去没有作用!@ubuntu 14.04 LTS这个时候怎么办呢?打开终端,在终端中使用sudo
software-center sublime-text_build-3059_i386.deb才可以安...
分类:
其他好文 时间:
2014-05-12 11:27:33
阅读次数:
356
迅雷有一个很特殊的本领:搜索可下载资源。当你启动迅雷进行下载时,它会一边下载,一边搜索可用的其它同名下载资源(这么强的功能,不知道迅雷官方为什么不宣传)。迅雷搜索可用的下载资源默认线程是5,如果我们将这个数值改大一些,比如改成20,也就意味着你比其他雷友多出四倍的下载资源!
进入迅雷安装目录“X:....
分类:
其他好文 时间:
2014-05-12 10:48:38
阅读次数:
302
【makefile的规则】
在讲述这个makefile之前,还是让我们先来粗略地看一看makefile的规则。 target可以是一个object
file(目标文件),也可以是一个执行文件,还可以是一个标签(label)。对于标签这种特性,在后续的“伪目标”章节中会有叙述。 prereq...
分类:
其他好文 时间:
2014-05-12 09:56:08
阅读次数:
327
一个android apk的编译过程
请参考:http://www.2cto.com/kf/201312/261475.html典型的编译过程:aapt( Android Asset
Packaging Tool): 把你的应用程序资源文件(例如: AndroidManifest.xml file ...
分类:
移动开发 时间:
2014-05-12 08:21:55
阅读次数:
962
一、file was built for archive which is not the
architecture being linked (armv7s)
项目是基于cocos2d-x绑定lua进行开发的,需要引用liblua.a静态库,编译的时候报上面的错。需要将liblua项目中的buil...
分类:
其他好文 时间:
2014-05-12 08:16:45
阅读次数:
345
服务端1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Net.Sockets;5usingSystem.Net;6usingSystem.Threading;78namespaceControl...
分类:
其他好文 时间:
2014-05-11 04:28:28
阅读次数:
329
android:id 为控件指定相应的IDandroid:text
指定控件的文本,置尽量使用strings.xmlandroid:grivity 指定控件的基本位置 ,比如举重,居右,android:padding
指定控件的内边距,控件当中的内容android:singleLine 如果设置为真...
分类:
其他好文 时间:
2014-05-11 00:16:12
阅读次数:
385
创建一个新项目是很简单的,只要你安装了Eclipse插件,并且你的Eclipse软件版本在3.2或3.3,你就可以开始开发了。首先, 看一下要创建"Hello,
World"程序从高级层面上有哪些步骤:1, 通过 File -> New -> Project 菜单,建立新项目"Android ...
分类:
移动开发 时间:
2014-05-11 00:06:13
阅读次数:
400