private void btnAdd_Click(object sender, EventArgs e)
        {
            frmASEDetailOption aseOption = new frmASEDetailOption();

            aseOption.IsAdd          = 1;
            aseOption.frmASEDetail   = this;
            aseOption.AssesExampleId = (int)MyASERow.Cells["AssExampleId"].Value;
            aseOption.ShowDialog();
        }
        private void btnEdit_Click(object sender, EventArgs e)
        {
            frmASEDetailOption aseOption = new frmASEDetailOption();

            aseOption.IsAdd        = 0;
            aseOption.frmASEDetail = this;
            if (dgvAEDetail.SelectedRows.Count == 1)
            {
                aseOption.AseDetailRow = dgvAEDetail.SelectedRows[0];
                aseOption.ShowDialog();
            }
            else
            {
                MessageBox.Show("请选择一行");
            }
        }