public void Start(string filePath) { try { init.init(filePath); Thread.Sleep(1000); // WAIT FOR FILES TO LOAD Thread t2 = new Thread(MainOP); t2.Start(); } catch (Exception e) { Console.WriteLine(e); } finally { Console.Clear(); // Clear the screen } int x = ampDB.GetAllDB().Count(); Greetings(x);// Greetings //RUN MAIN OPERATION ON ITS OWN THREAD }
public AmplifiArrayChecker() { dataSource = manager.GetAllDB(); }
public AmplifiDAO(string path) { ampDataBase = AmplifiDB.getInstance(); dataSource = ampDataBase.GetAllDB(); }