title: ListBox SelectedItem edit from another form
body: <p>I tried below code. First I select a listbox item and then I click the edit button for text name change.</p>
  
  <p>Form1</p>
  
  <pre><code>public partial class Form1 : Form
  {
      public Form1()
      {
          InitializeComponent();
      }
  
      private void btnOpenForm2_Click(object sender, EventArgs e)
      {
          Form2 f2 = new Form2(this);
          f2.ShowDialog();
      }
  
      public string ListBoxValue
      {
          get { return listBox1.SelectedItem.ToString(); }
      }
  }
  </code></pre>
  
  <p>Form2</p>
  
  <pre><code>public partial class Form2 : Form
  {
      Form1 f1;
  
      public Form2(Form1 f1)
      {
          this.f1 = f1;
          InitializeComponent();
      }
  
      private void Form2_Load(object sender, EventArgs e)
      {
          textBox1.Text = this.f1.ListBoxValue;
      }
  }
  </code></pre>
  
  <p>Above code works well but after I open <code>form2</code> for editng the text, it's not updated the same text in listbox selected item. It's added as a new item in listbox.</p>