full screen windows form c#


 this.FormBorderStyle = FormBorderStyle.None;
 this.Left = (Screen.PrimaryScreen.Bounds.Width/2 - this.Width/2);
 this.Top = (Screen.PrimaryScreen.Bounds.Height/2 - this.Height/2);

Comments

Popular posts from this blog

C# Crop white space from around the image

Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=xx.0.0.0, Culture=neutral, PublicKeyToken='xxx' or one of its dependencies.

The specified version string contains wildcards, which are not compatible with determinism.