Example #1
0
 public static StartUpReg GetInstance()
 {
     if (Rk == null)
     {
         lock (syncRoot)
         {
             if (Rk == null)
             {
                 Rk = new StartUpReg();
             }
         }
     }
     return(Rk);
 }
Example #2
0
 /// <summary>
 /// Constructor for StartUpReg
 /// </summary>
 /// <returns>StartUpReg for add program to STARTUP</returns>
 public static StartUpReg Create()
 {
     return(StartUpReg.GetInstance());
 }