title: C# comboBox, readall and working directory
body: <p>What I have is a comboBox being populated from a code:</p>
  
  <pre><code>InitializeComponent();
          DirectoryInfo dinfo = new DirectoryInfo(@"K:\ases");
          FileInfo[] Files = dinfo.GetFiles("*.ssi", SearchOption.AllDirectories);
          foreach (FileInfo file in Files)
          {
              comboBox1.Items.Add(file.Name);
          }
  </code></pre>
  
  <p>Then i'm trying to ReadAllText from that selected item.</p>
  
  <pre><code>    string contents = File.ReadAllText(comboBox1.Text);
  </code></pre>
  
  <p>When executed, it tries to read the file from the locale path, and of course the file isnt there.  I also can't set the working directory because the comoboBox is populated from a huge range of subdirectories.  How do I get the working directory of the item selected in the combobox WITHOUT expossing the whole directory path to the user?</p>
  
  <p>Any help always welcomed</p>
  
  <p>I thought i saw a few answers with someone suggesting private and hiding things in a combox box, where those suggestions taken down.  is there a way to keep the full file info in the combobox and only display the file name?</p>