DragonNest/Client/EtFileSystemTool/BuildDivisionPackingCapacity.h

56 lines
2.6 KiB
C
Raw Normal View History

2024-12-20 16:56:44 +08:00
<EFBFBD><EFBFBD>#pragma once
#include "afxcmn.h"
#include "resource.h"
// BuildDivisionPackingCapacity dialog
class BuildDivisionPackingCapacity : public CDialog
{
DECLARE_DYNAMIC(BuildDivisionPackingCapacity)
public:
BuildDivisionPackingCapacity(CWnd* pParent = NULL); // standard constructor
virtual ~BuildDivisionPackingCapacity();
// Dialog Data
enum { IDD = IDD_BUILDDIVISIONPACKING_CAPACITY };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
bool m_bWorking;
int m_nCapacity;
CString m_szBaseFileName;
CString m_szInputFolder;
CString m_szOutputFolder;
CProgressCtrl m_CurProcess;
CProgressCtrl m_TotalProgress;
int m_nProgressRange;
int m_nProgressTotalRange;
public:
virtual void OnOK()
{
CDialog::OnOK();
}
virtual void OnCancel()
{
if ( m_bWorking )
{
AfxMessageBox(_T("<00><><EFBFBD><EFBFBD><11><>Ŕ<EFBFBD> <00>͌<EFBFBD> `<60><18> <00>ŵ<EFBFBD>Ȳ<EFBFBD><C8B2>. K1K1"));
return;
}
CDialog::OnCancel();
}
afx_msg void OnBnClickedButtonPackingCap();
afx_msg void OnBnClickedButtonSetOutputFolderCap();
afx_msg void OnBnClickedButtonSetInputFolderCap();
afx_msg LRESULT OnCompleteMsg(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnProgress(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnProgressTotal(WPARAM wParam, LPARAM lParam);
};