leonardo-m
3/19/2018 - 5:16 PM

WindowWrapper

Clase requerida para Open File dialog en SAP B1

Namespace SubsetNetworkEvaluatorsUI
    Public Class WindowWrapper : Implements System.Windows.Forms.IWin32Window
        Public Sub New(ByVal windowHandle As IntPtr)
            _hwnd = windowHandle
        End Sub

        Public ReadOnly Property Handle() As IntPtr Implements System.Windows.Forms.IWin32Window.Handle
            Get
                Return _hwnd
            End Get
        End Property

        Private _hwnd As IntPtr

    End Class
End Namespace