private void dgv_historico_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { string id_recuperado = dgv_historico.CurrentRow.Cells[0].Value.ToString(); ComprobanteVisor visor_comprobante = new ComprobanteVisor(0, Int32.Parse(id_recuperado)); this.Hide(); }
private void materialRaisedButton1_Click(object sender, EventArgs e) { string id_recuperado = dgv_historico.CurrentRow.Cells[0].Value.ToString(); ComprobanteVisor visor_comprobante = new ComprobanteVisor(1, Int32.Parse(id_recuperado)); visor_comprobante.Show(); visorScreenShot screenshot = new visorScreenShot(id_recuperado); //screenshot.id_transaccion = id_recuperado; screenshot.Show(); this.Hide(); }