You must be very tired, otherwise why all the sleeping?  You don't need
any sleeps to be able to accomplish what you're doing. 
 
  Overall this is far better than what you had last time.   Here's the
idea of what you need to do:
 
 
        private void t1Elapsed(object source, ElapsedEventArgs e)

        {

             intCtr++;

             if (intCtr == Cntr - 1)

             {

                intCtr = 0;

             }

 

             this.Invalidate();  // Or, just invalidate the rect where
the picture is if you can            

        }

 

        protected override void OnPaint(PaintEventArgs e)

        {

            base.OnPaint(e);            

            try

            { 

               PaintFinalRect(enS.EnCodeString((string)a2[intCtr]),
e.Graphics);

            }

            catch (System.Exception)

            {

            }

        }

 


_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to