I have a form for windows. I put one boot image in a PictureBox
When I upload the form, I set
PictureBox1.Visible = false;
While I fire the button click event, I set
PictureBox1.Visible = true;
But in this case, there is some code to retrieve data from the database using the stored procedure.
When it moves to the code to retrieve data from the stored procedure, loading of the loaded image will stop.
Must not be. It should appear as loading. I used .gif to upload the image.
How can I solve this problem?
source share