Place a gif animation in the initialized window to ensure that the animation UI can play smoothly

Steven Young 256 Reputation points

I put a gif on Form2, then write the code in Form1

Dim o as new Form2

'Do lots of work

o. close

How to ensure that the animation UI thread can play smoothly? thank you.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,022 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,328 questions
{count} votes