Notes on smartpart and smartpartplaceholder.
Monthly Archives: July 2006
Windows control “ListBox” datasource refresh
When Windows.Forms.ListBox which is bound to a C# array through its DataSource property, the content of the array displays properly in the listbox. But the content of array is modified, what’s the best why to refresh the Listbox?
Update a windows control in multi-threaded applicaton
In a multi-threaded windows application, user may encouter “illegal cross-thread operation” if the update control is trigger by events that are raised from other threads. One example is the network monitoring appliction.
不要瞎走捷径
最近享用C#写个代理服务器的程序, 考虑半天决定用一个网上有人提供的异步socket库来做,觉得这样会比较简单,结果上个星期完全泡在了里面也没有结果.
Synchronous and Asynchronous socket communication
The key difference between synchronous and asynchronous communication can be explained with an example.
ZT: 中东问题的历史源流大扫盲
作者:林思源
一、从犹太复国主义到中东战争的爆发
二战以后,中东问题一直是世界和平的焦点之一,中东问题也是导致不久前美国“九一一”恐怖主义爆炸事件的直接导火索。人们不禁要问:中东问题的起因是什么呢?这不是一两句话可以讲清楚的事。
ZT: 中国陪读妈妈新加坡的艰辛生活
From: wenxuecity
新加坡鼓励从中国招收优秀的小学生,中学生到新加坡来念书。因为新加坡一直希望中国优秀的孩子能到新加坡定居,长大后为新加坡的发展作出贡献。中国的孩子一旦入学,孩子的妈妈可以以陪读的签证来新加坡生活。
ZT: 纽约艺博会上一幅题为”2008北京”的油画
周末不得闲
下个星期三 CAB lab6 demo… 从公司抱了一堆资料,还有8个 hand-on lab, 近百页的文档要读,作 IT 实在要人命。不如去做销售了(开玩笑了)。
一场大雨
上班的时候正好遇上大雨, 浩大的雨, 下车的地方离公司 150 米, 有雨伞还是浇了个 80% 落汤鸡. 好像要到雨季了…