Search This Blog

Wednesday, January 23, 2013

Full screen application (C#)

TopMost
Gets or sets a value indicating whether the form should be displayed as a topmost form.






private void Form1_Load(object sender, EventArgs e)
{
  this.MaximizeBox = false;
  this.MinimizeBox = false;
  this.TopMost = true;
  this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
  this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
}