博文
[转帖]神秘:一幅色情画暗示的2008年东亚局势!(哈哈~经典呢~) (2006-11-12 10:20:00)
摘要:[转帖]神秘:一幅色情画暗示的2008年东亚局势!(哈哈~经典呢~)
作者: 隔壁家老王 来源: 子陵论坛 http://bbs.ziling.com/
、背景:阴云密布
2008年的台海局势扑朔迷离,阴云密布
2、主画面:4个成年人在开赌局,是麻将,1个小女孩在场外
东亚地区的赌盘上,实际上是4个大国在玩,台湾不是参与者。而这次的游戏方式是东方式的麻将。
3、赌局的布局:两个金髮女子与两个黑髮女子
中美是对家,日俄是配角,4个人身份很明显。
4、衣服:4个人身上的衣服代表实力,美国上身齐全,下身裸体,在檯面上实力最强,而台下一丝不掛,中国在檯面上一丝不掛,在檯面下实力却最强,日本整个一丝不掛,没任何实力,而俄罗斯只有一个遮羞布。
5、神态和动作:中国背对,看不出神态。但是是最关专注於赌局的,而背地裡藏著2张牌,其中一张是俄罗斯串通得到的。日本在自我陶醉,整个赌桌上最白痴的一个,关心赌局,并自我感觉自信满满。俄罗斯躺倒,把腿搭在美国身上,而且牌是相公,代表俄罗斯因为无关输赢,表面上是自己不想玩了,但俄罗斯明裡和美国有瓜葛,暗裡却给中国递牌。
美国的神态在看著台湾,不太关注牌局,而且双手放头后申懒腰,表明美国已经比较疲惫,美国考虑的是值不值得玩下去的问题,而不是怎麼玩的问题。
6、台湾:台湾严重关注赌局,果盘代表利益,手拿小刀想保护自己的利益。台湾的衣服是中国式的,代表暗示台湾才是中华正统。而大陆只是在身上有凤凰的文身,下面却穿西方衣服,代表大陆外在西化,内在满清化的趋势;穿衣服的是美国。
左:日本,
背对画面的是中国,
躺著的是俄罗斯,
站著拿刀的小孩是台湾。
除了美国之外三方都光著上身,暗示实力弱於美国(不是废话吗);
美国表面上不看牌桌,其实在看她的另一张牌:台湾;
日本自鸣得意,就等著摊牌;【
中国除了......
公司最新规定!!(搞笑组图)(2006-11-11 20:10:00)
摘要:公司最新规定!!(搞笑组图)
作者: onlyking 来源: 子陵论坛 http://bbs.ziling.com/
>
......
用VB.NET实现一次运行一个应用程序实例(2006-11-11 19:59:00)
摘要:
用VB.NET实现一次运行一个应用程序实例
作者: Builder.com.cn
2006-11-10 01:40 PM
确保一次只能运行一个应用程序实例通常是一个非常好的做法。为了确定某个VB.NET程序是否有其他实例在运行,您需要获得一个正在运行的所有进程的列表,看看这个应用程序是否只有一个实例在运行。在列表A里,我使用System.Diagnostics.Process类来实现这一目的。
在这个例子里,我定义了一个数组——appProc,将它作为一个Process。然后我定义了两个字符串变量:strModName和strProcName。变量strModName的值被设置为Process.GetCurrentProcess.MainModule.ModuleName属性,而变量strProcName的值被设置为System.IO.Path.GetFileNameWithoutExtension,我把strModName里模块的值传递给了后者。然后,我只需要检查数组appProc的Length属性。如果长度超过1,这就意味着有一个以上的应用程序实例在运行,我用这作为信息框显示的依据。
示例中需要注意的内容
您应该将这个例子作为应用程序Main(主)程序的一部分。如果您确定这个应用程序还有其他的实例在运行,您可以决定采取相应的行动;在大多数情况下,提醒用户应用程序已经在运行就足够了。如果没有应用程序的其他实例在运行,您就可以继续进行必要的应用程序逻辑了。(文/Irina Medvinskaya,builder.com.com)......
[转帖]我在青海支教的点点滴滴(多图,连载)(2006-11-11 19:53:00)
摘要:[转帖]我在青海支教的点点滴滴(多图,连载)
作者: 隔壁家老王 来源: 子陵论坛 http://bbs.ziling.com/
一抹高原红
起早了,清晨6点的浦东机场,半点昏黄,人很多,各个都带着几分疲惫。
踏上征程,6天的西部行,这个从地图上才知道的地方。
让我记录它:青海、西宁、湟源县、日月乡、兔尔干村。
刚抵达,就看到远处山的绵延。
如果要寻找所谓“时间荒原”的最佳形象代言人,算它一个吧。
黄土,都是黄土,没有褶红峭壁的悲壮,青翠江南的秀丽,是西部沉于天地的黄土。
一路颠簸而来,路边有灰色墓碑,那是西部人生于斯葬于斯的最后归属。
灰扑扑的,不断看着,心里有点毛,但是,那是很沉实的归属,安心于家乡,也许也是很好的。
西部人脸上都有那抹高原红,指甲缝里总留着干农活的一点黑色尘土。
黑与红,是这个海拔3800米,人均年收入2000元的土地的性格。
下了车,希望小学里几十个孩子排成两排,齐刷刷鼓掌欢迎。
那时,已经是傍晚,5点多,夜色初露。
孩子们从下午2点开始,一直等着。
他们有些笑着,有些很羞涩。
都有那抹招牌的高原红。
觉得很惭愧,没做什么,以我们的能力,也无法做太多的什么。
但是他们的热情是毫无保留的。
在老乡赵海山的家里,吃着叫做锅开的烤大面块,咸咸的奶茶,牧民特有的手抓羊肉,很丰盛。
远比我们行前所想像的山区要好。
更丰盛的是山区老师们的迎接,唱歌,跳舞,猜拳,热热闹闹。
一首首青海民歌从清亮的嗓子里流出来,他们喝酒,喝一口,唱几句。
我们鼓掌,欢笑,用相机和录像记录。
这是文成公主路过的土地,千百年后,这里的山民仍然说,那是我们的骄傲。
原来那个离开故乡的女人,有那么多人,在怀念着。
他们那教我们听不懂的民歌里,总有着文成公主的字眼。
他们说,我们会唱歌给你们听的,给你们接风,明天还唱。
音乐仍然在继续,舞蹈在继续,高原红带给我们那点感动,也在继续……
明天开始,我是一个初二的语文老师……
图解西部生活第一天
和同事小冯在孩子堆里
和同事小冯在孩子堆里
老乡家门口
小学的孩子们
mop上传......
在VB2005中上传文件到sql2005数据库(2006-11-11 11:35:00)
摘要:Source File: Upload File to Server using ADO.Net SqlCommand
This source code demonstrates how to use an ASP.NET web page to upload a binary large object (BLOB) and insert it, using a stored procedure, into a SQL Server table text type column.
Client-side a file is selected and submitted via an ASP.NET web page.
Server-side, the web page processes the request by building an ADO.NET SqlCommand object that passes the file data to the SQL Server table via a stored procedure.
In the attached source code, a SQL Server database is included as a MDF file in the web site's App_Data folder. In it are two database objects:
1. A table named "FileImage"
2. A stored procedure named "spUploadFile"
Code
Protected Sub uploadButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles uploadButton.Click
' Declare a variable named filePath of type String.
......
在VB2005中根据内容改变datagridview单元格颜色(2006-11-11 11:32:00)
摘要:This blog, and the source code it provides, demonstrate how to handle the Windows Forms DataGridView CellFormatting event to set the BackColor of a cell based on the cell's value.
The example application in the source code provides users a way to mark inactive customers and/or customers who have not placed an order in the last 30 days.
The CellFormatting event occurs when the contents of a cell in a Windows Forms DataGridView control needs to be formatted for display.
To set the BackColor of a cells based on their values, create a CellFormatting event handler. Within the handler add code to set the BackColor of individual cells based on their value.
Code Example
1 Private Sub customerDataGridView_CellFormatting(ByVal sender As Object, ByVal e As DataGridViewCellFormattingEventArgs) Handles customerDataGridView.CellFormatting
2
3 ' If the column being formatted is......
VB.NET中实现不同窗体间控件的访问(2006-11-11 11:26:00)
摘要:Multiple Forms in VB.NET. Part 1
Article source code: multipleforms.zip
_________________________________
Authors' Note February 2006:
This article was written in June 2003 and was aimed at users of the VB.NET 2002 and 2003 editions who were upgrading from VB6. Now that VB2005 has arrived, much of the content has been overtaken by improvements in that new edition and won't be applicable if this is the version you are using.
________________________________
Introduction
One of the first hurdles you're going to come up against when you move from Classic VB to VB.NET is getting to grips with the new ways of dealing with forms.
Your approach to forms in VB.NET is fundamentally different and hinges on the fact that the Framework implements forms as classes, so now you need an object variable to instantiate it. This article is aimed at helping you through some of those basic steps.
Instead of loadi......
在VB.NET中使用MS Access数据库的存储过程(2006-11-11 11:21:00)
摘要:Working with MS Access Stored Procedures in VB.NET. Part 1
Article source code: msaccess_sp.zip
Introduction
In the more recent releases of Microsoft Access, great effort has gone into making this product a full-featured relational database system. Stored procedures, a functionality usually associated with enterprise database systems such as SQL Server, can now be found in Access. Stored procedures in Access have been available since Access 2000 and are native to the Jet 4 Database Engine. If you're accustomed to using stored procedures in SQL Server, then you'll be right at home with how they're used in Access. However there are some limitations to keep in mind. I'll discuss those later on.
This article will be broken down into two parts. Part one will describe in detail how to create stored procedures in Access using ADO.NET and Visual Basic.NET. Part two will demonstrate how to utilize the stored procedures created in part one by assembling a data access tier that can be model......
精通GDI+ 图表(vb.net)(2006-11-11 11:18:00)
摘要:Introduction
There are some quite advanced features that can be incorporated into a dynamic chart, sometimes depending on where the data is coming from. In this article, we are going to be begin with a fairly simple demo. Then we will move on to one that is slightly more sophisticated and finally we will look at further enhancements that could be incorporated into this kind of graph.
So, let me set the scene. What do we want to do here? Well, the first dynamic line chart I plan to create is one that takes some simple user input and displays the values as they are chosen on the chart. As each new value is selected, the chart will be extended and redrawn to show the continuous changes that have been made. When the screen width is "full", the earliest values are lost from view as the graphic display continues to scroll from right to left.
One quick and easy demo is to create pu......
VB2005的程序设置(2006-11-11 11:08:00)
摘要:
Application Settings in VB 2005
by Ged Mead | Published 10/24/2006 | .NET Newbie , Visual Basic 2005 , Win Forms | Rating:
Introduction
Introduction
Application and User Settings have been given a facelift in VB2005. One of the questions that has appeared in VBCity Forums many times over the past few years is the one where someone wants to know how to save user choices, UI settings or other small items of data that have been input by users. Traditionally, going back to Classic VB days this has been done by using the SaveSettings and GetSettings functions which access the Registry to write and read back the data.
This approach still works and can be used in all versions of VB.NET, including 2005. While it's not difficult to use, I've never thought of it as particularly intuitive either. So it's good to see that in Visual Studio 2005 there is a very easy to use visua......