private void btnAddPlanOption_Click(object sender, EventArgs e)
        {
            if (cmbPlan.Tag == null)
            {
                MessageBox.Show("Please select plan first.", "Plan require", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            PlanOptionMaster planoptionmaster = new PlanOptionMaster();

            planoptionmaster.lblclientNameVal.Text = lblclientNameVal.Text;
            planoptionmaster.lblPlanVal.Text       = cmbPlan.Text;
            planoptionmaster.lblPlanVal.Tag        = cmbPlan.Tag.ToString();
            planoptionmaster.txtOptionName.Tag     = "0";
            planoptionmaster.txtOptionName.Text    = "";
            planoptionmaster.StartPosition         = FormStartPosition.CenterParent;

            if (planoptionmaster.ShowDialog() == DialogResult.OK)
            {
                if (!cmbPlanOption.Items.Contains(planoptionmaster.txtOptionName))
                {
                    cmbPlanOption.Items.Add(planoptionmaster.txtOptionName);
                    fillOptionData();
                }
            }
        }
        private void btnEditPlanOption_Click(object sender, EventArgs e)
        {
            if (cmbPlanOption.Text == "")
            {
                MessageBox.Show("Please select valid value for plan option and try again.", "Invalid Selection", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            PlanOptionMaster planoptionmaster = new PlanOptionMaster(lblRiskProfileVal.Text);

            planoptionmaster.lblclientNameVal.Text = lblclientNameVal.Text;
            planoptionmaster.lblPlanVal.Text       = cmbPlan.Text;
            planoptionmaster.lblPlanVal.Tag        = cmbPlan.Tag.ToString();
            planoptionmaster.txtOptionName.Text    = cmbPlanOption.Text;
            planoptionmaster.txtOptionName.Tag     = cmbPlanOption.Tag;
            planoptionmaster.cmbRiskProfile.Tag    = lblRiskProfileVal.Tag;
            planoptionmaster.cmbRiskProfile.Text   = lblRiskProfileVal.Text;
            planoptionmaster.StartPosition         = FormStartPosition.CenterParent;

            if (planoptionmaster.ShowDialog() == DialogResult.OK)
            {
                if (!cmbPlanOption.Items.Contains(planoptionmaster.txtOptionName))
                {
                    cmbPlanOption.Items.Add(planoptionmaster.txtOptionName);
                }
            }
        }