Exemplo n.º 1
0
        private void BntEndContact_Click(object sender, EventArgs e)
        {
            TWSQInfo EndInfo = new TWSQInfo();
            EndInfo.QCode=int.Parse(TxtFinalCode.Text);

            int r = WSProxy.FinalizeContact(AgentLogin, EndInfo);
            if (r >= 0)
                UserEvents.Text = "Contact Codificated Correctly";
            else
                UserEvents.Text = "Error On Codificating Contact";
        }
Exemplo n.º 2
0
 /// <remarks/>
 public void FinalizeContactAsync(int AgentLogin, TWSQInfo QInfo) {
     this.FinalizeContactAsync(AgentLogin, QInfo, null);
 }
Exemplo n.º 3
0
 /// <remarks/>
 public void FinalizeContactAsync(int AgentLogin, TWSQInfo QInfo, object userState) {
     if ((this.FinalizeContactOperationCompleted == null)) {
         this.FinalizeContactOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFinalizeContactOperationCompleted);
     }
     this.InvokeAsync("FinalizeContact", new object[] {
                 AgentLogin,
                 QInfo}, this.FinalizeContactOperationCompleted, userState);
 }
Exemplo n.º 4
0
 public int FinalizeContact(int AgentLogin, TWSQInfo QInfo) {
     object[] results = this.Invoke("FinalizeContact", new object[] {
                 AgentLogin,
                 QInfo});
     return ((int)(results[0]));
 }