Salut, voila !
private void Form1_Load(object sender, System.EventArgs e) { ToolTip toolTip1 = new ToolTip();
// le délai du toolTip1 toolTip1.AutoPopDelay = 5000; toolTip1.InitialDelay = 1000; toolTip1.ReshowDelay = 500; // Forcer le texte de ToolTip de s'afficher même si la fenêtre est active ou non toolTip1.ShowAlways = true; // association du ToolTip au bouton. toolTip1.SetToolTip(this.convertBtn, "My button1"); //toolTip1.SetToolTip(this.checkBox1, "My checkBox1"); //....etc..... }
|