|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Form Event - Minimizing/RestoringI'm no doubt missing the blindingly obvious here - but where's the event on
a Form that indicates that is has either been minimized or restored? (is there one?) Thanks everyone. === Phil Hi Phil,
There isn't one specifically for Minimize/Maximize/Restore, but you can test for FormWindowState.Maximized/Minized/Normal in the Form.WindowState property in the SizeChanged event. On Tue, 21 Dec 2004 14:20:14 +1300, Phil Jones <phil_newsgr***@hotmail.com> wrote: > I'm no doubt missing the blindingly obvious here - but where's the event > on > a Form that indicates that is has either been minimized or restored? (is > there one?) > > Thanks everyone. > === > Phil > > -- Happy Coding! Morten Wennevik [C# MVP] Or...
you can inherit from Form, add a new event and 'override' or 'new' the WindowState. "Morten Wennevik" <MortenWenne***@hotmail.com> wrote in message news:opsjcm4in6klbvpo@pbn_computer...Show quoteHide quote > Hi Phil, > > There isn't one specifically for Minimize/Maximize/Restore, but you can > test for FormWindowState.Maximized/Minized/Normal in the > Form.WindowState property in the SizeChanged event. > > > On Tue, 21 Dec 2004 14:20:14 +1300, Phil Jones > <phil_newsgr***@hotmail.com> wrote: > >> I'm no doubt missing the blindingly obvious here - but where's the event >> on >> a Form that indicates that is has either been minimized or restored? (is >> there one?) >> >> Thanks everyone. >> === >> Phil >> >> > > > > -- > Happy Coding! > Morten Wennevik [C# MVP]
Other interesting topics
How to screen scrap a non-browser based object?
How to create a new app instance with Process Is .NET Remoting for me? Extracting runat server objects from aspx multiline toolbarbuttons using VS.Net 2003 with Framework 2 beta MSIL FileSystemWatcher event fired only once System.Net.Socket and Linux Server Child control in non client area ? |
|||||||||||||||||||||||