示例#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;
            }
        }
示例#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;
            }
        }