示例#1
0
        /*******************************************************************************************************/
        #region OVERRIDE METHODS

        protected override void setupControlsBasedOnRoles()
        {
            UserAccount.hideIfNoAccess(UserAccount.LoggedInAccount, btnRoles, false, UserAccountAccessEnum.UserAccountRoles_AddUpdate);
            UserAccount.hideIfNoAccess(UserAccount.LoggedInAccount, col_dgv_Active, false, UserAccountAccessEnum.UserAccountRoles_AddUpdate);
        }
示例#2
0
 protected override void add()
 {
     Clipboard.SetText(UserAccount.add(UserAccount.LoggedInAccount.Id, itxt_Username.ValueText, HR_LIB.Settings.TEMPORARY_PASSWORD, itxt_Firstname.ValueText, itxt_Lastname.ValueText,
                                       itxt_Address1.ValueText, itxt_Address2.ValueText, itxt_Phone1.ValueText, itxt_Phone2.ValueText, itxt_Email.ValueText, idtp_Birthdate.Value, itxt_Identification.ValueText, itxt_Height.ValueInt, itxt_Weight.ValueInt, itxt_Notes.ValueText,
                                       LIBUtil.Desktop.UserControls.InputControl_CheckedListBox.copySelectionToList <Guid?>(clbUserAccountRoles, UserAccountRole.COL_DB_Id)).ToString());
 }
示例#3
0
 protected override void updateActiveStatus(Guid id, Boolean activeStatus)
 {
     UserAccount.updateActiveStatus(UserAccount.LoggedInAccount.Id, id, activeStatus);
 }
示例#4
0
 protected override void update()
 {
     UserAccount.update(UserAccount.LoggedInAccount.Id, selectedRowID(), itxt_Username.ValueText, itxt_Firstname.ValueText, itxt_Lastname.ValueText,
                        itxt_Address1.ValueText, itxt_Address2.ValueText, itxt_Phone1.ValueText, itxt_Phone2.ValueText, itxt_Email.ValueText, idtp_Birthdate.Value, itxt_Identification.ValueText, itxt_Height.ValueInt, itxt_Weight.ValueInt, itxt_Notes.ValueText,
                        LIBUtil.Desktop.UserControls.InputControl_CheckedListBox.copySelectionToList <Guid?>(clbUserAccountRoles, UserAccountRole.COL_DB_Id));
 }