private void btnSave_Click(object sender, EventArgs e)
 {
     if (PEMRBusinessLogic.ActivePEMRObject != null)
     {
         if (PEMRBusinessLogic.ActivePEMRObject.List_VisitTiming_MainAnteriorSegmentSign == null ||
             PEMRBusinessLogic.ActivePEMRObject.List_VisitTiming_MainAnteriorSegmentSign.Count == 0)
         {
             _mainEOMSign = PEMRBusinessLogic.CreateNew_VisitTiming_MainEOMSign(FurtherDetails_OD, FurtherDetails_OD,
                                                                                ApplicationStaticConfiguration.PEMRSavingMode);
             if (_mainEOMSign == null)
             {
                 return;
             }
             if (PEMRBusinessLogic.ActivePEMRObject.List_VisitTiming_MainEOMSign == null)
             {
                 PEMRBusinessLogic.ActivePEMRObject.List_VisitTiming_MainEOMSign = new List <VisitTiming_MainEOMSign>();
             }
             PEMRBusinessLogic.ActivePEMRObject.List_VisitTiming_MainEOMSign.Add(_mainEOMSign);
             XtraMessageBox.Show("Saved Successfully", "Saved", MessageBoxButtons.OK,
                                 MessageBoxIcon.Information);
         }
         else
         {
             if (_mainEOMSign == null)
             {
                 return;
             }
             if (PEMRBusinessLogic.Update_VisitTiming_MainEOMSign(this, _mainEOMSign))
             {
                 XtraMessageBox.Show("Saved Successfully", "Saved", MessageBoxButtons.OK,
                                     MessageBoxIcon.Information);
             }
         }
     }
 }