Dead Girl Dead Girl - 1 year ago 109
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.

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download