jeudi 13 décembre 2018

Windows Form Doesn't Show C# Timer

Code:

while ( int_Timer > 0 )
{
     int int_Ticks = 0;

     if ( int_Ticks < 100)
     {
         int_Ticks++;
     }

     if (int_Ticks == 100)
     {
         int_Timer--;
         lbl_Timer.Text = int_Timer.ToString();
     }
}

So I basically tried to make a timer however, since I implemented this code the form doesn't appear in the taskbar. In fact the only indication is the Visual Studio Debug running.

Any help would be greatly appreciated.

Thanks in advance,

Jonathan

Aucun commentaire:

Enregistrer un commentaire