2008年1月17日
摘要: 看到标题,大部分会说“运行时创建对象”那不是小儿科,就这样: Dim newButton As Button = New Button() newButton.Name = "Button1" 这的确是在运行时创建了一个按钮。不过若需按照用户要求创建按钮、复选框或者单选框怎么办,好像也好办: Dim newControl As Control Select Case... 阅读全文
posted @ 2008-01-17 10:22 巍巍边疆 阅读(1672) 评论(2) 推荐(0) 编辑
摘要: Here is a bit of sample code that allows you to drag and drop a cellvalue in a DataGridView (don’t forget to set the AllowDrop property of the DataGridView to true). Notice that you need to translate... 阅读全文
posted @ 2008-01-17 09:14 巍巍边疆 阅读(1072) 评论(1) 推荐(0) 编辑