void EnableCancel() { if (!btnCancel.Enabled) { SystemMenu.EnableCloseButton(this); } btnCancel.Enabled = true; }