static void supertest() { var xLayer = new XLayer(); xLayer.Init("xLayer"); xLayer.Prepare(); xLayer.RenderWindow(); }
static void Main() { var xLayer = new XLayer(); xLayer.Init("xLayer"); xLayer.Prepare(); xLayer.RenderWindow(); /* var t1 = new Thread(supertest); * var t2 = new Thread(supertest); * * t1.Start(); * t2.Start(); * * t1.Join(); * t2.Join();*/ }