如何使Label有Button按下的效果?
如何使Label有Button按下的效果?
[解决办法]
private void label1_MouseDown(object sender, MouseEventArgs e)
{
label1.BorderStyle = BorderStyle.Fixed3D;
}
private void label1_MouseUp(object sender, MouseEventArgs e)
{
label1.BorderStyle = BorderStyle.None;
}