foufate
Messages postés10Date d'inscriptiondimanche 20 février 2011StatutMembreDernière intervention 7 juin 2011
-
5 juin 2011 à 17:01
foufate
Messages postés10Date d'inscriptiondimanche 20 février 2011StatutMembreDernière intervention 7 juin 2011
-
7 juin 2011 à 23:15
Public Class Form1
Dim thread1 As System.Threading.Thread
Bonjour
j'ai un probleme avec les thread
je veu demaré le timer par un thread
mais le timer ne demare pas
voila mon code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
thread1 = New System.Threading.Thread(AddressOf BackgroundProcess1)
thread1.Start()
End Sub
Private Sub BackgroundProcess1()
Timer1.Start()
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
PictureBox1.Visible = True
Timer1.Stop()
foufate
Messages postés10Date d'inscriptiondimanche 20 février 2011StatutMembreDernière intervention 7 juin 2011 7 juin 2011 à 23:15
-Imports System.Threading
C'EST FAIT
-J'ai pas bien saisi comment résoudre le prob car ce que je veut c'est lancer un timer dans un thread mais ca marche pas pourquoi y til de solution
Merci d'avance