码迷,mamicode.com
首页 > Windows程序
使用HTML5本地 Drag和Drop API(native API)
人人都爱使用方便、.具有互动的用户界面。并且随着智能手机的引入,用户的期望瞬间高了一大截。他们希望网站一目了然,交互动作尽人皆知。总之,他们希望你的网站使用起来超级简单。让你的用户能在你的网站实现拖拽之类的操作吧,这会让你的网站更加具有交互性。因为人们都知道如何把东西从X拖到Y位置,知道如果把A拖到...
分类:Windows程序   时间:2015-12-10 18:48:35    阅读次数:379
node开发环境搭建(windows)
在windows下,使用一个叫nvmw的工具代替nvm, 同时安装cnpm来直接使用taobao的镜像,速度上很是不错$ d:$ cd git$ git clone https://github.com/cnpm/nvmw.gitset PATH="d:\git\nvmw;%PATH%"重新打开终端...
分类:Windows程序   时间:2015-12-10 18:41:34    阅读次数:280
windows 80端口被占用的解决方法
参考文献:文献1:http://wenku.baidu.com/view/af4681bcfd0a79563c1e7289.html文献2:http://www.2cto.com/os/201111/111269.html文献3:http://wenku.baidu.com/view/af4681b...
分类:Windows程序   时间:2015-12-10 18:37:44    阅读次数:219
[UWP开发]在windows10中设置壁纸~UserProfilePersonalizationSettings
在之前的wp8.1和wp8中,微软没有公开设置壁纸的API,只有一个设置锁屏的API,但在Windows10中,微软为我们提供了设置壁纸的API:TrySetWallpaperImageAsync,他定义在Windows.System.UserProfile.UserProfilePersonali...
分类:Windows程序   时间:2015-12-10 17:04:47    阅读次数:207
C#中的new和override
在衍生类中的方法上使用new和override关键字有何意义,可以通过一系列问题来找到答案。先看一段代码: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 ...
分类:Windows程序   时间:2015-12-10 17:04:01    阅读次数:262
jQuery.validate API
分类:Windows程序   时间:2015-12-10 17:02:22    阅读次数:146
WinForm发布程序方式选择
@echo offsetlocal ENABLEEXTENSIONSnet use w: \\fileserver\programif NOT ERRORLEVEL 0 goto NOTUPDPGMxcopy w:\MDL_system c:\MDL_system /s /e /q /i /y /d...
分类:Windows程序   时间:2015-12-10 17:00:56    阅读次数:159
C# 获取时间差状态
/// /// 根据时间获取时间状态 /// /// /// public string GetTimeInfo(DateTime dt) { TimeSpan span...
分类:Windows程序   时间:2015-12-10 16:50:58    阅读次数:196
C#生成真值表
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication4{ class...
分类:Windows程序   时间:2015-12-10 16:47:18    阅读次数:174
c# dynamic,maybe I should say it is just some shortcut for "Object", box and unbox, without the cast
dynamic:void Main(){ var b="2"; dynamic a="2"; if(a.GetType()==typeof(int))b+=a; if(a.GetType()==typeof(string))b+=a; Console.WriteLine (b); Console.W...
分类:Windows程序   时间:2015-12-10 16:46:29    阅读次数:202
Swing应用开发实战系列之三:动态信息提示窗口
这里所说的“动态信息提示窗口”可不同于JOptionPane中的Message窗口和Confirm窗口,它们都是静态的模态的,更重要的是线程阻塞的,迫使你必须选择某个动作才能继续执行。我们接下来要分享的这个动态信息提示窗口,重点就是信息是动态的且实时刷新显示的,我们设想这样一个应用场景,当我们要向数...
分类:Windows程序   时间:2015-12-10 16:44:32    阅读次数:294
分享:高速读取识别条码的开发工具包——Barcode Reader Toolkit for Windows
分享一款高速读取识别条码的开发工具包——Barcode Reader Toolkit for Windows.
分类:Windows程序   时间:2015-12-10 16:41:07    阅读次数:201
Swing应用开发实战系列之二:设计日期选择面板窗口
Swing本身没有提供什么华丽丽的日期时间选择控件,所以笔者就在网上搜了个第三方的jar包jdatepicker-1.3.2.jar,基于此设计了个很轻量的日期选择面板,很简单的。效果图如下所示: 代码如下: import java.awt.event.ActionEvent; import jav...
分类:Windows程序   时间:2015-12-10 16:29:44    阅读次数:235
C# Winform 中webBrowser显示html内容时禁止错误提示的方法
在winform中有一个控件可以显示html的内容,该控件就是webbrowser,设置它的DocumenText属性为HTML的内容即可。在使用WebBrowser做UI的时候,我们有时不希望里面的链接被用户点击,更不希望弹出烦人的脚本错误提示框,也不希望用户能点出右键的IE菜单,要做到这些,其实...
分类:Windows程序   时间:2015-12-10 15:09:16    阅读次数:212
C# 通过Hook的方法 屏蔽快捷键
#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:04:48    阅读次数:372
C#XML的序列化与反序列化
要序列化的对象的类:[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 15:00:11    阅读次数:171
Windows10 UWP Back Button的处理
1,Making the Back button appear requires just one line of code:SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackBu...
分类:Windows程序   时间:2015-12-10 14:58:50    阅读次数:425
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!