📄 powsetdialog.h
字号:
#pragma once
#include "afxwin.h"
// CPowSetDialog 对话框
class CPowSetDialog : public CDialog
{
DECLARE_DYNAMIC(CPowSetDialog)
public:
CPowSetDialog(CWnd* pParent = NULL); // 标准构造函数
virtual ~CPowSetDialog();
// 对话框数据
enum { IDD = IDD_DIALOG_POWER };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
// 用户权限
CListBox m_PowerNameList;
// 未管理用户权限
CListBox m_ManagerPowNotYetList;
// 已经管理用户权限
CListBox m_ManagerPowNameList;
// 可管理模块
CListBox m_ListModule;
// 未授权管理模块
CListBox m_ListNoModule;
_ConnectionPtr m_pConnection;
bool m_FlagAdd;
bool m_FlagModify;
bool m_FlagDel;
public:
virtual BOOL OnInitDialog();
void InitPowNameList();
void InitManagerPowNameListList(CString m_tempPowName);
void InitManagerPowNotYetList(CString m_tempPowName);
void ControlCanNotUse();
void ControlCanUse();
BOOL DeletePowName(CString PowerName);
void InitManagerModule(CString PowerName);
void InitManagerNotYetModule(CString PowerName);
afx_msg void OnLbnSelchangeListPower();
afx_msg void OnBnClickedLeave();
afx_msg void OnBnClickedButtonAddpow();
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedButtonModifp();
afx_msg void OnBnClickedCancel();
afx_msg void OnBnClickedButtonDelpow();
afx_msg void OnBnClickedUserGive();
afx_msg void OnBnClickedUserRecede();
afx_msg void OnBnClickedUserAllgive();
afx_msg void OnBnClickedUserAllrecede();
afx_msg void OnLbnSelchangeListModule();
afx_msg void OnBnClickedModuleRecede();
afx_msg void OnBnClickedModuleGive();
afx_msg void OnBnClickedModuleAllgive();
afx_msg void OnBnClickedModuleAllrecede();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -