Solved

Code for minimize a form.

Posted on 2012-04-08
2
210 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now