title: visual studio open link seperate form
body: <p>Basically trying to learn a few things I havn't tried yet. I want to make a small program that has a Textbox and Button. </p>
  
  <p>Whats typed into the textbox field will be added to the end of a url applied from the button.
  <a href="http://website.com/stuff?things=" rel="nofollow noreferrer">http://website.com/stuff?things=</a> +textboxValue</p>
  
  <p>After you click the launch button, I want the url created with the entered text, to open in a second form. </p>
  
  <p>I have everything working except for the text from form1 to carry over to form2. Just wondering how I can go about this.</p>
  
  <p><strong>Form 1</strong></p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  
  namespace WindowsFormsApplication8
  {
      public partial class Form1 : Form
      {
          public Form1()
          {
              InitializeComponent();
          }
  
          private void Form1_Load(object sender, EventArgs e)
          {
  
          }
  
          private void textBox1_TextChanged(object sender, EventArgs e)
          {
  
          }
  
          private void button1_Click(object sender, EventArgs e)
          {
              Form2 form2 = new Form2();
              form2.LinkTarget = textBox1.Text;
              form2.Show();
          }
  
          private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
          {
              Form3 newFrm = new Form3();
              newFrm.Show();
          }
  
          private void Form1_Load_1(object sender, EventArgs e)
          {
  
          }
      }
  }
  </code></pre>
  
  <p><strong>Form2</strong></p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  
  namespace WindowsFormsApplication8
  {
      public partial class Form2 : Form
      {
          public Form2()
          {
              InitializeComponent();
          }
          public string LinkTarget {
              get;
              set;
          }
          private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
          {
              string myUrl = "http://website.com/stuff?things=" + LinkTarget;
          }
      }
  }
  </code></pre>
  
  <p>Example of what I am going for.
  Form one has text box and button.
  when you click the button it will open <a href="http://www.stackoverflow.com/questions/">http://www.stackoverflow.com/questions/</a> in the second form. the second form is basically a browser. 
  but, in form one if I type 41090977 before I hit the button, it will open <a href="http://www.stackoverflow.com/questions/41090977">http://www.stackoverflow.com/questions/41090977</a> </p>