Ejemplo n.º 1
0
        private void dataGridView1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (dataGridView1.CurrentCell.ColumnIndex != 0)
            {
                int currentRow = dataGridView1.CurrentCell.RowIndex;
                dataGridView1.CurrentCell = dataGridView1[0, currentRow];
            }


            string AcctSelection = dataGridView1.CurrentCell.Value.ToString();
            Invoices frm2 = new Invoices(AcctSelection);

            frm2.Show();

        }