Exemple #1
0
 public static Bookstore initialize(/*IMainFormNavigation imfn,*/ IDatabaseFunctions idbfuns, IRecommendationsComponent irecComp)
 {
     if (_instance == null)
     {
         lock (_mutex)
         {
             if (_instance == null)
             {
                 _instance = new Bookstore(/*imfn,*/ idbfuns, irecComp);
             }
         }
     }
     return(_instance);
 }
Exemple #2
0
 public RegisterHelper(Bookstore owner)
 {
     this.owner      = owner;
     registerMessage = "";
 }