Example #1
0
 public void clear()
 {
     isClose = true;
     listSetType.Clear();
     labInterface = null;
     sdrView      = null;
 }
Example #2
0
 public static SetDataResuleView getInstance()  //单例模式的对象,锁加双重判断。
 {
     if (sdrView != null)
     {
         return(sdrView);
     }
     lock (objMain)
     {
         if (sdrView == null)
         {
             listSetType = new Hashtable();
             sdrView     = new SetDataResuleView();
         }
         return(sdrView);
     }
 }
Example #3
0
 public void clear()
 {
     listSetType.Clear();
     labInterface = null;
     sdrView      = null;
 }