disable form close button

  1. D

    Disable Win Form Close button [X]

    Hi, I thought I had already posted this but could not find it. Is there some way to disable the Windows Form Close button [X], I have provided a separate button which closes the form and open's another and does all the connection closing and disposing. I am using MS Sql 2008 r2 and vb.net...