title: How to open a file in C# using FileOpenDialog
body: <p>I am trying to open a file by pressing a button (a label to be more exact but it works just the same way)</p>
  
  <p>For some reason when the FileDialog opens and I select the file and press open it doesnt open the file it only closes the FileDialog</p>
  
  <pre><code>private void selectLbl_Click(object sender, EventArgs e)
  {
  
      OpenFileDialog ofd = new OpenFileDialog();
      ofd.InitialDirectory = "c:\\";
      ofd.Filter = "Script files (*.au3)|*.au3";
      ofd.RestoreDirectory = true;
      ofd.Title = ("Select Your Helping Script");
  
  
      if (ofd.ShowDialog() == DialogResult.OK)
      {
          ofd.OpenFile(); //Not sure if there is supposed to be more here
      }
  }
  </code></pre>