Exemple #1
0
        void GEInvalidate()
        {
            while (GraphicsDrawing.Running)
            {
                //Refreshes graphics
                Canvas.Invalidate();
                TopMenu.Invalidate();

                //Reduces lag exponetially by synchronising events
                Application.DoEvents();
                Thread.Sleep(1);
            }
        }