Hi,
I have used this before selection
Form1.ActiveForm.WindowState = FormWindowState.Minimized;
and after selection
Form1.ActiveForm.WindowState = FormWindowState.Maximized;
The problem is, the Form is minimizing properly but at the point of Maximizing it is showing an error like "Object reference is not set to an instance of an object". Hope someone can help me.
Regards,
Basha