public void init() { CDigestion Digestion = new CDigestion(); Digestion.fecha = DateTime.Now; Digestion.analista = "Isaac"; Digestion.metodo = "MT"; #region digestion Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "IPC", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "---", item = 1 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "LRB", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "---", item = 2 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "LFB", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "---", item = 3 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000460", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "---", item = 4 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "DUP-AG13000460", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "---", item = 5 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "LFM-AG13000460", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "---", item = 6 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000458", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "an", item = 7 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000450", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "ap", item = 8 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000451", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "ap", item = 9 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000452", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "ar", item = 10 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "IPC", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "---", item = 11 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000453", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "an", item = 12 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000454", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "an", item = 13 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000455", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "ac", item = 14 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000457", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "an", item = 15 }); Digestion.LstDigestion_detalle.Add(new CDigestion_detalle() { alicuota = 50, codigo = "AG13000459", factor = 1, T_85C = true, volumen = 50, dilucion = 1, observaciones = "", matriz = "ap", item = 16 }); #endregion deFecha.DateTime = Digestion.fecha; tbAnalista.Text = Digestion.analista; tbMetodo.Text = Digestion.metodo; //gridControl1.DataSource = Digestion.LstDigestion_detalle; RecuperarControlValues(); RecuperarIcp(); }