private void PlotPanelPaint(object sender, PaintEventArgs e)
        {
            Graphics g         = e.Graphics;
            var      borderPen = new Pen(Brushes.Black, 1);

            g.DrawRectangle(borderPen, panel1.Bounds);
            borderPen.Dispose();
            float        a  = panel1.Height / 4;
            DrawCylinder dc = new DrawCylinder(this, a, 2 * a);

            dc.DrawIsometricView(g);
        }
 private void PlotPanelPaint(object sender, PaintEventArgs e)
 {
     Graphics g = e.Graphics;
     var borderPen = new Pen(Brushes.Black,1);
     g.DrawRectangle(borderPen,panel1.Bounds);
     borderPen.Dispose();
     float a = panel1.Height / 4;
     DrawCylinder dc = new DrawCylinder(this, a, 2 * a);
     dc.DrawIsometricView(g);
 }