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

how to change row background color in gridview

739


What is cache coherency? : Dot net architecture

682


server.transfer limitation ?

1975


12. Types of polymorphisem[Run and Design Exp.]

1820


6. Wcf- what is SOA

2048


What does the term "green architecture" mean? : Dot net architecture

663


Explain what does the term "green architecture" mean? : .NET Architecture

729


what is diffrent beatween localprinter and networkprinter

1547


What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile

684


I am working with asp.net 2005 and Crystal report 10. I have an image field on my dataset to show on Crystal report.And the image is shows dynamically from database in image field of CR. The image field is showing well on my Crystal report on its first page with all other data but when i click to open second page of CR,it does not show any data on that.I found that this is because of adding the image field on crystal report. Because when i remove the image field from the CR then it will run both the pages of CR. I am using the Page Load event to bind CR data with Database. And i have already check with the Init event to bind CR , but it still not shows the data on second page when i use image field on that. Please give solution for that.....

1655


What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?

735


What other than biginteger has been introduced in system.numerics namespace?

737


So what exactly is the configuration file for then?

734


readonly syntax ?

1616


State the different levels of exceptional safety?

752