how to minimize,maximize and restore my form
programmatically?



how to minimize,maximize and restore my form programmatically?..

Answer / 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

More Dot Net AllOther Interview Questions

Explain <mobile:link> element .net mobile with example? : Microsoft dot net mobile

0 Answers  


how to make and display a form without title bar?

0 Answers   Six Sigma,


What is CLR,MSIL and Jit Compiler and their roll in .net

1 Answers   PCS,


what is a tool tip

2 Answers   Six Sigma,


What is a service class?

0 Answers  


can any one urls for learning .net(which is written in simple english)

1 Answers  


What does the "EnableViewState" property do? Why would I want it on or off?

2 Answers  


what is the difference between value types and reference types?

4 Answers   Six Sigma,


11. diff b/w Dll and Exe

6 Answers   PCS,


Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.

0 Answers  


Explain the difference between inprocess vs out process session state : Dot net architecture

0 Answers  


Differences between VS 2005, 2008 and 2010 ?

0 Answers   HCL,


Categories