Home Page
Articoli
Tips & Tricks
News
Forum
Archivio Forum
Blogs
Sondaggi
Rss
Video
Utenti
Chi Siamo
Contattaci
Username:
Password:
Login
Registrati ora!
Recupera Password
Home Page
Stanze Forum
App. WinForms / WPF .NET
Thread...aiutooooo
martedì 04 gennaio 2005 - 12.15
Elenco Threads
Stanze Forum
Aggiungi ai Preferiti
Cerca nel forum
ysdemarc
Profilo
| Expert
587
messaggi | Data Invio:
mar 4 gen 2005 - 12:15
Scusate ma non riesco a utilizzare i threads.
con le seguenti istruzioni
System.Threading.Thread thread = new System.Threading.Thread(myRoutine);
thread.Start();
posso lanciare un processo asincrono di tipo:
public void myRoutine()
{
// istuzioni
}
ma se la routine è con argomenti tipo
public void myRoutine(string dato1, int dato2)
{
// istuzioni
}
come faccio?
grazie in anticipo....
Andy
Profilo
| Senior Member
487
messaggi | Data Invio:
mar 4 gen 2005 - 13:00
Ciao..io dichiaro Dato1 e dato2 global, quindi non sono costretto a passarglieli come parametri...
Torna su
Stanze Forum
Elenco Threads
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?
Dopo esserti registrato potrai chiedere
aiuto sul nostro
Forum
oppure aiutare gli altri
Consulta le
Stanze
disponibili.
Registrati ora !