1.使用系统内自带的声音System.Media.SystemSounds.Beep.Play();System.Media.SystemSounds.Asterisk.Play();System.Media.SystemSounds.Exclamation.Play();System.Media....
分类:
其他好文 时间:
2014-06-28 21:07:33
阅读次数:
229
5. 在这里我加一个struts2的一个上传验证的问题上传时我们可以这样来验证//判断上传的文件是否合要求 public boolean filterType(String []types){ //这里用的是 上传的file对象的方法length //上传的类...
分类:
其他好文 时间:
2014-06-28 16:28:01
阅读次数:
223
using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; namespace Splash.WPF { public static class DataGr...
分类:
其他好文 时间:
2014-06-23 07:31:36
阅读次数:
1016
由于iOS的沙盒机制,程序之间通信受到限制,还好iOS可以很方便的注册自己程序的 URL scheme,因此可以通过打开特定的URL scheme来实现程序间通信传递参数。1.新建A程序,并注册 URL scheme:在程序的 Info.plist 添加一个 URL types 节点就可以了。注意结...
分类:
移动开发 时间:
2014-06-22 23:36:11
阅读次数:
398
今天在github 上面找到了一个关于如何正确使用javascript 来进行我们的程序开发.我就恬不知耻的来了个原创啊..坑爹啊.拿来和大家分享一下吧.
A mostly reasonable approach to Javascript.
Types //类型
Objects //对象
Arrays //数组
Strings //字符串
Fu...
分类:
编程语言 时间:
2014-06-22 19:13:40
阅读次数:
240
What?枚举变量就是我们自己定义的变量,除了int,char,double之外,我们肯定有自己想定义的变量,eg,我们想把Monday-Sunday每一天定义为Day,Day是一个变量,我们要根据不同的Day来输出不一样的东西。eg.(1)define a enumerated type:enum...
分类:
编程语言 时间:
2014-06-21 08:41:42
阅读次数:
239
集合类型(Collection Types)Swift提供了两种集合类型来存放多个值——数组(Array)和字典(Dictionary)。数组把相同类型的值存放在一个有序链表里。字典把相同类型的值存放在一个无序集合里,这些值可以通过唯一标识符(也就是键)来引用和查找。在Swift里,数组和字典里所能...
分类:
其他好文 时间:
2014-06-21 00:43:57
阅读次数:
336
global.h 1 /* GLOBAL.H - RSAREF types and constants 2 */ 3 4 /* PROTOTYPES should be set to one if and only if the compiler supports 5 function argu.....
分类:
其他好文 时间:
2014-06-20 18:16:49
阅读次数:
312
Could there be a professional photographer, and may not be as formal photographer, eventually you will find yourself looking for a digital camera cont...
分类:
其他好文 时间:
2014-06-18 19:55:02
阅读次数:
184
今天在linux下打开win的NTFS硬盘总是提示出错了,而且是全部的NTFS盘都出错,其中sda1错误显示如下:Error mounting /dev/sda1 at /media/wangbo/24F02EECF02EC3C0: Command-line `mount -t "ntfs" -o ...
分类:
系统相关 时间:
2014-06-17 00:29:31
阅读次数:
383