Example #1
0
 void OnAction(ActionEventArgs args)
 {
     if (Action != null)
         Action(this, args);
 }
Example #2
0
 /// <summary>
 /// Events raised from the user specific user controls to the parent
 /// </summary>
 /// <param name="sender">The object sending the event</param>
 /// <param name="args">Arguments sent from the parent</param>
 void EditUserAction(object sender, ActionEventArgs args)
 {
     switch (args.Trigger)
     {
         case ActionTriggers.Save:
             if (UserId != Guid.Empty)
             {
                 var user = UserManager.GetUser(UserId);
                 litUserTitleName.Text = UserManager.GetUserDisplayName(user.UserName);
             }
             break;
     }
 }