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