1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| string ChaineEntree = "this.style.backgroundColor='" + Session["CouleurClair"] + "'";
string ChaineSortie = "this.style.backgroundColor='#ffffff'";
this.TxtFamille.Attributes.Add("onfocus", ChaineEntree);
this.TxtFamille.Attributes.Add("onblur", ChaineSortie);
ChaineEntree = "#ff0000";
ChaineSortie = "#000000";
BtSortie.Attributes.Add("onmouseover", "this.style.color='" + ChaineEntree + "'");
BtSortie.Attributes.Add("onmouseout", "this.style.color='" + ChaineSortie + "'");
BtNouvelle.Attributes.Add("onmouseover", "this.style.color='" + ChaineEntree + "'");
BtNouvelle.Attributes.Add("onmouseout", "this.style.color='" + ChaineSortie + "'");
BtAbandon.Attributes.Add("onmouseover", "this.style.color='" + ChaineEntree + "'");
BtAbandon.Attributes.Add("onmouseout", "this.style.color='" + ChaineSortie + "'"); |
Partager