mpdph09 0 Newbie Poster

I have windows form with usercontrol to display image. I am trying to reset the autoscroll position to the top of the image if the user had scrolled down to see bottom part of the image. So at index change it should display top part of the next image that will be loaded on imagePanel(UserControl)

I have tried Container.AutoScrollPosition = new Point(0, 0);

Any suggestions or help appreciated.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.