剛開始學習就遇到這樣的問題確實挺煩人的
//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'");