Example #1
0
 public void handlePaint(object sender, _PaintEventArgs e)
 {
     for (int idx = (FObjects.Count() - 1); idx > -1; idx--)
     {
         e.Graphics.DrawImage(FObjects[idx].window, FObjects[idx].x, FObjects[idx].y);
     }
 }
Example #2
0
        public void formPaint(object sender, _PaintEventArgs e)
        {
A:
            try
            {
                foreach (FObject foo in FObjects)
                {
                    e.Graphics.DrawImage(foo.window, foo.x, foo.y);
                }
            }
            catch
            {
                goto A;
            }
        }