Swing本身没有提供什么华丽丽的日期时间选择控件,所以笔者就在网上搜了个第三方的jar包jdatepicker-1.3.2.jar,基于此设计了个很轻量的日期选择面板,很简单的。效果图如下所示: 代码如下: import java.awt.event.ActionEvent; import jav...
分类:
Windows开发 时间:
2015-12-10 16:27:23
收藏:
0 评论:
0 赞:
0 阅读:
302
在winform中有一个控件可以显示html的内容,该控件就是webbrowser,设置它的DocumenText属性为HTML的内容即可。在使用WebBrowser做UI的时候,我们有时不希望里面的链接被用户点击,更不希望弹出烦人的脚本错误提示框,也不希望用户能点出右键的IE菜单,要做到这些,其实...
分类:
Windows开发 时间:
2015-12-10 15:06:33
收藏:
0 评论:
0 赞:
0 阅读:
182
#region 屏蔽Windows功能键(快捷键) public delegate int HookProc(int nCode, int wParam, IntPtr lParam); private static int hHook = 0; public const int ...
分类:
Windows开发 时间:
2015-12-10 15:03:23
收藏:
0 评论:
0 赞:
0 阅读:
337
转自:http://www.cnblogs.com/KissKnife/archive/2008/03/23/1118423.html另外推荐一篇学正则表达式的文章:http://www.unibetter.com/deerchao/zhengzhe-biaodashi-jiaocheng-se.h...
分类:
Windows开发 时间:
2015-12-10 14:59:53
收藏:
0 评论:
0 赞:
0 阅读:
231
要序列化的对象的类:[Serializable]public class Person{private string name;public string Name{get{return name;}set{name=value;}}public string Sex;public int Age=...
分类:
Windows开发 时间:
2015-12-10 14:59:32
收藏:
0 评论:
0 赞:
0 阅读:
170
目录1.使用的类2.获取本地主机IP地址3.远程查询4.实现网段的扫描--------------------------------------------------------------------------------正文1.先介绍一下使用的类:DNS类:在.net中的System.ne...
分类:
Windows开发 时间:
2015-12-10 14:57:22
收藏:
0 评论:
0 赞:
0 阅读:
254
1,Making the Back button appear requires just one line of code:SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackBu...
分类:
Windows开发 时间:
2015-12-10 14:56:23
收藏:
0 评论:
0 赞:
0 阅读:
214
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;namespace NBC.Test.ObjectM...
分类:
Windows开发 时间:
2015-12-10 14:54:13
收藏:
0 评论:
0 赞:
0 阅读:
539
一.概述 windows下当想启动某个应用程序的时候,发现启动失败,正莫名中,突然发现原来是改程序配置的端口被其他进程占用了,稠稠之际,该怎么办呢,其实很简单,请看下面几个windows命令就能轻松解决此问题。二.处理占用端口的进程1.查看占用端口的进程:netstat -aon|findstr ....
分类:
Windows开发 时间:
2015-12-10 13:30:02
收藏:
0 评论:
0 赞:
0 阅读:
205
说明:大部分转载于initialneil的大作Caffe + vs2013 + OpenCV in Windows Tutorial (I) –Setup准备工作:1.下载CUDA7.5:https://developer.nvidia.com/cuda-downloads,安装完成后会自动创建变量...
分类:
Windows开发 时间:
2015-12-10 13:29:52
收藏:
0 评论:
0 赞:
0 阅读:
556
【举例】:实现在状态栏中显示当前的用户名。(用登录和记事本做例) 【需求分析】:要实现改需求,就要将用户输入的用户名从登录(LoginFrm)窗体传递到记事本(NotePadFrm)窗体。 1、实现窗体间传值,可定义一个中间类(UserHelper),用于数据传递的载体,在中间类中定义Use...
分类:
Windows开发 时间:
2015-12-10 13:25:03
收藏:
0 评论:
0 赞:
0 阅读:
184
[_window setMovableByWindowBackground:YES]; //可以拖动 //self.window.styleMask=NSTexturedBackgroundWindowMask; //窗口的样式;金属 //self.wind...
分类:
Windows开发 时间:
2015-12-10 13:21:22
收藏:
0 评论:
0 赞:
0 阅读:
822
Delphi7 XE7 我可以下载:http://altd.embarcadero.com/download/radstudio/xe7/delphicbuilder_xe7_win.iso安装包5G许多,我不知道什么时候才能拥有它的注册版
分类:
Windows开发 时间:
2015-12-10 13:18:32
收藏:
0 评论:
0 赞:
0 阅读:
233
private void Button_Click_1(object sender, RoutedEventArgs e) { if (txt1.Text.Length 1) { throw new NotImplementedExcep...
分类:
Windows开发 时间:
2015-12-10 13:16:02
收藏:
0 评论:
0 赞:
0 阅读:
210
Xshell会话可使用下列函数和参数。为使用这些函数和参数,需同时运行xsh.Session。本文将整理出一些函数参数的表达式与含义。 更多xshell教程:http://www.xshellcn.com/support.html
分类:
Windows开发 时间:
2015-12-10 12:47:22
收藏:
0 评论:
0 赞:
0 阅读:
1091
什么是泛型(广泛意义上的“泛型”)-->在特定语言(C#)里的泛型-->C#中的5个泛型类型1、什么是泛型?2、C#中提供了五种泛型(C#中的泛型)3、C#中的泛型类(GenericClasses)4、泛型方法GenericMethods5、泛型结构GenericStructs6、泛型委托GenericDelegates7、泛型接..
分类:
Windows开发 时间:
2015-12-10 11:29:33
收藏:
0 评论:
0 赞:
0 阅读:
349
=================4、泛型方法GenericMethodsUnliketheothergenerics,amethodisnotatypebutamember.Youcandeclaregenericmethodsinbothgenericandnongenericclasses,andinstructsandinterfaces.4.1、DeclaringaGenericMethodGenericmethodshaveatypeparameter..
分类:
Windows开发 时间:
2015-12-10 11:29:13
收藏:
0 评论:
0 赞:
0 阅读:
270
题目链接 1 #include 2 using namespace std; 3 #define mem1(a) memset(a, -1, sizeof(a)) 4 #define ll long long 5 int dp[20][20], digit[20], len; 6 ll dfs(in...
分类:
Windows开发 时间:
2015-12-10 11:23:02
收藏:
0 评论:
0 赞:
0 阅读:
228
1、在这里下载PEARhttp://pear.php.net/go-pear.phar在页面右键另存为go-pear.phar 到PHP的根目录,并去目录查看是否保存为了go-pear.phar(有时会保存为go-pear.phar.txt)2、服务器开启,PHP跑起来3、在PHP根目录下执行php...
分类:
Windows开发 时间:
2015-12-10 11:12:22
收藏:
0 评论:
0 赞:
0 阅读:
285
在Win10之前,WP平台的App主要有枢轴和全景两种导航模式,我个人更喜欢Pivot即枢轴模式,可以左右切换,非常方便。全景视图因为对设计要求比较高,自己总是做不出好的效果。对于一般的新闻阅读类App来说,Pivot更适合多个频道的展示,因为内容基本都是一样的。到了Win10,微软模仿其他平台也推...
分类:
Windows开发 时间:
2015-12-10 11:11:43
收藏:
0 评论:
0 赞:
0 阅读:
375