00001 #if !defined(AFX_INIFILE_H__73FA9ABE_300F_4967_A6AD_643BDA05D545__INCLUDED_)
00002 #define AFX_INIFILE_H__73FA9ABE_300F_4967_A6AD_643BDA05D545__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00011
00012
00013 class IniFile : public CDialog
00014 {
00015
00016
00017
00018 enum { IDD = IDD_DIALOG_INI_FILE };
00019 int m_dFileThres;
00020 int m_dPackSize;
00021
00022
00023
00024
00025
00026 public:
00027 IniFile(CWnd* pParent = NULL);
00028
00029
00030
00031 void SetupData(int fileThres, int packSize) { m_dFileThres = fileThres;
00032 m_dPackSize = packSize; };
00033
00034 void GetData(int& fileThres, int& packSize) { fileThres = m_dFileThres;
00035 packSize = m_dPackSize; };
00036
00037
00038
00039
00040 protected:
00041 virtual void DoDataExchange(CDataExchange* pDX);
00042
00043
00044
00045 protected:
00046
00047
00048
00049 afx_msg void OnChangeEditIniFilethres();
00050 afx_msg void OnChangeEditIniPacketsize();
00051 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
00052
00053 DECLARE_MESSAGE_MAP()
00054 };
00055
00056
00057
00058
00059 #endif // !defined(AFX_INIFILE_H__73FA9ABE_300F_4967_A6AD_643BDA05D545__INCLUDED_)