示例#1
0
 protected void DotNetCustomCalDotNetack_CustomCalDotNetack(object sender, Controls.CustomCalDotNetack.DotNetCustomCalDotNetack.CustomCalDotNetackEventArgs e)
 {
     string values = e.Parameters;
     _presenter = new UserRolePresenter(this);
     bool result = Save(values);
     DotNetCustomCalDotNetack.CalDotNetackResult.Result = result.ToString();
     DotNetCustomCalDotNetack.CalDotNetackResult.IsRefresh = true;
 }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         _presenter = new UserRolePresenter(this);
         _userid = Request["fguid"];
         string user = Request["value"];
         if (!string.IsNullOrEmpty(user))
         {
             userinfo.InnerText = user;
         }
         _presenter.Init();
     }
 }