📄 testfunctiongather.cpp
字号:
#include "stdafx.h"
#include "RMTool.h"
#include "testFunctionGather.h"
#include "AdminDlg.h"
void SetUserAuthority( int Authority )
{
CRMToolApp *pApp = (CRMToolApp*)AfxGetApp();
_ASSERTE( pApp != NULL );
pApp->m_LogInfo.LoginType = Authority;
}
int GetUserAuthority( int iType) //iType = 0 : 荤侩磊狼 鼻茄 //iType =1 : 秦寸痢荐狼 鼻茄.
{
if( iType == 0)
{
CRMToolApp *pApp = (CRMToolApp*)AfxGetApp();
return pApp->m_LogInfo.LoginType;
}
else if( iType ==1 )
return cAdmindlg.m_Type;
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -