📜  c#图片框数组如何为元素创建处理程序鼠标悬停 - C#代码示例

📅  最后修改于: 2022-03-11 14:48:54.040000             🧑  作者: Mango

代码示例1
//You need simply write

pbs[i].MouseEnter += globalMouseEnterEvent;
//of course you need to have a globalMouseEnterEvent somewhere in your code

public void globalMouseEnterEvent(object sender, System.EventArgs e)
{
    ....
}