a
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
#if !defined(AFX_DIALCUSTOMSPTINPUT_H__AE5A30B1_6571_4F50_B6E5_5A3FAEE844FD__INCLUDED_)
|
||||
#define AFX_DIALCUSTOMSPTINPUT_H__AE5A30B1_6571_4F50_B6E5_5A3FAEE844FD__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
// DialCustomSptInput.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CDialCustomSptInput dialog
|
||||
|
||||
class CDialCustomSptInput : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CDialCustomSptInput(CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CDialCustomSptInput)
|
||||
enum { IDD = IDD_DIALOG_CUSTOMSPT_MANUAL_INPUT };
|
||||
CListCtrl m_listCustomSpt;
|
||||
CString m_strA;
|
||||
CString m_strB;
|
||||
CString m_strStacking;
|
||||
CString m_strK;
|
||||
CString m_strLayer;
|
||||
CString m_strM;
|
||||
CString m_strN;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CDialCustomSptInput)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
bool CalculateK();
|
||||
void InitalListHeaderInfo();
|
||||
bool CheckInputIsValid();
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CDialCustomSptInput)
|
||||
afx_msg void OnButtonAddList();
|
||||
afx_msg void OnButtonDelList();
|
||||
afx_msg void OnButtonModifyList();
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnClickListCustomSpt(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg void OnRadioHandInput();
|
||||
afx_msg void OnRadioAutoCalc();
|
||||
afx_msg void OnButtonImport();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
public:
|
||||
int GetListCount(){return m_listCustomSpt.GetItemCount();}
|
||||
CString GetListItemText(int iIndex, int iSubIndex);
|
||||
//attributes
|
||||
int m_iA;
|
||||
int m_iB;
|
||||
int m_iM;
|
||||
int m_iN;
|
||||
int m_iLayer;
|
||||
int m_iIteration;
|
||||
float m_fK;
|
||||
|
||||
protected:
|
||||
int m_iTsn;
|
||||
// _Application *pComApp;
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_DIALCUSTOMSPTINPUT_H__AE5A30B1_6571_4F50_B6E5_5A3FAEE844FD__INCLUDED_)
|
||||
Reference in New Issue
Block a user