Exemplo n.º 1
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            var form = new ArticleForm();

            form.Show(this);

            textBox_loger.Text += e.RowIndex;
            var row = dataGridView1.Rows[e.RowIndex];

            foreach (DataGridViewCell item in row.Cells)
            {
                textBox_loger.Text += item.Value;
            }
        }
Exemplo n.º 2
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            var form = new ArticleForm();
            form.Show(this);

            textBox_loger.Text += e.RowIndex;
            var row= dataGridView1.Rows[e.RowIndex];

            foreach (DataGridViewCell item in row.Cells)
            {
                textBox_loger.Text += item.Value;
            }
        }