Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have create one project in C# Windows Application it run in Windows 7 operation System successfully but when install client machine if their is XP Operating system then Some Part Of Project Windows Not Display or Out Side Of The Screen

I Want Automatic Adjust Project Windows as Per Screen Resolution setting OR Any Other Suggestion
Posted
Updated 17-Sep-14 23:14pm
v2

1 solution

you can do one of the following
1- start the form maximized
C#
Set the System.Windows.Forms.Form.WindowState property to FormWindowState.Maximized

2- or set it from code

C#
this.Location = new Point(0, 0);

this.Size = Screen.PrimaryScreen.WorkingArea.Size; 
 
Share this answer
 
Comments
Hemant L Patil 23-Sep-14 7:53am    
I Have Already
Set the System.Windows.Forms.Form.WindowState property to FormWindowState.Maximized

The Main Problem is Controls From Form Out Side of the Windos screen

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