c# threads and properties second part
I have this code:

public partial class FrmPrincipal : Form
{
    private string token;

    public FrmPrincipal()
    {
        InitializeComponent();
        ...
    }

    private void menuItem1_Click(object sender, EventArgs e)
    {
        Thread t = new Thread(RequestImage);
        t.Start();
    }

    private void RequestImage()
    {
        try
        {
            ...

            // I want to update this.token
            this.token = "...";

            ...
        }
        catch (Exception ex)
        {
            ...
        }
    }

How can I update token?

Thanks!

c# threads and properties second part
===

I have this code:

public partial class FrmPrincipal : Form
{
    private string token;

    public FrmPrincipal()
    {
        InitializeComponent();
        ...
    }

    private void menuItem1_Click(object sender, EventArgs e)
    {
        Thread t = new Thread(RequestImage);
        t.Start();
    }

    private void RequestImage()
    {
        try
        {
            ...

            // I want to update this.token
            this.token = "...";

            ...
        }
        catch (Exception ex)
        {
            ...
        }
    }

How can I update token?

Thanks!
