how to minimize and maximize?

0

What kind of event do I need to be able to minimize and maximize, but by clicking in the icon of my application from the taskbar?

The only thing I have is the following code:

WindowState = FormWindowState.Minimized;

I hope you can help me, Thanks.

    
asked by SoyKrut 11.01.2018 в 01:38
source

1 answer

1

This event does not exist in Windows Forms, but you can detect a change in the size of the shape with the SizeChanged event and by purchasing the WindowState s of the form.

    
answered by 11.01.2018 в 01:49