I'm trying to make my own commadButton. I want the button border stays invissible untile the mouse moveover it, and the border disappear when mouse move away. I'm using a pictureBox and four lines around it to make my own button. Under the mousemove event of the pictureBox, I write code to change the line color so the line will appear and it looks like a button. The problem is when I move the mouse away from the pictureBox. the line still there. What should I do to make the line disappear and make the button stays inviable when I move the mouse away.