Exemple #1
0
 protected override void OnInit(EventArgs e)
 {
     LogUtil.Logger.Writeln(String.Format(".  -<font color = 'cyan'><u> Comment OnInit:  RecID {0}</u></font>",SystemObjectRecordID));
     _presenter = new CommentsPresenter();
     _presenter.Init(this, IsPostBack);
 }
Exemple #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     LogUtil.Logger.Writeln(String.Format(".  -<font color = 'cyan'><u> Comment OnInit:  RecID {0}</u></font>",idst));
     _presenter = new CommentsPresenter();
        // _presenter.Init(this, IsPostBack);
        // _presenter.LoadComments();
     _com = new CommentRepository();
     _ac = new AccountRepository();
     tb_comment.Text = "";
     Image1.ImageUrl ="~/Image/ProfileAvatar.aspx?AccountID=" + _usersession.CurrentUser.AccountID;
     Label1.Text ="Bình luận cho "+ _ac.GetAccountByID(idac).UserName.ToUpper()+" ";
 }