S J

S J

  • NA
  • 171
  • 25.1k

How to do a form as fullscreen in c# windows application

Dec 2 2020 1:08 AM
hi
 
when i run my form should bein maximize mode, with taskbar everything is noormal. when i start to run my form should be in  fullscreen. how to do i wrote something like
 
private void Form1_Load(object sender, EventArgs e)
{
this.TopMost = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
}
 
but its not working fine. i am getting problems
iam not unable to see any close mark,min,max symbols 
mysystem is going to hang.not working any keys anyhing not working.
how to solve this anybody help me 
 

Answers (10)