
In order to draw a perfect circle, you have to know the following trigonometry concept: the cosines of an angle in degrees give us the X and the sine gives us the Y. So, let's review some simple math notions. We use the function DrawLine of GDI+, which needs two points, the beginning and the end of the line. How to draw a spoke?įirst of all, we need coordinates for each spoke. The default rotation speed is 80, so at every 80 milliseconds, the circle will be redrawn. Higher the value is, slower will be the rotation. When you use the property RotationSpeed, you modify the timer's property named Interval. The LoadingCircle uses a timer, and it has two responsibilities: to determine the color of the next spoke, and to redraw the circle at a specified number of milliseconds. So, why don't we use this concept to show to our users that our application is working and/or loading? Let's begin by the presentation of the component I developed. Moreover, Microsoft also uses this kind of animation in the Windows Media Center, Encarta 2006, SQL Server Management Studio Express, etc. However, animations are getting more and more popular.įor example, when Firefox loads a page, a small spinning circle appears and shows you that the page is loading. It is everywhere in Windows and many other applications. Thanks to our friend "Nick" for tipping us.When it's time to wait, we are used to seeing the classic blue progress bar. You can subscribe to our Youtube channel to get more tips HERE. The following video demonstrates the issue in action and the fix mentioned in the article: If it is disabled, you will not get spinning dots during shutdown or reboot.


Tip: See the ultimate list of all Windows keyboard shortcuts with Win keys.

The Run dialog will appear on the screen. Press Win + R shortcut keys together on your keyboard.To keep the spinning dots visible, the user should not disable the option "Animate controls and elements inside windows" as described below.įix no spinning dots in Windows 10 Anniversary Update on restart and shutdown to speed up the Start menu, it causes this behavior for the shutdown user interface. If the user has disabled animations in Windows 10 Anniversary Update, e.g. The bug is related to animation settings in Windows 10. Some users noticed that when their PC restarts or shuts down, there are no spinning dots above the "Restarting" or "Shutting down" text. There is a weird bug in Windows 10 Anniversary Update. RЕCOMMENDED: Click here to fix Windоws issues and optimize system performance
