コード例 #1
0
        protected void BtnText_Click(object sender, EventArgs e)
        {
            if(String.IsNullOrEmpty(SMSMessage.Text))
            {
                TextCallController txtCtrl = new TextCallController();

                txtCtrl.sendText(singleUser.Phone,SMSMessage.Text);
                MessageSent.Visible = true;
            }
        }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     itemCtrl = new ItemController();
     userCtrl = new UserCtrl();
     smsCtrl = new TextCallController();
     MsgPanel.Visible = false;
     if(Request.QueryString["success"] != null)
     {
         SuccessPanel.Visible = true;
     }
     else
     {
         SuccessPanel.Visible = false;
     }
 }