Esempio n. 1
0
 public void EndClock()
 {
     m_PhoneCallEndedEvent = new PhoneCallEndEventNotifier();
     m_EndTime = DateTime.Now.TimeOfDay;
     m_TimeElapsed = m_EndTime.Subtract(m_StartTime);
     m_PhoneCallEndedEvent.CallStart = m_StartTime;
     m_PhoneCallEndedEvent.CallEnd = m_EndTime;
     //m_StartTime = new TimeSpan();
     //m_EndTime = new TimeSpan();
     tmrCallTimer.Stop();
     m_OnCallMode = false;
     btnSaveCallLog.Enabled = true;
     //btnHangUp.Enabled = false;
 }
Esempio n. 2
0
        private void PhoneCallEnd(PhoneCallEndEventNotifier e)
        {
            m_oCallLogRemarksBar.CallLogBarParams = m_oCallLogBar.CallLogBarParams;
            //m_oCallLogRemarksBar.ContactPerson = m_oCallLogBar.ContactPerson;
            m_oCallLogRemarksBar.SubCampaignId = m_oCallLogBar.SubCampaignId;
            m_oCallLogRemarksBar.AccountId = m_oCallLogBar.AccountId;
            m_oCallLogRemarksBar.StartTime = e.CallStart;
            m_oCallLogRemarksBar.EndTime = e.CallEnd;
            //m_oCallLogRemarksBar.LoadContactPerson();

            //m_oCallLogRemarksBar.CallLogBarParams = m_oCallLogBar.CallLogBarParams;
            //m_oCallLogRemarksBar.ContactPerson = m_oCallLogBar.ContactPerson;
            //m_oCallLogRemarksBar.SubCampaignId = m_oCallLogBar.SubCampaignId;
            //m_oCallLogRemarksBar.AccountId = m_oCallLogBar.AccountId;
            //m_oCallLogRemarksBar.LoadContactPerson();

            m_oCallLogBar.Visible = false;
            m_oCallViewBar.Visible = true;
            m_oCallViewBar.PhoneCallEnded();
            //m_oCallLogRemarksBar.Visible = true;
            //m_oFollowUpBar.Visible = false;
            //m_oCallViewBar.Default();
            //m_oCallViewBar.SetContactNumbers();

            //if (m_CampaignBookingModule != null)
            //    m_CampaignBookingModule.m_oCallLogBar_btnHangUp_OnClick(e.ContactId);
            tcSalesConsultant.CustomHeaderButtons[0].Caption = "";
            tcSalesConsultant.CustomHeaderButtons[0].Visible = false;
        }