Solved

Code for minimize a form.

Posted on 2012-04-08
2
212 Views
Last Modified: 2012-04-08
Dear Experts,

I have a dialogform with a contextmenu appearing when the user
clicks with the right button on the title bar of the dialogform.
In the dialogform I made an item called "Minimize". Now I
am looking for the code to minimize the form.

Peter
0
Comment
Question by:peterkiers
2 Comments
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37821670
To Minimize:-
this.WindowState=FormWindowState.Minimized;

To Maximize:-
this.WindowState=FormWindowState.Maximized;
0
 
LVL 1

Author Comment

by:peterkiers
ID: 37821689
Thanks.

Peter
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question