//设置鼠标在控件上面时,改变光标形状
private void pictureBox_macroLogo_MouseHover(object sender, System.EventArgs e)
{
  this.Cursor = Cursors.Hand;
}

private void pictureBox_macroLogo_MouseLeave(object sender, System.EventArgs e)
{
  this.Cursor = Cursors.Default;
}

版权声明:本文为fx427103原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/fx427103/p/4154770.html