Esempio n. 1
0
        private void dgvSubRisks_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            SubRiskForm subRisk = new SubRiskForm(dgvSubRisks.CurrentCell, connectionString, this, readOnly);

            try
            {
                subRisk.Show();
            }
            catch (Exception)
            {
                subRisk = null;
            }
        }
Esempio n. 2
0
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SubRiskForm subRisk = new SubRiskForm(dgvSubRisks.CurrentCell, connectionString, this, readOnly);

            try
            {
                subRisk.Show();
            }
            catch (Exception)
            {
                subRisk = null;
            }
        }