accessing picture box on childform, c#
<p>hi
i have childform and parent form
I want to show picture in picturebox in childform at run time.
How can I access it from parent form.
e.g.
i can change nackground of childform from parentform</p>

<p>it works           <code>childForm.BackgroundImage = Image.FromFile(str[2]);</code>
but how can i access picturebox.
i tried like this</p>

<pre><code>    public PictureBox picturebox1
    {
        get
        {
            return picturebox1;
        }
        set
        {
            picturebox1 = value;
        }
    }
</code></pre>

<p>and then from parentform
 <code>childForm.picturebox1.Image = Image.FromFile(str[2]);</code>
but got  error.</p>

<p>An unhandled exception of type 'System.StackOverflowException' occurred in Unknown Module.
anyhint
regards,</p>
