示例#1
0
        public override bool ShowNextCustomer()
        {
            //get the next customer campaign
            CustomerCampaignBSO  bso = new CustomerCampaignBSO();
            CustomerCampaignBase cc;
            string tzList = "";

            /*
             * for(int i = 0; i<= _timeZones.GetUpperBound(1); i++)
             * {
             *      tzList = tzList + _timeZones[i].ToString() + ",";
             * }
             */

            //chop off end ","
            tzList = tzList.TrimEnd(new char[] { ',' });


            //start the call
            cc = bso.GetNextCustomer(_app.CurrentCampaign.CampaignID,
                                     _filename,
                                     _disp_id,
                                     _state,
                                     tzList,
                                     _app.User.Name,
                                     _lang_id);
            _app.Call.StartCall(cc);
            return(true);
        }
示例#2
0
        public override bool ShowNextCustomer()
        {
            //get the next customer campaign
            CustomerCampaignBSO bso = new CustomerCampaignBSO();

            //start the call
            _app.Call.StartCall((CustomerCampaign)bso.GetByID(1));
            return(true);
        }
示例#3
0
        private void searchItem_Selected(object sender, System.EventArgs e)
        {
            SearchItem           item;
            CustomerCampaignBase custCampaign;
            CustomerCampaignBSO  bso = new CustomerCampaignBSO();

            item         = (SearchItem)lvwResults.SelectedItems[0].Tag;
            custCampaign = bso.GetByID(item.CustomerCampaignID);
            _app.Call.StartCall(custCampaign);
        }