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 polymorphism and advantage ?

1514


what is sessions and cookies take one example simple way to understand

1855


How do I know when my thread pool work item has completed?

498


Explain write back and write through caches? : Dot net architecture

546


What does this do? Gacutil /l | find /i "corillian"

609






Why the config file might not be writable

563


what is inheritancy where u required ?

1508


how can we achieve language interoperability through CLS? How MSIL works?

596


Explain the process of gc?

542


What is cache coherency and how is it eliminated? : .NET Architecture

526


Why am I getting an invalidoperationexception when I serialize an arraylist?

483


Explain dotnet framework ?

521


Explain how does .net mobile work? : Microsoft dot net mobile

495


When do I need to use gc.keepalive?

642


What is ILDASM ?

659