예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="libXtName"></param>
 public static void Register(string libXtName)
 {
     if (null != Instance) {
         return;
     }
     Instance = new XtSports(libXtName);
 }
예제 #2
0
 public static void Unregister()
 {
     if (null == Instance) {
         return;
     }
     System.Diagnostics.Debug.WriteLine("Xt: unregister");
     Instance.Dispose();
     Instance = null;
 }