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.
private void picLastCap3_Paint(object sender, PaintEventArgs e)
{
picture.Image = picLastCap3.Image;
picture.Update();
tabControl2.TabPages[1].Refresh();
tabControl2.TabPages[1].Update();
}