Under the View menu, select Properties.
When the Properties window appears, set the "Close Button" property to No.
Now when you view your form, the Close button should be disabled as follows: