title: Showing strings in ListView columns dynamically - not working
body: <p>My goal is the following: 
  <a href="http://i.stack.imgur.com/guth5.png" rel="nofollow">The user enters the stuff as shown in this picture. The 3 items (<em>source file</em>, <em>destination directory</em> and <em>if file exists</em>) are saved in a string array. User clicks OK.</a></p>
  
  <p><a href="http://i.stack.imgur.com/zSnlB.png" rel="nofollow">After clicking OK the previous window is closed and the user is taken to the main form shown in this picture. The previously mentioned <em>source file</em> and the <em>destination directory</em> are shown in the table.</a></p>
  
  <p>I am using the following code to show the entered file &amp; directory in the table:</p>
  
  <pre><code>    private void okButton_Clicked(object sender, EventArgs e) 
      {
          //saving user's input
          userInput = new string[3];
          userInput[0] = sourceFileTextBox.Text;
          userInput[1] = destinationDirComboBox.SelectedItem.ToString();
          userInput[2] = ifFileExistsComboBox.SelectedItem.ToString();
  
          //creating a new ListView object - the object is derived from the ListView Class 
         and has absolutely nothing in the constructor or anywhere
         Classes.ListViewDerivative lvd = new Classes.ListViewDerivative();
         ListViewItem item1 = new ListViewItem(userInput[0]);
         item1.SubItems.Add(userInput[1]);
         lvd.Items.AddRange(new ListViewItem[] { item1 });
         this.DialogResult = DialogResult.OK;
         this.Hide();
      }
  </code></pre>
  
  <p>It doesn't work. The table is empty no matter where I put this code - I've tried to put this adapted code in the ListViewDerivative constructor, a function in the ListViewDerivative Class and in the editFileEntry(first picture) class. The right text is saved in the array but is not shown in the table. Please help! </p>