Ejemplo n.º 1
0
        } // openToolStripMenuItem_Click

        void LoadFigures(string path)
        {
            figures.Load(path);

            this.Width  = figures.borderWidth;
            this.Height = figures.borderHeight;
            graphics    = panel1.CreateGraphics();

            foreach (var figure in figures.figures)
            {
                figure.Draw(graphics);
            }
        } // Load
Ejemplo n.º 2
0
        } // PaintForm_Paint

        void LoadFigures(string path)
        {
            figures.Load(path);
            this.Width  = figures.borderWidth;
            this.Height = figures.borderHeight;
        } // LoadFigures