转载自: http://www.eoeandroid.com/thread-497277-1-1.html 效果很好,特意转载过来记录一下,加深一下印象。 效果就是 :中间的方框不动,可以拖动图片,选择要裁剪的位置。 源码下载地址:http://download.csdn.net/detail/ab...
分类:
移动开发 时间:
2014-06-25 23:54:58
阅读次数:
760
关于MVC框架实现多语言的陈述:1、IIS:处理基本的图片,JS库(jquery库,css样式等)的请求。2、IhttpModel:处理客户端请求,设置Thread.currentThread.ThreadCultureInfo,使得以后用户都能用它为标准返回相应语言的html,css,js文件。(...
分类:
Web程序 时间:
2014-06-25 23:30:50
阅读次数:
331
多线程的使用方法:Thread t = new Thread(new ThreadStart (StartMethod));t.Start(); private void StartMethod() { Thread.Sleep(5000); MessageBo...
分类:
编程语言 时间:
2014-06-25 23:23:45
阅读次数:
244
1.创建和启动线程 一个NSThread对象就代表一条线程; 创建,启动线程NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(run) object:nil];[thread start];2.线程...
分类:
其他好文 时间:
2014-06-24 13:33:55
阅读次数:
167
iOS开发多线程篇—创建线程一、创建和启动线程简单说明一个NSThread对象就代表一条线程创建、启动线程(1) NSThread*thread = [[NSThreadalloc]initWithTarget:selfselector:@selector(run)object:nil];[thre...
分类:
移动开发 时间:
2014-06-24 12:29:00
阅读次数:
351
1.线程的状态NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(run) object:nil];[thread start];2.控制线程状态2.1>启动线程 -(void)start; //进....
分类:
编程语言 时间:
2014-06-24 11:53:02
阅读次数:
233
1.NSThread创建方式(一个NSThread对象就代表一条线程)1.1>创建\启动线程(1)线程一启动,就会在thread中执行self的run方法NSTread *thread = [[NSThread alloc] initWithTarget:self selector:@selecto...
分类:
其他好文 时间:
2014-06-24 11:42:16
阅读次数:
224
在~/.bash_profile里面添加export HISTSIZE=1000From: http://bbs.chinaunix.net/thread-3612167-1-1.html
分类:
其他好文 时间:
2014-06-22 10:49:25
阅读次数:
249
下面是于线程相关的GDB命令用法汇总:
info threads:给出关于当前所有线程的信息。
thread 3:改成线程3.
break 88 thread 3 :当线程到达源代码88时停止执行。
break 88 thread 3 if i == 2 当线程3到达源代码行88行,并且变量i的值为2时停止执行。
对下面的多线程进行调试:
#include
#include ...
分类:
编程语言 时间:
2014-06-22 07:31:50
阅读次数:
310
As we all know,a thread is a separate process on your computer.you can run multiple threads all at the same time.
multi-threaded code has the disadvantage of becoming quite complex very quickly,altho...
分类:
其他好文 时间:
2014-06-22 07:25:06
阅读次数:
244