예제 #1
0
 /// <summary>
 /// Gets the instance.
 /// </summary>
 /// <returns>BCApplication.</returns>
 public static BCApplication getInstance()
 {
     if (bcApp == null)
     {
         lock (_lock)
         {
             if (bcApp == null)
             {
                 bcApp = new BCApplication();
             }
         }
     }
     return(bcApp);
 }
예제 #2
0
 public void SetApp(App.BCApplication app)
 {
     BCApp = app;
 }