示例#1
0
        private void btnCUpdate_Click(object sender, EventArgs e)
        {
            Connector cn = new Connector();

            cn.UpdateCallAgent(int.Parse(txtCID.Text), txtCFName.Text, txtCLName.Text, txtCUserName.Text, txtCPassword.Text, int.Parse(txtCTotalHours.Text), txtCAgentEXT.Text, txtCAVG.Text, int.Parse(txtCTotalCalls.Text), int.Parse(txtCPerformance.Text));
            refresh();
            KontactKeepers.EmailConf ec = new KontactKeepers.EmailConf();
            if (txtEEmail.Text.Length > 1)
            {
                ec.SendActivityEmail(txtEEmail.Text);
            }
        }
示例#2
0
        private void btnEAdd_Click(object sender, EventArgs e)
        {
            Connector cn = new Connector();

            cn.AddEndUser(txtEFName.Text, txtELName.Text, txtEUName.Text, txtEPassword.Text, txtECell.Text, false, txtEEmail.Text, false, txtEFBID.Text, false);
            refresh();
            KontactKeepers.EmailConf ec = new KontactKeepers.EmailConf();
            if (txtEEmail.Text.Length > 1)
            {
                ec.SendActivityEmail(txtEEmail.Text);
            }
        }
示例#3
0
        private void btnAUpdate_Click(object sender, EventArgs e)
        {
            Connector cn = new Connector();

            cn.UpdateAdmin(txtAAdminID.Text, txtAFName.Text, txtALname.Text, txtAUname.Text, txtAPassword.Text);
            refresh();
            KontactKeepers.EmailConf ec = new KontactKeepers.EmailConf();
            if (txtEEmail.Text.Length > 1)
            {
                ec.SendActivityEmail(txtEEmail.Text);
            }
        }