Esempio n. 1
0
        void DrawCanvas()
        {
            if (canvas == null)
            {
                return;
            }
            var updates = new List <Rectangle> ();

            canvas.GraphDefaults(updates);
            canvas.SetFillPattern(FillPattern, handler.Background);
            canvas.Bar(new Rectangle(canvas.WindowSize), updates);
            canvas.Control.Invalidate();
        }