- 1,460
- 406
- CPU
- Intel i7 2600K @ 4.7ghz -> 5.66Ghz bench
- Dissipatore
- EK Supreme HF FullNickel
- Scheda Madre
- Gigabyte P67A-UD5-B3
- HDD
- Samsung EVO 256 GB + 1TB HDD
- RAM
- G.Skill ECO 1600 CL7 + 16 GB Corsair 1600 @ 2260mhz 7-10-7-25-2T bench
- GPU
- ASUS ENGTX570 DirectCU II (mod bios) -> EK DCII FullNickel @ 1ghz bench
- Audio
- Integrato Realtek HD
- Monitor
- Samsung s22b150 1920x1080
- PSU
- Enermax Modu 82+ 625W
- Case
- DimasTech Easy 2.5 Black Graphite + Laing 500Plus + EK XtX 360 + Nanoxia Fx2000 + Rehobus
- OS
- Linux Mint
ciao a tutti, vorrei creare un thread secondario che esegua un ciclo molto impegnantivo (estrazione di numeri primi per esempio) senza che si blocchi l'interfaccia grafica. faccio una struct Estrai() con le istruzioni per l'estrazione nella classe Form1, nel metodo del click del bottone di avvio scrivo:
Thread th = new Thread(Estrai);
th.Start();
textBox2.Text = ris;
(ris è una variabile globale string col risultato) ma quando avvio il programma al clic sul bottone non succede niente... idee?
Thread th = new Thread(Estrai);
th.Start();
textBox2.Text = ris;
(ris è una variabile globale string col risultato) ma quando avvio il programma al clic sul bottone non succede niente... idee?