button按钮控件的onmouseover与onmouseout事件的概述事例


   刚开始学习就遇到这样的问题确实挺烦人的

  //button按钮控件的onmouseover与onmouseout事件的概述
this.btn_login.Attributes.Add("onmouseover", "this.style.borderColor='white';this.style.color='white';this.style.backgroundColor='#6b8e23';this.style.borderStyle='dashed';this.style.width='48px';this.style.height='24px'");
this.btn_login.Attributes.Add("onmouseout","this.style.borderColor='#6B8E23';this.style.color='#6B8E23';this.style.backgroundColor='white';this.style.borderStyle='dashed';this.style.width='48px';this.style.height='24px'");
this.btn_false.Attributes.Add("onmouseover", "this.style.borderColor='white';this.style.color='white';this.style.backgroundColor='#6b8e23';this.style.borderStyle='dashed';this.style.width='48px';this.style.height='24px'");
this.btn_false.Attributes.Add("onmouseout", "this.style.borderColor='#6B8E23';this.style.color='#6B8E23';this.style.backgroundColor='white';this.style.borderStyle='dashed';this.style.width='48px';this.style.height='24px'");
           


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM