📄 dian.h
字号:
#if !defined(AFX_DIAN_H__8FCB1924_7828_40B8_BF98_227D2BF2840C__INCLUDED_)
#define AFX_DIAN_H__8FCB1924_7828_40B8_BF98_227D2BF2840C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// dian.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// Cdian dialog
class Cdian : public CDialog
{
// Construction
public:
Cdian(CWnd* pParent = NULL); // standard constructor
bool p,pp;
HANDLE hDevice1,hDevice;
CBitmapButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16,b17,b18,b19,b20,b21,b22,b23,b24,b25,b26,b27,b28,b29,b30,b31,b32,b33,b34,b35,b36,b37,b38,b39,b40,b41,b42,b43,b44,b45,b46,b47,b48,b49,b50,b51,b52,b53,b54,b55,b56,b57,b58,b59,b60,b61,b62,b63,b64;
int i,j;
long t;
void mty1(),mty2();
int dzh1[8][8],dzh2[8][8];
struct pci_cfg
{
DWORD MemBase;
DWORD MemLength;
WORD IOBase[2];
WORD IOPortLength[2];
BYTE IRQ;
BYTE DMA;
}*pci;
pci_cfg* m_p;
struct Write_AD
{
ULONG Address;
UCHAR Data;
};
struct Write_AD* W_AD;
DWORD nRet;
HANDLE hEvent;
// Dialog Data
//{{AFX_DATA(Cdian)
enum { IDD = IDD_DIALOG28 };
int m_1;
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Cdian)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(Cdian)
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
afx_msg void OnDoubleclickedButton1();
afx_msg void OnButton17();
afx_msg void OnDoubleclickedButton17();
afx_msg void OnButton18();
afx_msg void OnDoubleclickedButton18();
afx_msg void OnButton19();
afx_msg void OnDoubleclickedButton19();
afx_msg void OnButton20();
afx_msg void OnDoubleclickedButton20();
afx_msg void OnButton21();
afx_msg void OnDoubleclickedButton21();
afx_msg void OnButton22();
afx_msg void OnDoubleclickedButton22();
afx_msg void OnButton23();
afx_msg void OnDoubleclickedButton23();
afx_msg void OnButton24();
afx_msg void OnDoubleclickedButton24();
afx_msg void OnButton25();
afx_msg void OnDoubleclickedButton25();
afx_msg void OnButton26();
afx_msg void OnDoubleclickedButton26();
afx_msg void OnButton27();
afx_msg void OnDoubleclickedButton27();
afx_msg void OnButton28();
afx_msg void OnDoubleclickedButton28();
afx_msg void OnButton29();
afx_msg void OnDoubleclickedButton29();
afx_msg void OnButton30();
afx_msg void OnDoubleclickedButton30();
afx_msg void OnButton31();
afx_msg void OnDoubleclickedButton31();
afx_msg void OnButton32();
afx_msg void OnDoubleclickedButton32();
afx_msg void OnButton33();
afx_msg void OnDoubleclickedButton33();
afx_msg void OnButton34();
afx_msg void OnDoubleclickedButton34();
afx_msg void OnButton35();
afx_msg void OnDoubleclickedButton35();
afx_msg void OnButton36();
afx_msg void OnDoubleclickedButton36();
afx_msg void OnButton37();
afx_msg void OnDoubleclickedButton37();
afx_msg void OnButton38();
afx_msg void OnDoubleclickedButton38();
afx_msg void OnButton39();
afx_msg void OnDoubleclickedButton39();
afx_msg void OnButton40();
afx_msg void OnDoubleclickedButton40();
afx_msg void OnButton41();
afx_msg void OnDoubleclickedButton41();
afx_msg void OnButton42();
afx_msg void OnDoubleclickedButton42();
afx_msg void OnButton43();
afx_msg void OnDoubleclickedButton43();
afx_msg void OnButton44();
afx_msg void OnDoubleclickedButton44();
afx_msg void OnButton45();
afx_msg void OnDoubleclickedButton45();
afx_msg void OnButton46();
afx_msg void OnDoubleclickedButton46();
afx_msg void OnButton47();
afx_msg void OnDoubleclickedButton47();
afx_msg void OnButton48();
afx_msg void OnDoubleclickedButton48();
afx_msg void OnButton49();
afx_msg void OnDoubleclickedButton49();
afx_msg void OnButton50();
afx_msg void OnDoubleclickedButton50();
afx_msg void OnButton51();
afx_msg void OnDoubleclickedButton51();
afx_msg void OnButton52();
afx_msg void OnDoubleclickedButton52();
afx_msg void OnButton53();
afx_msg void OnDoubleclickedButton53();
afx_msg void OnButton54();
afx_msg void OnDoubleclickedButton54();
afx_msg void OnButton55();
afx_msg void OnDoubleclickedButton55();
afx_msg void OnButton56();
afx_msg void OnDoubleclickedButton56();
afx_msg void OnButton57();
afx_msg void OnDoubleclickedButton57();
afx_msg void OnButton58();
afx_msg void OnDoubleclickedButton58();
afx_msg void OnButton59();
afx_msg void OnDoubleclickedButton59();
afx_msg void OnButton60();
afx_msg void OnDoubleclickedButton60();
afx_msg void OnButton61();
afx_msg void OnDoubleclickedButton61();
afx_msg void OnButton62();
afx_msg void OnDoubleclickedButton62();
afx_msg void OnButton63();
afx_msg void OnDoubleclickedButton63();
afx_msg void OnButton64();
afx_msg void OnDoubleclickedButton64();
afx_msg void OnButton65();
afx_msg void OnDoubleclickedButton65();
afx_msg void OnButton66();
afx_msg void OnDoubleclickedButton66();
afx_msg void OnButton67();
afx_msg void OnDoubleclickedButton67();
afx_msg void OnButton68();
afx_msg void OnDoubleclickedButton68();
afx_msg void OnButton69();
afx_msg void OnDoubleclickedButton69();
afx_msg void OnButton7();
afx_msg void OnDoubleclickedButton7();
afx_msg void OnButton70();
afx_msg void OnDoubleclickedButton70();
afx_msg void OnButton71();
afx_msg void OnDoubleclickedButton71();
afx_msg void OnButton72();
afx_msg void OnDoubleclickedButton72();
afx_msg void OnButton73();
afx_msg void OnDoubleclickedButton73();
afx_msg void OnButton74();
afx_msg void OnDoubleclickedButton74();
afx_msg void OnButton75();
afx_msg void OnDoubleclickedButton75();
afx_msg void OnButton76();
afx_msg void OnDoubleclickedButton76();
afx_msg void OnButton77();
afx_msg void OnDoubleclickedButton77();
afx_msg void OnButton78();
afx_msg void OnDoubleclickedButton78();
afx_msg void OnButton2();
afx_msg void OnButton79();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIAN_H__8FCB1924_7828_40B8_BF98_227D2BF2840C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -