Search code examples
c#window

c# Float a button on top of a pictureBox


As the title says, I have a pictureBox and a button (Windows Form Application) and I need that button to appear on top of the pictureBox as right now the pictureBox hides the button when I put them together.

Thank you in advance !


Solution

  • There is Bring to front operation in context menu in winforms' designer

    Bring to front button1.BringToFront();