1.Notifications A notification is a message you can display to the user outside of your application's normal UI. When you tell the system to issue a ....
分类:
其他好文 时间:
2014-11-07 18:59:57
阅读次数:
206
After launching MacVim you may get this annoying error message:'Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded...
分类:
Web程序 时间:
2014-11-07 18:24:52
阅读次数:
180
今天想写一个邮件的解析文件,看书上有这么一段代码,源代码大致如下:importsys,email
mailFile=open(‘./ReceivedHeader.txt‘,‘r‘)
#mail载入并存入内存并解析它
#msg=email.message_from_file(sys.stdin)
msg=email.message_from_file(mailFile)
#print"msg.items()function..
分类:
编程语言 时间:
2014-11-07 06:27:06
阅读次数:
266
CodeReview些许总结
1:使用Handler的时候,使用handler.post(Runnable);,hanler与类尽量保持弱引用关系,或者使用静态的handler对象
public Handler h = new Handler() { //不推荐
@Override
public void handleMessage(Message msg) ...
分类:
移动开发 时间:
2014-11-06 20:07:43
阅读次数:
186
//Win32下MFC.cpp:Definestheentrypointfortheapplication.//#include"stdafx.h"classCMyFrameWnd:publicCFrameWnd{//类内添加声明宏DECLARE_MESSAGE_MAP()public: //标准....
分类:
移动开发 时间:
2014-11-06 19:51:05
阅读次数:
200
Controller页面:public ActionResult Index(string name, int numTimes) { ViewBag.Message = "Hello " + name; ViewBag.NumTimes = numTi...
分类:
Web程序 时间:
2014-11-06 16:44:56
阅读次数:
225
In Crystal Reports, the following error message is displayed when an invalid character is used in the databasetable alias name: Query Engine Error: “T...
分类:
其他好文 时间:
2014-11-06 16:28:36
阅读次数:
355
修改lang_admincp.php、lang_message.php、table_common_member_action_log.php就可以实现这个效果。下面是详细过程。首选,连接php虚拟主机下载这三个文件下载到本地电脑/source/language/lang_admincp.php/so...
分类:
Web程序 时间:
2014-11-06 12:17:37
阅读次数:
1864
委托,delegate关键字用于声明一个引用类型,该引用类型可用于封装命名方法或匿名方法。委托类似于 C++ 中的函数指针;但是,委托是类型安全和可靠的。委托类型声明的格式如下:public delegate void TestDelegate(string message);首先,我们看一下M.....
Looper用于封装了android线程中的消息循环,默认情况下一个线程是不存在消息循环(message loop)的,需要调用Looper.prepare()来给线程创建一个消息循环,调用Looper.loop()来使消息循环起作用,从消息队列里取 消息,处理消息。注:写在Looper.loop(...
分类:
移动开发 时间:
2014-11-05 12:53:19
阅读次数:
169