Esempio n. 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();
        }
Esempio n. 2
0
 static void tDownload(frmDownload f)
 {
     Application.EnableVisualStyles();
     Application.Run(f); // or whatever
 }