views:

92

answers:

2

I know P/invoke can do, but is there a managed way?

+3  A: 

You should be able to toggle the ControlBox property.

public void CreateMyBorderlessWindow()
 {
    this.FormBorderStyle = FormBorderStyle.None;
    this.MaximizeBox = false;
    this.MinimizeBox = false;
    this.StartPosition = FormStartPosition.CenterScreen;
    // Remove the control box so the form will only display client area.
    this.ControlBox = false;
 }
Galwegian
cool. never know about what this property means.
Benny
A: 

Yes... Just disable the control box on the form properties.

Umair Ahmed