"DaveG" <no**********@daveg.co.uk> schrieb:
I can create a Global boolean variable to be set when I create an
additional form and test the variable each time so I only have one
instance of that form.
If bFrm = False then
Form2.show
End If
Is there a way to check this without creating the global variable. I have
tried things like:
Implementing the Singleton Pattern in C#
<URL:http://www.yoda.arachsys.com/csharp/singleton.html>
Exploring the Singleton Design Pattern
<URL:http://msdn.microsoft.com/library/en-us/dnbda/html/singletondespatt.asp>
Design Pattern: Singleton in C#
<URL:http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=486>
Design Patterns: Singleton
<URL:http://www.dofactory.com/Patterns/PatternSingleton.aspx>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>