コード例 #1
0
ファイル: Login.cs プロジェクト: aromsar87/TP_GDD_2018
        private void InitSesion(int countRoles)
        {
            this.userId = UserConnection.GetUserId(user);

            if (countRoles == 1)
            {
                Int32 roleId = UserConnection.getUniqueRolId(this.userId);
                this.openContainer(roleId);
            }

            if (countRoles > 1)
            {
                btn_init.Enabled = false;
                EnableRoleSelection(false);
                this.LoadCombo(userId);
            }
        }