Click here to Skip to main content
15,672,517 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey need advice here!!

I need to be able to change from different 1 resolution to another but only my windows form application I am using visual studio and I have a menustrip control so Is there a way to do this I know how to change the resolution of my desktop in c# but not my windows form application so yeah any code advice here thanks.... greatly appreciated

What I have tried:

I have tried other methods but only end up with nothing
Updated 15-Mar-18 0:08am

Share this answer
I figured it out All you have to do is this for a menustrip

private void toolStripMenuItem2_Click(object sender, EventArgs e)
            this.Size = new System.Drawing.Size(1024, 768);

this will change the size of the windows form application to this resolution either way great way to do this...
Share this answer

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