Exemple #1
0
        private void drawingPanel_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
        {
            e.Graphics.Clear(SystemColors.Window);
            IGraphicsContext gc = new Implementation.DefaultGraphicsContext(e.Graphics);

            Draw(gc);
        }
 private void drawingPanel_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
 {
     e.Graphics.Clear (SystemColors.Window);
     e.Graphics.ScaleTransform (_ZoomAmount, _ZoomAmount);
     IGraphicsContext gc = new Implementation.DefaultGraphicsContext (e.Graphics);
     Draw (gc);
 }