打印本文 打印本文 关闭窗口 关闭窗口
在VB.NET中实现文件的拖放
作者:武汉SEO闵涛  文章来源:敏韬网  点击数1811  更新时间:2009/4/23 19:00:57  文章录入:mintao  责任编辑:mintao
   fs.Close()

            sr.Close()

 

        End If

        Return False

End Function

Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)

        If disposing Then

            If Not (components Is Nothing) Then

                components.Dispose()

            End If

        End If

        Application.RemoveMessageFilter(Me)

        DragAcceptFiles(TextBox1.Handle.ToInt32, False)

        MyBase.Dispose(disposing)

 

   End Sub

注意:拖放结束后,调用DragFinish释放内存。

上一页  [1] [2] 

打印本文 打印本文 关闭窗口 关闭窗口