Winform

mouse wheel and flowlayoutpanel

This little magical code makes it all happends. After I added this code any action with the mouse wheel will make the flow layout panel to scroll.

private void flowLayoutPanel1_MouseEnter(object sender, EventArgs e)
{
    flowLayoutPanel1.Focus();
}

Annonser