Created
April 24, 2012 16:03
-
-
Save mdelanno/2481015 to your computer and use it in GitHub Desktop.
WindowWrapper in VB.NET
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class WindowWrapper | |
Implements System.Windows.Forms.IWin32Window | |
Private ReadOnly _hwnd As IntPtr | |
Public Sub New(handle As IntPtr) | |
_hwnd = handle | |
End Sub | |
Public ReadOnly Property Handle As System.IntPtr Implements System.Windows.Forms.IWin32Window.Handle | |
Get | |
Return _hwnd | |
End Get | |
End Property | |
End Class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment