Esempio n. 1
0
 public static new void Start(string appName)
 {
     if (appInstance == null)
     {
         appInstance = new SingleInstanceApplication();
         appInstance.Start(appName);
     }
     else
     {
         Logger.LogError("Error encountered: {0}",
                         "Only one instance of OpMediaApplication (or derived) can be started per process !!");
     }
 }
 public static new void Start(string appName)
 {
     if (appInstance == null)
     {
         appInstance = new SingleInstanceApplication();
         appInstance.Start(appName);
     }
     else
     {
         Logger.LogError("Error encountered: {0}", 
             "Only one instance of OpMediaApplication (or derived) can be started per process !!");
     }
 }