原创控件代码共享--日期选择控件
思路:实现日期年月日的选择
1、可以设定年的起止年份
2、排除不正确日期选择的可能
3、使用javascript实现控制
4、使用Text属性方便获取设置日期值
=================================
代码如下:
using System;
using System.Collections;
using System...
分类:
其他好文 时间:
2014-05-12 15:21:22
阅读次数:
246
#include
#include
#include
using namespace std;
#ifdef ONLINE_JUDGE
#define FINPUT(file) 0
#define FOUTPUT(file) 0
#else ...
分类:
其他好文 时间:
2014-05-12 14:12:35
阅读次数:
379
#include
#include
#include
using namespace std;
#ifdef ONLINE_JUDGE
#define FINPUT(file) 0
#define FOUTPUT(file) 0
#else ...
分类:
其他好文 时间:
2014-05-12 06:30:08
阅读次数:
232
安装了英文版的Ubuntu12.04之后,使用ctrt+space无法切换到中文,才反应过来。
于是查询了下怎么在Ubuntu下安装和配置中文输入法。
第一步安装语言包:
在左侧的菜单栏中点击 system setting 然后搜索下Lanuage Support,弹出一个语言支持的对话框,选择Install/Remove Languages..
在语言选择中找到简体中文,...
分类:
其他好文 时间:
2014-05-11 14:52:46
阅读次数:
371
C++中打开文件的方法。
1.system();
函数原型: int system(char *command);
作用:发出一个DOS命令。
特点:该函数是同步的,不灵活。
2.WinExec()
3.ShellExecute()
4.CreateProcess()
{CSDN:CODE:337983}...
分类:
其他好文 时间:
2014-05-11 14:28:00
阅读次数:
334
/* *******************************************
***** File Name: Love.c
***** Description: Love Story about you and me
***** Author: JPing.Cai
***** Date: 2014-5-10
***** Last Version: 1.0
* *******...
分类:
其他好文 时间:
2014-05-11 14:15:46
阅读次数:
290
简单来说,就是在c#客户端winform中加载一个webBrowser1,然后通过webBrowser1中对页面的点击js效果触发c#的函数响应。亲测通过。
C#代码如下:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Dr...
MyEclipse 中各种 libraries 的含义
JRE System Library , java EE 5 Libraries , Referenced Libraries这三个都是各种JAR包(库文件)的集合名称,可以任意取,只不过是Eclipse的默认名字罢了.
JRE System Library: 指Java SE 的常用库文件集合,建立普通的J...
分类:
系统相关 时间:
2014-05-11 13:08:00
阅读次数:
541
零、求人不如求已:
1、 在Linux中,文件,文件夹,驱动,命令,脚本都视为文件,也即一切皆file。
2、记住使用Linux 的关键就是六个字: 命令、选项、参数。
3、学会看帮助,不用求人。
学会看帮助,不用求人。
man touch
touch --help...
分类:
系统相关 时间:
2014-05-11 06:07:02
阅读次数:
567
在我的Dell Latitude 3330上, 新装的Ubuntu 14.04一切正常,就是没有system settings程序,下面的命令可以解决:sudo apt-get install ubuntu-desktop不用重启,立刻生效。...
分类:
其他好文 时间:
2014-05-11 04:40:24
阅读次数:
251