title: Prevent form from receiving mouse clicks
body: <p>I am trying to block the user from clicking a button multiple times while data is being processed after it was started by the initial click.</p>
  
  <p>Simply disabling the button (<code>buttonBackupNow.Enabled = false;</code>) doesn't help because if the user clicks the button multiple times even when the button is disabled, the form registers the clicks and restarts data processing as soon as the previous data processing routine.</p>
  
  <p>I tried making the button invisible, still the same result. Tried disabling the form, again, the same result. So I think that the only solution is to completely ignore the clicks while data is being processed.</p>
  
  <p>So, how can I stop a form from receiving user mouse clicks?</p>
  
  <p><strong>EDIT: This issue is related to the fact that I am trying to re-enable the button after data processing is finished.</strong></p>