Transfering data between forms
<p>I've got two forms. In the first, I have a textbox and a button, and in the other one I have a label. When you enter text in the textbox, and press button, a new form is opened, and the label has the same text as the textbox in the previous form. How do I do that with get/set?
I made a class "Globals", and in it get/set:</p>

<pre><code>class Globals
{
    public string imena = "";
    public string ime
    {
        get
        {
            return imena;
        }
        set
        {
            imena = value;
        }
    }
}
</code></pre>

<p>and in the first form</p>

<pre><code>private void btnplay_Click(object sender, EventArgs e)
{
    //this.Hide();
    Game igra = new Game();
    igra.Show();

    Globals promenljive = new Globals();
    promenljive.ime = tbpl1.Text;
}
</code></pre>

<p>and in the second one  </p>

<pre><code>private void Game_Load(object sender, EventArgs e)
{
    Globals promenljive = new Globals();
    lblime1.Text = promenljive.ime;
}
</code></pre>

<p>But it doesn't work? What did I do wrong??
Thank you</p>
