Exemple #1
0
        private void dgv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            FacturasCliente fc = new FacturasCliente();

            fc.rut     = dgv.CurrentRow.Cells[1].Value.ToString();
            fc.numerof = Convert.ToInt32(dgv.CurrentRow.Cells[2].Value.ToString());
            this.AddOwnedForm(fc);
            fc.Show();
            this.Hide();
        }
 private void dgv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     FacturasCliente fc = new FacturasCliente();
     fc.rut = dgv.CurrentRow.Cells[1].Value.ToString();
     fc.numerof =Convert.ToInt32( dgv.CurrentRow.Cells[2].Value.ToString());
     this.AddOwnedForm(fc);
     fc.Show();
     this.Hide();
 }