Jack,
"Jack Russell" <ja***@norubbish.tpg.com.au> schrieb:
How can I test if the form I show is still loaded?
[...]
Private Sub mnuAnalysisResults_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles mnuAnalysisResults.Click
Dim AFormReport As New frmAnalysisResults
AFormReport.Show()
End Sub
=>
\\\
Private m_ReportForm As ReportForm
..
..
..
If m_ReportForm Is Nothing OrElse m_ReportForm.IsDisposed Then
m_ReportForm = New ReportForm()
m_ReportForm.Show()
Else
m_ReportForm.Activate()
End If
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>