title: How change image in pictureBox when stay on tabpage whitout switch on tabpages
body: <p>in this code when I stay on tabpage image not changed in pictureBox but when switch tabpage image show in pictureBox I need when stay on tabpage that have picturBox, image change.</p>
  
  <pre><code>    private void picLastCap3_Paint(object sender, PaintEventArgs e)
  </code></pre>
  
  <p>{</p>
  
  <pre><code>picture.Image = picLastCap3.Image;
  picture.Update();
  tabControl2.TabPages[1].Refresh();
  tabControl2.TabPages[1].Update();
  </code></pre>
  
  <p>}</p>