private static void stopStock() { if (Stockades.engine != null) { Stockades.engine.StopEngine(); Stockades.Dispose(); } }
private static void startStock() { if (Stockades.engine == null) { bool success = Stockades.Init(); if (success == true) { Stockades.engine.StartEngine(Stockades.name); } } }