if (result == "Video" | result == "Audio") { System.Threading.ThreadStart thread1 = delegate { new Media(listCont, ref c, SID); }; new System.Threading.Thread(thread1).Start(); //Thread thread = new Thread(() => new Media(listCont, ref c)); //thread.Start(); } else if (result == "Image") { System.Threading.ThreadStart thread2 = delegate { new Images(listCont, ref c, SID); }; new System.Threading.Thread(thread2).Start(); //Thread thread = new Thread(() => new Images(listCont, ref c)); //thread.Start(); } else if (result == "Ticker") { System.Threading.ThreadStart thread3 = delegate { new Ticker(listCont, ref c, SID); }; new System.Threading.Thread(thread3).Start(); //Thread thread = new Thread(() => new Ticker(listCont, ref c)); //thread.Start(); } else { System.Threading.ThreadStart thread4 = delegate { new List(listCont, ref c, SID); }; new System.Threading.Thread(thread4).Start(); //Thread thread = new Thread(() => new List(listCont, ref c)); //thread.Start(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)