Esempio n. 1
0
        private void dgIssues_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var            databaseRecordId = dgIssues.Rows[e.RowIndex].Cells[7].Value;
            AddNewSolution nextPage         = new AddNewSolution(this, (Int32)databaseRecordId);

            nextPage.Show();
            nextPage.InitiGrid();
            this.Hide();
        }
        private void dgIssues_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            //Change AddNewSolutio to AddNewIssue with update and delete
            var            databaseRecordId = dataGridView1.Rows[e.RowIndex].Cells[8].Value;
            AddNewSolution nextPage         = new AddNewSolution(this, (Int32)databaseRecordId);

            nextPage.Show();
            nextPage.InitiGrid();
            this.Hide();
        }