本文介绍了动画旋转器不转动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从 []
由Martin Gagne创作,然后将代码加载到我的项目中。但是,动画微调器不会转动。换句话说,当
此 .loadingCircle = new MRG.Controls.UI.LoadingCircle();
loadingCircle.Active = true ;调用
,不会触发LoadingCircle.cs中的
protected override void OnPaint()
(此方法仅在表单时触发已加载)。
我希望有人可以帮助解决这个问题。谢谢。
我的尝试:
动画微调器不转动?
解决方案
I downloaded the code from How to write a loading circle animation in .NET?[^]
that is authored by Martin Gagne, and then loaded the code into my project. However, the Animated spinner does not Turning. In another word, when
this.loadingCircle = new MRG.Controls.UI.LoadingCircle(); loadingCircle.Active = true;
is called, the
protected override void OnPaint()
in LoadingCircle.cs is not fired (this method is fired only when the form is loaded).
I wish someone can help on this issue. Thanks.
What I have tried:
Animated spinner Not Turning?
解决方案
这篇关于动画旋转器不转动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!