8O Je pense que tu n'appelais jamais la fonction UpdatePictureBox..
Code:
1
2
3 Private Sub ButtonP_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonP.Click UpdatePictureBox(TextBoxbranche1.Text, TextBoxbranche2.Text, TextBoxbranche3.Text) End Sub
Font fait référence à la police de ton formulaire. Vérifie dans le designer.Code:
1
2
3
4
5 Private Sub ButtonP_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonP.Click If TextBoxbranche1.Text <> "" AndAlso TextBoxbranche2.Text <> "" AndAlso TextBoxbranche3.Text <> "" Then UpdatePictureBox(TextBoxbranche1.Text, TextBoxbranche2.Text, TextBoxbranche3.Text) End If End Sub
Bref, apparemment tu as trouvé ton bonheur.
Bonne chance pour la suite.