예제 #1
0
파일: Comments.ascx.cs 프로젝트: SPKT/MHX2
 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);
 }
예제 #2
0
파일: Comment.ascx.cs 프로젝트: ngocpq/MHX2
 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()+" ";
 }