Public Sub Mostrar(ByVal ofrmOpcionDos As Form)
        'Validar que el Módulono se encuentre Abierto.
        nHwnI = FindWindow(vbNullString, ofrmOpcionDos.Text)
        If Val(nHwnI.ToString) <> 0 Then
 
            MsgBox("El modulo está abierto.", MsgBoxStyle.Exclamation, "DPTienda")
            SetForegroundWindow(nHwnI)
 
            Exit Sub
        End If
        ofrmOpcionDos.Show()
    End Sub
 
    '
    <System.Runtime.InteropServices.DllImport("user32.dll")> _
        Private Shared Function FindWindow(ByVal lpClassName As String, ByVal lpWindowName As String) As System.IntPtr
    End Function
    '
    <System.Runtime.InteropServices.DllImport("user32.dll")> _
    Private Shared Function ShowWindow(ByVal hWnd As System.IntPtr, ByVal nCmdShow As Integer) As Integer
    End Function
    '
    <System.Runtime.InteropServices.DllImport("user32.dll")> _
    Public Shared Function SetForegroundWindow(ByVal hWnd As System.IntPtr) As Boolean
    End Function
    '
    Public ceroIntPtr As New IntPtr(0)
    '
    '