You can download a working project that uses this code.
public void CreateMyBorderlessWindow()
{
FormBorderStyle = FormBorderStyle.None;
MaximizeBox = false;
MinimizeBox = false;
StartPosition = FormStartPosition.CenterScreen;
ControlBox = false;
}
Contributed from George Shepherd's Windows Forms FAQ