using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleAppEF{ class Progra...
分类:
其他好文 时间:
2014-10-30 22:27:34
阅读次数:
156
using System;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading;namespace RDavey.Net{ public class AsyncTcpClient ...
分类:
其他好文 时间:
2014-10-30 19:05:43
阅读次数:
400
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace threaddemo{ class Program { ...
分类:
编程语言 时间:
2014-10-30 15:13:50
阅读次数:
209
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
usingSystem.Reflection;
namespaceConsoleApplication1
{
classProgram
{
staticvoidMain(string[]args)
{
//System.Type类
//=========================获..
分类:
其他好文 时间:
2014-10-30 02:03:24
阅读次数:
166
其实只是想练习一下threading的用法。写完后发现其实下载速度也没增加多少,略显尴尬,汗# -*- coding: cp936 -*-import urllib2import threadingimport os,os.pathimport sysimport time,datetimeurl ...
分类:
编程语言 时间:
2014-10-30 00:04:14
阅读次数:
261
#!/usr/bin/pythonimportQueue,threading,sysfromthreadingimportThreadimporttime,urllibclassWorker(Thread):worker_count=0def__init__(self,workQueue,resultQueue,timeout=0,**kwds):Thread.__init__(self,**kwds)self.id=Worker.worker_countWorker.worker_count+=1self...
分类:
编程语言 时间:
2014-10-29 19:43:19
阅读次数:
208
下面是GridColumnsEditor的实现代码:
GridColumnsEditor.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Linq;
using System.Text;
using System.Threading.Tas...
分类:
Web程序 时间:
2014-10-29 19:26:55
阅读次数:
148
/// /// 自动关闭Messbox /// public class MessageBoxAutoClose { System.Threading.Timer _timeoutTimer; string _caption; ...
分类:
其他好文 时间:
2014-10-29 10:30:30
阅读次数:
134
===========================Document.csusingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication2
{
[AttributeUsage(AttributeTargets.Property,//该特性能够应用的范围(只能用于属..
分类:
其他好文 时间:
2014-10-29 02:07:55
阅读次数:
189
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using ServiceStack.Redis;namespace Test...
分类:
Windows程序 时间:
2014-10-27 22:32:51
阅读次数:
3227