示例#1
0
        private void RefreshUserSpread()
        {
            UserBIZ biz = new UserBIZ();

            fpUser.DataSource = DTOUtility.ConvertListToDataTable(biz.LoadAllUserNotInGroup(m_GroupCD));

            UserMaintenanceUIDM umd = new UserMaintenanceUIDM();

            shtUser.Columns[(int)eColUser.SEL].Locked          = false;
            shtUser.Columns[(int)eColUser.USER_ACCOUNT].Locked = true;
            shtUser.Columns[(int)eColUser.FULL_NAME].Locked    = true;
        }
示例#2
0
        private void RefreshGroupSpread()
        {
            UserGroupBIZ biz = new UserGroupBIZ();

            fpGroup.DataSource = DTOUtility.ConvertListToDataTable(biz.LoadAllGroup());

            UserMaintenanceUIDM umd = new UserMaintenanceUIDM();

            //dmcUserMaintenance.LoadData(umd);

            int rows = shtGroup.Rows.Count;

            for (int i = 0; i < rows; i++)
            {
                shtGroup.Rows[i].Locked = true;
            }
        }
示例#3
0
        private void RefreshUserSpread()
        {
            UserBIZ biz = new UserBIZ();

            fpUser.DataSource = DTOUtility.ConvertListToDataTable(biz.LoadUserByGroupCD(m_GroupCD));

            UserMaintenanceUIDM umd = new UserMaintenanceUIDM();

            //dmcUserMaintenance.LoadData(umd);

            int rows = shtUser.Rows.Count;

            for (int i = 0; i < rows; i++)
            {
                shtUser.Rows[i].Locked = true;
            }
        }