I need to disable just the close button (minimize and maximize should be allowed) temporarily.
Every solution I\'ve tried disables all the buttons
The Close Button Is Disabled On Below Conditon : If We Add : MessageBoxButtons.YesNo
DialogResult Dr = MessageBox.Show(this, "", "", MessageBoxButtons.YesNo, MessageBoxIcon.Information);