title: How can I detect the click event of the close (X) button in TextBox_Leave Event fired before this?
body: <p>How can I detect the click event of the close (X) button at the top right corner of the control box of a form/window in TextBox_Leave Event fired before this?
  I don't want to know about CloseReason, FormClosing, FormClosed or stuffs like these, unless they are inevitable.</p>
  
  <p>I exactly want to detect if the user clicked the X button of the form. My Case Clearly is that i have textBox and Button. In TextBox_Leave there is a new Screen opened but when textBox is focused then Press (X) Button the Leave event Fire firstly but i need to konw if the user Press (X) Button Or Not to Show new Screen From Leave Event Or Close Current Screen.</p>
  
  <p>I Can not use the mentioned events because it will fire after TextBox_Leave But i wanna know if the (X) Button Pressed Before Execute TextBox_Leave Code.</p>