コード例 #1
0
        public static UserList GetUniqueInstance()
        {
            if (_uniqueInstance == null)
                _uniqueInstance = new UserList("SF_User");

            return _uniqueInstance;
        }
コード例 #2
0
        public OrganizationListController(DataGridView dgv)
            : base(dgv)
        {
            _dgv = dgv;
                        
            _userList = UserList.GetUniqueInstance();

            _lpuList = new LpuList();

            _user = _userList.GetItem(globalData.UserID) as User;

            _typeOrg = TypeOrg.ЛПУ;
        }
コード例 #3
0
        public UserLpuAccess()
        {
            InitializeComponent();

            _regionRRList = RegionRRList.GetUniqueInstance();
            _lpuRRList = LpuRRList.GetUniqueInstance();
            _userLpuRRList = UserLpuRRList.GetUniqueInstance();
            _userList = UserList.GetUniqueInstance();

            _lpuRRController = new LpuRRController(_dgv1);
            _userLpuRRListController = new UserLpuRRListController(_dgv2);

            globalData.load = false;

            cbSDiv.SelectedIndex = 0;

            globalData.Div = cbSDiv.SelectedItem.ToString();

            globalData.load = true;

            fillRegion();
            fillUsers();
        }