tout est dans le titre, comment comparer des types?
Version imprimable
tout est dans le titre, comment comparer des types?
:wink:Code:
1
2
3
4
5 If TypeOf (sender) Is PictureBox Then MessageBox.Show("nous avons une picture box") Else MessageBox.Show("c'est autre chose") End If