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); }
private void GetBalance() { //get balance textdll.Textdll tdSms = new textdll.Textdll(); string sReturn = tdSms.GetBalance(); txtSmsBalance.Text = sReturn; }