C#设置鼠标在控件上面时,改变光标形状

//设置鼠标在控件上面时,改变光标形状
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;
}

posted @ 2014-12-10 10:04  fx427103  阅读(2742)  评论(0编辑  收藏  举报