📅  最后修改于: 2022-03-11 14:48:54.040000             🧑  作者: Mango
//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)
{
....
}