void RoleList1_RolesDeleted(object sender, ItemActionsEventArgs e) { // If one of the deleted users is now open in edit form then we need to close it. //if (e.Items.Contains(RoleEdit1.UserName)){ //RoleEdit1.Visible = false; //UsersList1.Visible = false; //} }
/// <summary> /// Rise the event within the method. /// </summary> /// <param name="e"></param> protected virtual void RiseRolesDeleted(ItemActionsEventArgs e) { // If event was attached then fire it. if (RolesDeleted != null) { RolesDeleted(this, e); } }
/// <summary> /// Rise the event within the method. /// </summary> /// <param name="e"></param> protected virtual void RiseUsersDeleted(ItemActionsEventArgs e) { // If event was attached then fire it. //if (UsersDeleted != null) UsersDeleted(this, e); }