示例#1
0
 public static MotivocitaFrm GetInstance()
 {
     // Lock entire body of method
     lock (SyncLock)
     {
         if (_uniqueInstance == null || _uniqueInstance.IsDisposed)
         {
             _uniqueInstance = new MotivocitaFrm();
         }
         _uniqueInstance.BringToFront();
         return(_uniqueInstance);
     }
 }