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

Steven Young 261 Reputation points
2022-12-30T08:34:23.36+00:00

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

Dim o as new Form2
o.show

'Do lots of work

o. close

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

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