2006年7月24日

Two dimension Array as Property

摘要: mark it:VB.NETPrivate _arrText(,) As IntegerPublic Property arrText() As Integer(,)Get Return _arrTextEnd GetSet(ByVal value As Integer(,)) _arrText = valueEnd SetEnd PropertyC#:public int[,] arrText{... 阅读全文

posted @ 2006-07-24 22:52 whyin 阅读(133) 评论(0) 推荐(0) 编辑

2006年7月20日

摘录两个实用的注册表键

摘要: 复制,存为*.reg,双击注入就OKwindows2000 "Tab"键自动完成功能设置.regWindows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]"CompletionChar"=dword:00000009取消.regWindows Registry Edito... 阅读全文

posted @ 2006-07-20 09:40 whyin 阅读(283) 评论(0) 推荐(0) 编辑

2006年6月1日

HashTable keys遍历两个snippets

摘要: 1.Dim hashTab As New Hashtable For Each keyString As String In hashTab.Keys Console.WriteLine(keyString) Next2.Dim arCollect As IDictionaryEnumerator = hashTab.GetEnumeratorWhile arCollect.MoveNext ... 阅读全文

posted @ 2006-06-01 23:42 whyin 阅读(335) 评论(0) 推荐(0) 编辑

WinForm Readonly DataGrid 颜色全搞定

摘要: 类ColoredColumn Inherits DataGridTextBoxColumnOverrides Paint 画颜色DataGridTableStyle AllowSorting禁止列头排序Overrides Edit Readonly(disable cells click select)rowMode和cellMode两种方式详见代码:/Files/whyin/testColor.... 阅读全文

posted @ 2006-06-01 23:38 whyin 阅读(572) 评论(0) 推荐(0) 编辑

2006年4月30日

Debug COM dll with .Net app in VS.Net

摘要: 问题:I've inherited a COM dll project that was switched from the VS6 environmentto VS.Net. I thought I could debug the COM dll code by adding a VB.Netproject to the solution, but when I set breakpoints ... 阅读全文

posted @ 2006-04-30 17:04 whyin 阅读(372) 评论(0) 推荐(0) 编辑

2006年4月27日

Controls created on one thread cannot be parented to a control on a different thread

摘要: 解决参考:http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318604http://msdn.microsoft.com/msdnmag/issues/04/05/BasicInstincts/ 阅读全文

posted @ 2006-04-27 19:34 whyin 阅读(1097) 评论(1) 推荐(0) 编辑

2006年4月23日

API32 dotNET

摘要: 几个收藏地址:http://www.webtropy.com/http://www.pinvoke.net/Microsoft Win32 to Microsoft .NET Framework API Maphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/win32map.asp 阅读全文

posted @ 2006-04-23 00:00 whyin 阅读(244) 评论(0) 推荐(0) 编辑

导航