日期:2014-05-17  浏览次数:20826 次

唉,求高手,求前辈,flowlayoutpanel把我搞傻了
最近在搞一个项目,遇到了很多不会的,来论坛问问前辈,诚心求教
flowlayoutpanel、panel、等容器的滚动条问题


------解决方案--------------------
响应MouseEnter事件

C# code
private void flowLayoutPanel2_MouseEnter(object sender, EventArgs e)
{
    this.ActiveControl = flowLayoutPanel2;
}

private void flowLayoutPanel1_MouseEnter(object sender, EventArgs e)
{
    this.ActiveControl = flowLayoutPanel1;
}