1

I'm using MetroFramework to write a C# Metro WinForm project, and I'm having issues getting a loading icon (class metroProgressSpinner) to display when creating a new form.

The following screenshot is a code snippet:

enter image description here

The following gif shows the current result:

enter image description here

When I remove create Form code

_editor = new Editor(this);

_editor.Show();

The icon works well

Community
  • 1
  • 1
Sait
  • 47
  • 7
  • 2
    Presumably the spinner gets updated on a timer whose tick event isn't being fired because the GUI thread is tied up opening the second form. – adv12 Jan 12 '16 at 15:35
  • 3
    I liked how you used a gif to explain. – Mihai-Daniel Virna Jan 12 '16 at 15:35
  • @stuartd no, the wait cursor work perfect, but my recorder software not capture it stability – Sait Jan 12 '16 at 15:39
  • @adv12 i use the spinner from MetroFramework [link](https://github.com/dennismagno/metroframework-modern-ui) – Sait Jan 12 '16 at 15:42
  • @adv12 you are right, that spinner update on a timerTick. Can I keep it's event when loading another form? – Sait Jan 12 '16 at 18:07

0 Answers0