Exemple #1
0
        private void dgvFees_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int               index             = dgvFees.CurrentRow.Index;
            Guid              planAdvFeeId      = new Guid(dgvFees.Rows[index].Cells["PlanAdvisorFeeId"].Value.ToString());
            PlanAdvisorFee    planAdvFee        = new PlanAdvisorFee(planAdvFeeId);
            frmPlanAdvisorFee frmPlanAdvisorFee = new frmPlanAdvisorFee(frmMain_Parent, planAdvFee);

            frmPlanAdvisorFee.FormClosed += frmPlanAdvisorFee_FormClosed;
        }
Exemple #2
0
        private void btnNewFee_Click(object sender, EventArgs e)
        {
            frmPlanAdvisorFee frmPlanAdvisorFee = new frmPlanAdvisorFee(frmMain_Parent, CurrentPlanAdvisor);

            frmPlanAdvisorFee.FormClosed += frmPlanAdvisorFee_FormClosed;
        }