Beispiel #1
0
        private void timerForNotify_Tick(object sender, EventArgs e)
        {
            try
            {
                timerForNotify.Stop();
                int height_point = 0;

                TransferNotiForms.AddForm(this.notiObj);
            }
            catch (Exception ex)
            {
                Logger.error(ex.ToString());
            }
        }
Beispiel #2
0
        /// <summary>
        /// 수화기들었을때 팝업닫고, CRM팝업
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void PopUpOnCallAnswerReceived(object sender, CustomEventArgs e)
        {
            string[] msg      = (string[])e.GetItem;
            string   ani      = msg[0];
            string   calltype = msg[1];

            Logger.info("Answer : ani[" + ani + "]calltype[" + calltype + "]nopop[" + ConfigHelper.NoPop + "]nopop_outbound[" + ConfigHelper.NoPopOutBound + "]");
            if (popform != null)
            {
                if (ConfigHelper.NoPop)
                {
                    string name = popform.Tag.ToString();
                    TransferNotiForms.AddForm(ani, name);
                }
                popform.Close();
            }
            if (!ConfigHelper.NoPop)
            {
                CrmHelper.ShowCustomerPopup(ani, calltype);
            }
        }