Click here to Skip to main content
15,920,596 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
please can you provide me with the code of full screen in Window Menu Item.How to implement that using C#.
Posted

1 solution

Do you mean fill the screen (maximize without maximizing) or full screen as in over the taskbar as well?

If the first then this will do it
C#
Bounds = Screen.GetWorkingArea(this);

If the second then this
C#
FormBorderStyle = FormBorderStyle.None;
Bounds = Screen.GetBounds(this);
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900