how to minimize,maximize and restore my form
programmatically?

Answer Posted / kamal

See the below C# code.

// Minimize the form window
this.WindowState = FormWindowState.Minimized;

// Restore the form window
this.WindowState = FormWindowState.Normal;

// Maximize the form window
this.WindowState = FormWindowState.Maximized

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .net viewstate?

494


Explain different pipelining hazards? : Dot net architecture

474


Explain the difference between state server and sqlserver : Dot net architecture

455


What are public and private assemblies ?

537


What is Video Streaming in .net??

554






What is .net transaction?

481


What are the types of memory management? : Dot net architecture

492


How do I prevent concurrent access to my data?

555


Define domestic architecture artifacts? : Dot net architecture

528


What is .net mobile utility controls. : Microsoft dot net mobile

497


How cache coherency is eliminated? : Dot net architecture

516


What is Com Callable wrapper?when it will created?

534


What is the purpose of cache? How is it used? : Dot net architecture

486


what is the difference between running an application with and without debugger?

1545


What is difference between .net and visual studio?

521