[Mono-winforms-list] Dynamic drawing of Images on the form
Dan.Maser at inin.com
Thu Sep 13 09:47:19 EDT 2007
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)
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)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-winforms-list