0

I am working on a winforms project using c#.

In panel1 I added this code - guna2VScrollBar1.BindingContainer = panel1;

And a scrollbar appeared from below that moves to the left and right, but I don't need it. How to remove it?

Screenshots below

enter image description here

enter image description here

I tried to change the properties of the main scrollbar, but the bottom scrollbar doesn't get removed.

Mong Zhu
  • 23,309
  • 10
  • 44
  • 76
  • You might find a solution here: [How do I disable the horizontal scrollbar in a Panel](https://stackoverflow.com/questions/5489273/how-do-i-disable-the-horizontal-scrollbar-in-a-panel) – davmos Aug 14 '23 at 09:42
  • Does this answer your question? [How do I disable the horizontal scrollbar in a Panel](https://stackoverflow.com/questions/5489273/how-do-i-disable-the-horizontal-scrollbar-in-a-panel) – Palle Due Aug 14 '23 at 12:44

0 Answers0