full screen windows form c#


  1. <span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.FormBorderStyle = FormBorderStyle.None;
  2. <span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.Left = (Screen.PrimaryScreen.Bounds.Width/2 - <span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.Width/2);
  3. <span class="code-keyword" style="border: 0px; margin: 0px; padding: 0px;"> </span><span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.Top = (Screen.PrimaryScreen.Bounds.Height/2 - <span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.Height/2);
 <span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.FormBorderStyle = FormBorderStyle.None;
 <span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.Left = (Screen.PrimaryScreen.Bounds.Width/2 - <span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.Width/2);
<span class="code-keyword" style="border: 0px; margin: 0px; padding: 0px;"> </span><span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.Top = (Screen.PrimaryScreen.Bounds.Height/2 - <span class="code-keyword" style="border: 0px; color: blue; margin: 0px; padding: 0px;">this</span>.Height/2);

Popular posts from this blog

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

C# Crop white space from around the image

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