void startStuff() { Eclipse eclipse = new Eclipse(); string eclim_running = eclipse.ProjectListString(); if (eclim_running.Contains("Connection refused")) { (new Thread(startEclimd)).Start(); while (eclim_running.Contains("Connection refused")) { eclim_running = eclipse.ProjectListString(); Thread.Sleep(10); } } unloader.Loaded(); }
void load() { Thread.Sleep(5000); unloader.Loaded(); }