예제 #1
0
        protected void LinkButton1_Click(object sender, EventArgs e)
        {
            Account a = _ac.GetAccountByID(_webcontext.AccountID);

            bt_invite.Text      = "Đã gửi lời mời";
            bt_invite.ForeColor = System.Drawing.Color.Maroon;
            _email.SendInvitations1(_usersession.CurrentUser, a.Email, " Mời bạn: ");
        }
예제 #2
0
        protected void btn_add_de_Click(object sender, EventArgs e)
        {
            _presenter = new ProfileDisplayPresenter();
            _presenter.Init(this);
            //moi
            _email.SendInvitations1(_usersession.CurrentUser, lblemail.Text, " Mời bạn: ");

            btn_ok.Visible     = true;
            btn_add_de.Visible = false;
        }
예제 #3
0
 protected void LinkButton1_Click(object sender, EventArgs e)
 {
     if (_usersession != null)
     {
         Account a = _ac.GetAccountByID(idac);
         bt_invite.Text      = "Đã gửi lời mời";
         bt_invite.ForeColor = System.Drawing.Color.Maroon;
         _email.SendInvitations1(_usersession.CurrentUser, a.Email, " Mời bạn: ");
     }
     else
     {
         _redirect.GoToAccountLoginPage();
     }
 }