📄 zhouweidlg.h
字号:
// zhouweiDlg.h : header file
//
#if !defined(AFX_ZHOUWEIDLG_H__850B6D02_C421_41AC_B711_486FDA59B135__INCLUDED_)
#define AFX_ZHOUWEIDLG_H__850B6D02_C421_41AC_B711_486FDA59B135__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CZhouweiDlg dialog
#include "SerialDriver.h"
class CZhouweiDlg : public CDialog
{
// Construction
public:
CZhouweiDlg(CWnd* pParent = NULL); // standard constructor
unsigned char *preadBuf;
unsigned char preadBuf_ser[20];
unsigned char *preadBuf_text;
//unsigned char *pwriteBuf;
unsigned char pwriteBuf[2000];
unsigned char pwriteBuf2[2000];
CString csFilename;
CString ctFilename;
unsigned char pwriteBuf_text[1000];
char ch1[48],ch2[48],ch3[24],ch4[24],ch5[24],ch6[24],ch7[48],ch8[48];
CFile *file1,*file2;
// int num1,num2,num3,num4;
// int num5,num6,num7,num8;
DWORD dwFileLen;
// Dialog Data
//{{AFX_DATA(CZhouweiDlg)
enum { IDD = IDD_ZHOUWEI_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CZhouweiDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CZhouweiDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onencryption();
afx_msg void OnButton5();
afx_msg void OnButton6();
afx_msg void OnButton7();
afx_msg void OnButton8();
afx_msg void Ondecode();
afx_msg void Onbeginencryption();
afx_msg void Onbegindecode();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ZHOUWEIDLG_H__850B6D02_C421_41AC_B711_486FDA59B135__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -