Image image1=(Image) _image. Clone ();
If (this. PictureBox1. Image!=null)
{
Enclosing pictureBox1. Image. The Dispose ();
Enclosing pictureBox1. Image=null;
}
This. PictureBox1. Image=image1;
Call the dispose and assignment will be invalid parameter error, delete the dispose, normally won't appear error phenomenon,
What reason is this
CodePudding user response:
The measured, does not
CodePudding user response:
The actual test, there is no error
CodePudding user response: