title: How to check if a MaskedTextBox is empty from a user input?
body: <p>I'm using a <code>MaskedTextBox</code>, with the following short date <code>Mask</code>: "00/00/0000".<br>
  My problem is that I wanna know when the control is empty:</p>
  
  <pre><code>if (string.IsNullOrEmpty(maskedTextBox1.Text))
  {
      DataTable dt = function.ViewOrders(Functions.GetEid);
      dataGridView2.DataSource = dt;
  }
  </code></pre>
  
  <p>It's not working, when <code>maskedTextBox1</code> looks empty (and I'm sure it is), the <code>if</code> statement doesn't detect that it is <code>null</code> or <code>Empty</code>.</p>