Thanks TipGiver.
your solution is very easy. I tried your idea in following code. Because I need behaviour of showdialog (pause processing untill form close), So using while loop until form close. Please suggest, is there simpler way?
<<<<<<<<<< CODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Public Class Form1
Inherits System.Windows.Forms.Form
Dim formClosed As Boolean
Public Sub ShowLikeDialog()
formClosed = False
Me.TopMost = True
Me.Show()
While formClosed = False
Application.DoEvents()
End While
End Sub
Private Sub Form1_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.LostFocus
formClosed = True
Me.Close()
End Sub
End Class
<<<<<<<<<< END CODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>