ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  VB.NET OOP Part 3: The Singleton Pattern
Subject:   using singleton inside assembly
Date:   2004-08-17 21:58:47
From:   mikkel@mtk.dk
Response to: using singleton inside assembly

When you have included the SingletonForm class in an assembly, you should just reference the assembly from within Visual Studio. Then you can write the code as following:

MyAssembly.SingletonForm MyForm = MyAssembly.SingletonForm.GetInstance();