I think I know what you need.
This is your situation:
1. Border-less Windows Form
2. Minimize Button
To minimize you simply add the following code on the button's click event.
this.WindowState = FormWindowState.Minimized;
But, this will not give you the "
Genie Effect" when the form is been minimized.
To gain that effect, in WPF, check the
this link.
For WinForms, I couldn't find a solution yet.