title: C# OpenFileDialog Empty
body: <p>I am trying to get a messagebox if my <em>picturebox</em> is empty.</p>
  
  <pre><code>if (dial == DialogResult.Yes)
  {
      if (openfile.FileName == string.Empty)
      {
          MessageBox.Show("Please Upload Poster");
      }
      else
      {
          this.Close();
          poster = openfile.FileName;
      }
  
  }
  </code></pre>