Ejemplo n.º 1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            frmEditGoods form = new frmEditGoods(dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells[0].Value.ToString());

            form.ShowDialog();
        }
Ejemplo n.º 2
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            frmEditGoods form = new frmEditGoods(dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString());

            form.ShowDialog();
        }