Question

I've got a menu strip, inside which I want to embed my company logo and align it to the right.

My project is on a Windows Form Application, sorry for not including this before.


Several google-trips have found little, this is probably my not using the proper terminology.

What is the best way to do this? I'd also like it to be flexible, so preferably no fixed-position methods.

Thank you.

Was it helpful?

Solution

Dock a TableLayoutPanel to the Top of the Form. Make it have one row and two columns. Put your MenuStrip in the left column, and a PictureBox in the right column for the Logo. Set the right column to AutoSize, the Row to AutoSize, and the TableLayoutPanel to AutoSize. Also set the SizeMode of the PictureBox to Autosize.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top