Dead Girl Dead Girl - 5 months ago 41
C# Question

How to use Dock-> Fill with an offset?

I have a Windows Media Player-Compononent. I want it to fill the whole form except a line at the bottom for some buttons and Text. So Dock-> Fill minus the part at the bottom but when resized, the part at the bottom should resize to left and right but stay at the bottom and the Windows Media Player-Compononent should resize with the form but keep the distance at the bottom.


Add a panel set its dock to Bottom, then add a Media(whatever) component set its dock to Fill. You're done.