title: Trouble setting combobox selectedindex from another form
body: <p>I am trying to set the selectedindex on another form (form2) based on the user selected index on the first form (form1).</p>
  
  <p>I am getting the value with this code but it returns a negative number.</p>
  
  <pre><code>public int SelectedComboIndex
  {
     get { return comboBox1.SelectedIndex; }
  }
  </code></pre>
  
  <p>And I am trying to set the comboBox Index by</p>
  
  <pre><code>comboBox1.SelectedIndex = form1.SelectedComboIndex;
  </code></pre>
  
  <p>Can anyone point me in the right direction as to how to do this?</p>
  
  <p>Edit: More code for where its calling the code on form1</p>
  
  <pre><code>Form1 form1 = null;
  public Form2(Form1 parentForm1) : this()
  {
      form1 = parentForm1;
  }
  </code></pre>