I menu strip in my software and when users click on about I want to open the another child window but I want to make the the parent window disabled which means only by closing or clicking kk make it available again.
My current code opens the form but does not make the parent disable
if (about == null)
{
about = new aboutForm();
about.ShowDialog(this);
}
I tried about.ShowDialog(); it's throws a error
I appreciate any answers possible code solutions
Condition is not required because
ShowDialog(this)
would show modal dialog.In aboutForm: