private void OnAddNewMainInvestigationClick(object sender, EventArgs e)
        {
            MainInvestigation obj = new MainInvestigation(this.mOPDInvestigationProcedure);

            MainInvestigationForm.ShowForm(obj);
            MainInvestigationCollection opdMainInvestigationList = new MainInvestigationCollection();

            this.cmbMainInvestigation.DataSource    = opdMainInvestigationList;
            this.cmbMainInvestigation.DisplayMember = "DisplayName";
        }
        protected override void OnDataShow()
        {
            base.OnDataShow();
            this.cmbMainInvestigation.Select();
            this.Text = "Investigation";


            // Main Investigation

            MainInvestigationCollection opdMainInvestigationList = new MainInvestigationCollection();

            this.cmbMainInvestigation.DataSource    = opdMainInvestigationList;
            this.cmbMainInvestigation.DisplayMember = "DisplayName";
            this.cmbMainInvestigation.SelectedItem  = null;

            //Lab Investigation

            LabInvestigationCollection opdLabInvestigationList = new LabInvestigationCollection();

            this.cmbLabInvestigation.DataSource    = opdLabInvestigationList;
            this.cmbLabInvestigation.DisplayMember = "DisplayName";
            this.cmbLabInvestigation.SelectedItem  = null;


            this.txtRadiologyInvestigation.Text = this.mOPDInvestigationProcedure.RadiologyInvestigation;
            this.txtSpecialInvestigation.Text   = this.mOPDInvestigationProcedure.SpecialInvestigation;
            if (!string.IsNullOrEmpty(this.mOPDInvestigationProcedure.OPDInvestigationProcedureDate.ToString()) && (this.mOPDInvestigationProcedure.OPDInvestigationProcedureDate != DateTime.MinValue))
            {
                this.dptInvestigationDate.Value = this.mOPDInvestigationProcedure.OPDInvestigationProcedureDate;
            }

            if (this.OPDMainInvestigations.Count > 0)
            {
                for (int i = 0; i < cmbMainInvestigation.Items.Count; i++)
                {
                    for (int j = 0; j < OPDMainInvestigations.Count; j++)
                    {
                        if (OPDMainInvestigations[j].MainInvestigationGuid == new Guid(cmbMainInvestigation.Items[i].ToString()))
                        {
                            cmbMainInvestigation.SetItemChecked(i, true);
                            break;
                        }
                    }
                }
            }

            if (this.OPDLabInvestigations.Count > 0)
            {
                for (int i = 0; i < cmbLabInvestigation.Items.Count; i++)
                {
                    for (int j = 0; j < OPDLabInvestigations.Count; j++)
                    {
                        if (OPDLabInvestigations[j].LabInvestigationGuid == new Guid(cmbLabInvestigation.Items[i].ToString()))
                        {
                            cmbLabInvestigation.SetItemChecked(i, true);
                            break;
                        }
                    }
                }
            }
            LoadInvestigationData(GetSelectedProcedure(this.dgvInvestionData));
        }