예제 #1
0
        static void Download(cJogo j)
        {
            j.Atualizar();
            frmDownload frm = new frmDownload();

            frm.Jogo = j;
            Thread t = new Thread(() => tDownload(frm));

            // t.ApartmentState = ApartmentState.STA;
            t.Start();
        }
예제 #2
0
 static void tDownload(frmDownload f)
 {
     Application.EnableVisualStyles();
     Application.Run(f); // or whatever
 }