示例#1
0
 private void btnSendSMS_Click(object sender, EventArgs e)
 {
     try
     {
         Cursor.Current = Cursors.WaitCursor;
         SMSSender objsender = new SMSSender();
         //objsender.IPOConfirmationSMS();
         objsender.SendPushPullSMS();
         objsender.DayendTradeConfirmationSMS();
         objsender.SendTradeConfirmationSMS();
         objsender.DayendTradeConfirmationSMS();
         Cursor.Current = Cursors.Default;
     }
     catch (Exception ex)
     {
         LogFile(ex.Message, e.ToString(), ((Control)sender).Name, this.FindForm().Name);
     }
 }