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