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 FrmBode_Load(object sender, EventArgs e)
        {
            this.gpMagnitud = zgcMagnitud.GraphPane;
            this.gpFase = zgcFase.GraphPane;

            btnRetroceder.Enabled = false;
            btnAvanzar.Enabled = false;
            btnLimpiar.Enabled = false;

            establecerPropiedadesPrimarias();

            frmDiagramaBloques = new FrmDiagramaDeBloques();
            h = new Historial();

            //Invisibilizamos todo lo que está dentro de la fórmula.
            pbLineaDivisoria.Visible = false;
            pbCT1CS.Visible = false;
            pbCT1PS.Visible = false;
            pbCT2CS.Visible = false;
            pbCT2PS.Visible = false;
            pbFNACA.Visible = false;
            pbOrdenCeroOrigen.Visible = false;
            pbOrdenPoloOrigen.Visible = false;
            pbRetardoTiempo.Visible = false;
            lblN1.Visible = false;
            lblN2.Visible = false;
            lblOrdenPoloOrigen.Visible = false;
            lblT1.Visible = false;
            lblT2.Visible = false;
            lblT3.Visible = false;
            lblT4.Visible = false;
            lblTd.Visible = false;
            lblWn1.Visible = false;
            lblWn2.Visible = false;
            lblWn3.Visible = false;
            lblPsi.Visible = false;

            pbFuncionG.Visible = false;
            lblK.Visible = false;
        }