public frmReturnableDCList(UserCompany currentCompany, User currentUser) { this.currentCompany = currentCompany; this.currentUser = currentUser; objUIRights = new UIRights(); InitializeComponent(); InitializeListView(); GeneralMethods.FormAuthenticate(this.Name, currentCompany, currentUser); objUIRights.AddRight = GeneralMethods.frmAddRight; objUIRights.ModifyRight = GeneralMethods.frmModifyRight; objUIRights.ViewRight = GeneralMethods.frmViewRight; objUIRights.DeleteRight = GeneralMethods.frmDeleteRight; objUIRights.PrintRight = GeneralMethods.repPrintRight; }
public frmUserAuthority(UserCompany currentCompany, User currentUser) { this.objUserCompany = currentCompany; this.objCurUser = currentUser; objUIRights = new UIRights(); InitializeComponent(); GeneralMethods.FormAuthenticate(this.Name, objUserCompany, objCurUser); objUIRights.AddRight = GeneralMethods.frmAddRight; objUIRights.ModifyRight = GeneralMethods.frmModifyRight; objUIRights.ViewRight = GeneralMethods.frmViewRight; objUIRights.DeleteRight = GeneralMethods.frmDeleteRight; objUIRights.PrintRight = GeneralMethods.repPrintRight; }
public frmDeptList(UserCompany objCompany, User objUser) { this.objCurUser = objUser; this.objUserCompany = objCompany; objUIRights = new UIRights(); InitializeComponent(); InitializeListView(); GeneralMethods.FormAuthenticate(this.Name, objUserCompany, objCurUser); objUIRights.AddRight = GeneralMethods.frmAddRight; objUIRights.ModifyRight = GeneralMethods.frmModifyRight; objUIRights.ViewRight = GeneralMethods.frmViewRight; objUIRights.DeleteRight = GeneralMethods.frmDeleteRight; objUIRights.PrintRight = GeneralMethods.repPrintRight; }