Esempio n. 1
0
        private void SendSms(string sNumber, string sCustomerCode)
        {
            string sDescription = "";
            textdll.Textdll tdSms = new textdll.Textdll();
            bool bSent = tdSms.SendSMS(sNumber,txtMessage.Text);
            if (bSent)
            {
                sDescription = "Message Sent";
            }
            else
            {
                sDescription = "Error in Connection";

            }

            StepProgressBarSms();
            WriteToSmsPanel(bSent, sCustomerCode, sDescription);
        }
Esempio n. 2
0
 private void GetBalance()
 {
     //get balance
         textdll.Textdll tdSms = new textdll.Textdll();
         string sReturn = tdSms.GetBalance();
         txtSmsBalance.Text = sReturn;
 }