public static ADBShell getInstance()
 {
     if (Instance == null)
     {
         Instance = new Process;
     }
 }
예제 #2
0
 public static ADBShell Instance()
 {
     if (instance == null)
     {
         lock (syncRoot)
         {
             if (instance == null)
             {
                 instance = new ADBShell();
             }
         }
     }
     return(instance);
 }
 //---------------------------------------------------------------------
 public Form1()
 {
     InitializeComponent();
     adbshell = new ADBShell();
 }