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); }
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); }
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); }