| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #pragma once
- #include "MyBtn.h"
- // CLogin 对话框
- class CLogin : public CDialog
- {
- DECLARE_DYNAMIC(CLogin)
- public:
- CLogin(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CLogin();
- // 对话框数据
- enum { IDD = IDD_LOGIN };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnBnClickedOk();
- afx_msg void OnBnClickedCancel();
- CEdit m_ctrlUserID;
- CEdit m_ctrlPwd;
- CStatic m_ctrlHint;
- virtual BOOL OnInitDialog();
- afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
- CButton m_ctrlIsSaveInfo;
- BOOL m_bFullScreen; // 是否全屏 [8/29/2013 hero]
- BOOL m_bRunStatus; // 是否运行状态 [8/29/2013 hero]
- BOOL m_bSavePwd; // 是否保存密码 [8/29/2013 hero]
- CString m_sUserID;
- bool m_bShutdown; // 是否关闭 [8/29/2013 hero]
- void GetFullScreenInfo();
- afx_msg void OnBnClickedRun();
- HICON m_hIcon;
- // afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
- // afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- bool m_bRightButtonDown;// 是否右击 [8/29/2013 hero]
- CMyBtn m_BtnOK;
- // afx_msg void OnTimer(UINT nIDEvent);
- // 2012.11.18
- void LoginDBMonitor();
- // afx_msg void OnTimer(UINT nIDEvent);
- // afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
- // afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- // afx_msg void OnNcRButtonDown(UINT nHitTest, CPoint point);
- };
|