title: How do I set the caption of one form when another form closes (C#)
body: <p>I'm working on an application and I've encountered a strange issue, that I think should be simple, but isn't. What I'm trying to accomplish is set the main form's title caption to a specific value when the another form closes. Below is my most recent attempt at this.</p>
  
  <pre><code>// From the main form I have
  ObjectForm Objects = new ObjectForm();
  Objects.GameName = this.Text; // this is a public string on the ObjectForm side
  
  // Here is what I have on the ObjectForm
  private void btnOK_click(object sender, EventArgs e)
  {
      MainForm Main = new MainForm();
      Main.Text = this.txtGameName.Text;
      this.Close();
  }
  </code></pre>
  
  <p>Any help will be gladly accepted, thanks :D</p>