コード例 #1
0
ファイル: frmMain.cs プロジェクト: Kamo0205/KontactKeepers
        private void btnCAdd_Click(object sender, EventArgs e)
        {
            Connector cn = new Connector();

            cn.AddCallAgent(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);
            }
        }