Bonjour,
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 private void Global_Validating(object sender, EventArgs e) { if (((Control)sender).Text == "123456") { /* VERIFIER SI UN TOOLTIP EXISTE ET LE SUPPRIMER POUR NE PLUS AFFICHER LA BULLE D'INFORMATION DANS LE CAS: SAISIE ERRONE PUIS CORRECT */ } else { ToolTip tip = new ToolTip(); tip.SetToolTip((Control)sender, "information..."; e.Cancel = true; } }
Serait il possible de retrouver le tip créée dynamiquement après une sortie de la fonction?
(en refaisant un Validating, pouvoir retrouver les informations rattachées à cette ToolTip)
je vous remercie d'avance
Partager