예제 #1
0
 private void GetProperties(CampaignListEvents.GetLatestProperties e)
 {
     this.GetProperties(e.ForWorkModePurpose);
 }
예제 #2
0
        private void PrepareCampaignBooking(CampaignListEvents.PrepareCampaignBooking e)
        {
            if (m_MyFollowUpModule != null)
                m_MyFollowUpModule.CloseCompany();

            if (m_CampaignBookingModule != null)
                m_CampaignBookingModule.SetBreadCrumb(string.Empty);

            if (m_BrightSalesProperty.CommonProperty == null || m_BrightSalesProperty.CampaignBooking.Appointment == null)
                return;

            this.SetStateCallerBarGroup(true);
            m_oCallViewBar.Clear();
            m_oCallLogBar.Clear();
            m_oFollowUp.Prepare();

            this.InitializeCampaignBookingModule();
            m_CampaignBookingModule.IsLoadingCampaignBooking = true;
            m_CampaignBookingModule.ResetContactParameters();
            //m_CampaignBookingModule.PrepareStatusCombos();
            m_CampaignBookingModule.SelectedCompany = m_BrightSalesProperty.CommonProperty.CompanyName;
            m_CampaignBookingModule.SelectedContactId = m_BrightSalesProperty.CommonProperty.ContactId;
            m_CampaignBookingModule.SetBreadCrumb(m_BrightSalesProperty.CampaignBooking.BreadCrumb);
            //m_CampaignBookingModule.ParentView = ManageCampaignBooking.eParentView.CampaignList;
            m_BrightSalesProperty.CampaignBooking.ParentView = SelectionProperty.ParentView.CampaignList;
            m_BrightSalesProperty.CampaignBooking.Mode = SelectionProperty.CampaignBookingMode.Work;
            //m_CampaignBookingModule.CampaignBookingMode = ManageCampaignBooking.eCampaignBookingMode.WorkMode;

            m_CampaignBookingModule.InitializeCampaignBooking();
            m_CampaignBookingModule.LoadCampaignBookingData();
            m_CampaignBookingModule.SetDefaultTab();

            tcSalesConsultant.SelectedTabPage = tabCampaignBooking;
            m_CampaignBookingModule.IsLoadingCampaignBooking = false;
        }
예제 #3
0
 private void PrepareExtraDetail(CampaignListEvents.PrepareExtraDetail e)
 {
     if (m_CampaignExtraDetail != null) {
         m_CampaignExtraDetail.ResetContactParams();
         m_CampaignExtraDetail.SetModuleSaving(true);
     }
 }