public FrmCompara(Historial his)
        {
            InitializeComponent();
            //Para que la tabla ocupe dos columnas
            this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel1.GetControlFromPosition(0, 2), 2);

            //Lista de los controles zedGraph
            controles = new List<ZedGraphControl>();
            controles.Add(zedGraphControl1);
            controles.Add(zedGraphControl2);
            controles.Add(zedGraphControl3);
            controles.Add(zedGraphControl4);

            //Historial - Apunta al historial del form ppal
            h = his;
        }
        private void Form1_Load(object sender, EventArgs e)
        {
            this.zedC.IsShowPointValues = true;
            this.zedC.GraphPane.XAxis.Scale.MinGrace = 0;
            this.zedC.GraphPane.XAxis.Scale.MaxGrace = 0;

            this.zedC.GraphPane.XAxis.Title.Text = "Eje real";
            this.zedC.GraphPane.XAxis.Title.IsTitleAtCross = false;
            this.zedC.GraphPane.XAxis.Title.IsVisible = true;

            this.zedC.GraphPane.YAxis.Title.Text = "                                                      Eje imaginario";
            this.zedC.GraphPane.YAxis.Title.IsTitleAtCross = false;
            this.zedC.GraphPane.YAxis.Title.IsVisible = true;

            this.zedC.GraphPane.XAxis.IsVisible = true;
            this.zedC.GraphPane.XAxis.MajorGrid.IsVisible = true;
            this.zedC.GraphPane.XAxis.MajorGrid.IsZeroLine = false;

            this.zedC.GraphPane.YAxis.IsVisible = true;
            this.zedC.GraphPane.YAxis.MajorGrid.IsVisible = true;
            this.zedC.GraphPane.YAxis.MajorGrid.IsZeroLine = false;
            this.zedC.GraphPane.YAxis.Scale.IsSkipCrossLabel = true;

            this.zedC.GraphPane.Title.IsVisible = false;
            this.zedC.GraphPane.Chart.Border.IsVisible = false;
            this.zedC.GraphPane.Border.IsVisible = false;

            this.zedC.GraphPane.Legend.IsVisible = true;
            this.zedC.GraphPane.Legend.IsShowLegendSymbols = true;
            this.zedC.GraphPane.Legend.Border.IsVisible = false;

            polos = new PointPairList();
            ceros = new PointPairList();
            h = new Historial();

            cargarGrilla();

            //Se muestra la pantalla de introduccion
            pasoActual = 0;
            manejadorBotones();
            btnCompara.Enabled = false;
            btnGuardar.Enabled = false;

            //Provisorio
            limpiar();

            //this.ingresoDatos();
        }