예제 #1
0
    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();
    }
예제 #2
0
 void load()
 {
     Thread.Sleep(5000);
     unloader.Loaded();
 }